/home66/gary/public_html/cloudy/c13_branch/source/ipoint.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

long ipoint (double energy)
long ipLineEnergy (double energy, const char *chString, long ipIonEnergy)
long ipContEnergy (double energy, const char *chString)
long ipFineCont (double energy)

Function Documentation

long ipContEnergy ( double  energy,
const char *  chString 
)

ipContEnergy generates a safe pointer to energy in continuum array with energy given by the first argument (Rydbergs). The second is a label that will be placed at that energy if none have yet been set. The last is the energy of the next higher continuum. the code will make sure that the pointer is not within this continuum - that would create serious energy problems

Returns:
array index on the Fortran or Physics scale, [1] would be first one
Parameters:
energy - photon energy in Ryd
chString - 4 char + null string giving label for the continuum edge

Definition at line 92 of file cont_ipoint.cpp.

References t_rfield::chContLabel, DEBUG_ENTRY, ioQQQ, ipoint(), and rfield.

Referenced by ContCreatePointers(), and ipShells().

Here is the call graph for this function:

long ipFineCont ( double  energy  ) 

ipFineCont returns array index within fine energy mesh

Returns:
array index on the Fortran or Physics scale, [1] would be first one
Parameters:
energy in Ryd

Definition at line 226 of file cont_ipoint.cpp.

References ASSERT, DEBUG_ENTRY, t_rfield::fine_ener_hi, t_rfield::fine_ener_lo, t_rfield::fine_resol, t_rfield::nfine_malloc, and rfield.

Referenced by ContCreatePointers(), FeIIPoint(), diatomics::H2_ContPoint(), save_opacity(), and SaveDo().

long ipLineEnergy ( double  energy,
const char *  chString,
long  ipIonEnergy 
)

ipLineEnergy generates a safe pointer to energy in line array with energy given by the first argument (Rydbergs). The second is a label that will be placed at that energy if none have yet been set. The last is the energy of the next higher continuum. the code will make sure that the pointer is not within this continuum - that would create serious energy problems if, for instance, a Lyman line could ionize H

Returns:
array index on the Fortran or Physics scale, [1] would be first one
Parameters:
energy - photon energy in Ryd
chString - 4 char + null string giving label for the line
ipIonEnergy - ipIonEnergy - if <0 ignored, if >0 will make sure that return array index is less than this - used to make sure we don't overflow into a higher continuum

Definition at line 129 of file cont_ipoint.cpp.

References ASSERT, t_rfield::chLineLabel, DEBUG_ENTRY, ioQQQ, ipoint(), lgFirst, lgMustPrintHeader, t_prt::lgPrnLineCell, t_prt::lgPrtContIndices, t_prt::lgPrtContIndices_hi_E, t_prt::lgPrtContIndices_lo_E, t_rfield::line_count, MIN2, t_prt::nPrnLineCell, prt, and rfield.

Referenced by ContCreatePointers(), diatomics::H2_ContPoint(), ipShells(), and PntForLine().

Here is the call graph for this function:

long ipoint ( double  energy  ) 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1