Cloudy
Spectral Synthesis Code for Astrophysics
|
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) |
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
energy | - photon energy in Ryd |
chString | - 4 char + null string giving label for the continuum edge |
References t_rfield::chContLabel, DEBUG_ENTRY, fprintf(), ioQQQ, ipoint(), and rfield.
Referenced by ContCreatePointers(), and ipShells().
long ipFineCont | ( | double | energy | ) |
ipFineCont returns array index within fine energy mesh
energy | in Ryd |
References ASSERT, DEBUG_ENTRY, t_rfield::fine_ener_hi, t_rfield::fine_ener_lo, t_rfield::fine_resol, t_rfield::nfine, and rfield.
Referenced by ContCreatePointers(), 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
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 |
References ASSERT, t_rfield::chLineLabel, DEBUG_ENTRY, fprintf(), ioQQQ, ipoint(), lgMustPrintHeader, t_prt::lgPrnLineCell, t_prt::lgPrtContIndices, t_prt::lgPrtContIndices_hi_E, t_prt::lgPrtContIndices_lo_E, t_rfield::line_count, t_prt::nPrnLineCell, prt, and rfield.
Referenced by ContCreatePointers(), diatomics::H2_ContPoint(), ipShells(), and PntForLine().
long ipoint | ( | double | energy | ) |
ipoint - the basic routine that generates an index for the continuum array
energy | - photon energy in Ryd |
References cdEXIT, t_mesh::egamry(), t_mesh::emm(), EXIT_FAILURE, fprintf(), ioQQQ, t_mesh::ipointF(), rfield, and ShowMe().
Referenced by ContBandsCreate(), ContCreatePointers(), ContSetIntensity(), extin(), GetDissociationRateCoeff(), diatomics::GetHeatRate(), diatomics::H2_LevelPops(), diatomics::init(), ion_photo(), ipContEnergy(), ipLineEnergy(), ipShells(), lines(), lines_hydro(), mole_h_reactions(), OpacityAddTotal(), OpacityCreateAll(), outline_base(), EnergyEntry::p_set_ip(), PrtFinal(), PrtHeader(), PrtTwoPhotonEmissCoef(), radius_first(), RT_diffuse(), RT_tau_init(), SaveDo(), TwoPhotonSetup(), and UpdatePot().