Show
Ignore:
Timestamp:
05/10/08 09:03:02 (2 months ago)
Author:
peter
Message:

Merging all changes from mainline upto r2033, except r1902.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/c08_branch/source/atmdat_HS_caseb.cpp

    r1767 r2034  
    2020/* general utility to interpolate line emissivities from the Storey & Hummer tables 
    2121 of case B emissivities.   
    22  iHi, iLo, two long integers are the principal quantum 
     22 iHi<25, iLo, the principal quantum 
    2323 numbers, and are upper and lower levels in any order.   
    24  nelem element number on physcial scale, 1 or 2 have data 
     24 nelem element number on physicial scale, 1 or 2 have data 
    2525 TempIn = temperature, and must lie within the range of the table, which depends on 
    2626 the ion charge, and is 500 - 30,000K for hydrogen.   
     
    177177        yy2 = log10( atmdat.ElecTemp[iCase][nelem][ipTempHi] ); 
    178178 
    179         /*now generate the pointer to the array, expression from storey code -1 for c*/ 
     179        /*now generate the index to the array, expression from Storey code -1 for c*/ 
    180180        ip = (int)((((atmdat.ncut[iCase][nelem]-ipUp)*(atmdat.ncut[iCase][nelem]+ipUp-1))/2)+ipLo - 1); 
    181181