Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <iso.h>
Public Member Functions | |
TransitionProxy | trans (const long ipHi, const long ipLo) |
long | QN2Index (QNPack ind) |
long | QN2Index (long n, long l, long s, long g=-1) |
double | energy (long n, long l, long s, long g=-1) const |
double | energy_ioniz (long n, long l, long s, long g=-1) const |
void | Reset () |
Private Attributes | |
map< QNPack, long > | QNPack2Index |
|
inline |
return energy of level w.r.t. ground in cm^-1
References Energy, and QN2ind().
Referenced by energy_ioniz().
|
inline |
|
inline |
long t_iso_sp::QN2Index | ( | QNPack | ind | ) |
Find index given quantum numbers
References numLevels_max, QN2ind(), QNPack2Index, S, and st.
Referenced by QN2Index().
void t_iso_sp::Reset | ( | ) |
References CaseBCheck, chTypeAtomUsed, fb, lgErrGenDone, lgLevelsEverLowered, lgLevelsLowered, lgMustReeval, lgPopsRescaled, RadRec_caseB, and TwoNu.
|
inline |
multi_arr<double,2> t_iso_sp::BranchRatio |
Referenced by iso_allocate().
map<QNPair, double> t_iso_sp::CachedAs |
cache of calculated A values, to avoid duplicate calculations
multi_arr<double,2> t_iso_sp::CascadeProb |
Referenced by iso_allocate().
realnum t_iso_sp::CaseBCheck |
difference between actual case b photons in rtdiffuse, and correct case b
Referenced by Reset(), and RT_iso_integrate_RRC().
double t_iso_sp::cBal_cool |
net cooling due to collisional excit of balmer lines
Referenced by iso_cool().
char t_iso_sp::chTypeAtomUsed[10] |
flag to set which type of solution was used for level pops, "zero" or "popul"
Referenced by iso_level(), and Reset().
double t_iso_sp::cLya_cool |
net cooling due to collisional excit of Lya
Referenced by iso_cool().
double t_iso_sp::cLyrest_cool |
net cooling due to collisional excit of higher lyman lines
Referenced by iso_cool().
double t_iso_sp::coll_ion |
net cooling due to collisional ionization
Referenced by iso_cool().
double t_iso_sp::cRest_cool |
net cooling due to collisional excit of higher lines
Referenced by iso_cool().
double t_iso_sp::dLTot |
deriv of net cooling due to total collisional excit of lines
Referenced by iso_cool().
map<QNPack, double> t_iso_sp::Energy |
energy of each level w.r.t. ground, in cm^-1
Referenced by energy().
Referenced by iso_allocate(), iso_level(), randomize_inten(), and RT_stark().
vector<freeBound> t_iso_sp::fb |
double t_iso_sp::FreeBnd_net_Cool_Rate |
net free bound cooling for this element
Referenced by iso_cool().
vector<double> t_iso_sp::HighestLevelOpacStack |
double t_iso_sp::IonPot |
ionization potential, in cm^-1
Referenced by energy_ioniz().
multi_arr<long,2> t_iso_sp::ipTrans |
Referenced by iso_allocate(), and trans().
bool t_iso_sp::lgErrGenDone |
this is flag saying that random gaussians have already been set...they should only be done once per model, and this must be reset to false at the beginning of each model.
Referenced by Reset().
bool t_iso_sp::lgImgMatrix |
create image for Matrix input to solver
Referenced by iso_allocate(), and iso_level().
bool t_iso_sp::lgLevelsEverLowered |
This variable is set to true if the continuum was lowered at any point in the calculation. Necessary because some models will lowered continuum at intermediate points but not last zone.
Referenced by iso_continuum_lower(), and Reset().
bool t_iso_sp::lgLevelsLowered |
true if the number of levels is currently lowered
Referenced by iso_collisional_ionization(), iso_continuum_lower(), and Reset().
bool t_iso_sp::lgMustReeval |
Referenced by iso_continuum_lower(), iso_photo(), and Reset().
bool t_iso_sp::lgPopLTE_OK |
true is all lte populations positive for Hydrogenic atoms
Referenced by iso_collide().
bool t_iso_sp::lgPopsRescaled |
Referenced by iso_level(), and Reset().
bool t_iso_sp::lgPrtDepartCoef |
option to print departure coefficients
Referenced by ParsePrint().
bool t_iso_sp::lgPrtLevelPops |
option to print level populations
Referenced by ParsePrint().
bool t_iso_sp::lgPrtMatrix |
print Matrix input to solver
Referenced by iso_allocate(), and iso_level().
bool t_iso_sp::lgPrtNCrit |
option to print critical density
Referenced by ParsePrint().
long int t_iso_sp::n_HighestResolved_local |
the local (pressure lowered) version of the above
Referenced by iso_continuum_lower(), and iso_level().
long int t_iso_sp::n_HighestResolved_max |
principal quantum number n of the highest resolved level
Referenced by iso_collide(), iso_continuum_lower(), iso_get_collision_strength(), iso_multiplet_opacities_one(), and lines_helium().
long int t_iso_sp::nCollapsed_local |
Referenced by iso_continuum_lower().
long int t_iso_sp::nCollapsed_max |
the number of collapsed levels, these lie on top of resolved levels
Referenced by iso_collide(), iso_continuum_lower(), iso_get_collision_strength(), and iso_multiplet_opacities_one().
long int t_iso_sp::numLevels_alloc |
number of levels allocated in the core load, can't go over that later in later sims can lower number of levels but not raise them
Referenced by iso_allocate().
long int t_iso_sp::numLevels_local |
total number of levels with continuum pressure lowering included this varies from zone to zone, and from model to model, but cannot exceed numLevels_max
Referenced by iso_collide(), iso_continuum_lower(), iso_cool(), iso_level(), iso_photo(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_discrete(), iso_rad_rec_cooling_extra(), iso_set_ion_rates(), RT_diffuse(), RT_iso_integrate_RRC(), and RT_stark().
long int t_iso_sp::numLevels_max |
total number of collapsed and resolve levels, numLevels_max is derived from total resolved and collapsed levels it is the maximum number of levels ever to be used in this core load.
Referenced by iso_allocate(), iso_collide(), iso_collisional_ionization(), iso_continuum_lower(), iso_cool(), iso_get_collision_strength(), iso_level(), iso_multiplet_opacities_one(), iso_photo(), iso_suprathermal(), QN2Index(), and RT_stark().
|
private |
Referenced by QN2Index().
double t_iso_sp::qTot2S |
the effective collisional rate from 2S, for h-like and he-like sequences
Referenced by iso_level().
double t_iso_sp::RadRec_caseB |
case b recombination rate coefficient
Referenced by Reset(), and RT_iso_integrate_RRC().
double t_iso_sp::RadRec_effec |
the total effective radiative recombination rate coefficient (cm3 s-1), radiative rate with correction for absorption and ionization
double t_iso_sp::RadRecCool |
net cooling due to rad rec
Referenced by iso_cool().
double t_iso_sp::RecomCollisFrac |
ratio of collisional recombination rate to recom from all processes
double t_iso_sp::RecomInducCool_Rate |
the actual induced recom cooling rate, erg cm-3 s-1
Referenced by iso_cool().
qList t_iso_sp::st |
qList t_iso_sp::stJ05 |
qList t_iso_sp::stJ15 |
TransitionList* t_iso_sp::tr |
Referenced by trans().
vector<two_photon> t_iso_sp::TwoNu |
Referenced by iso_level(), iso_update_rates(), lines_helium(), Reset(), RT_diffuse(), and RT_OTS_Update().
double t_iso_sp::xIonSimple |
the ratio of ion to atom for all iso species xIonSimple is simple estimate, should agree at low density
Referenced by iso_level(), and iso_set_ion_rates().
double t_iso_sp::xLineTotCool |
net cooling due to total collisional excit of lines
Referenced by iso_cool().