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 QN2ind().
Referenced by energy_ioniz(), and GetStandardHeLines().
|
inline |
return minimum energy needed to ionize this level, in cm^-1
References energy(), and IonPot.
Referenced by helike_energy(), helike_quantum_defect(), and hydro_energy().
long t_iso_sp::QN2Index | ( | QNPack | ind | ) |
Find index given quantum numbers
References numLevels_max, QN2ind(), QNPack2Index, S, and st.
Referenced by Badnell_rec_init(), chkCaHeps(), cross_section(), iso_prt_pops(), iso_put_error(), lines_helium(), lines_hydro(), PrtAllTau(), PrtHeader(), PrtZone(), QN2Index(), RT_tau_init(), and SanityCheckBegin().
|
inline |
void t_iso_sp::Reset | ( | ) |
References CaseBCheck, chTypeAtomUsed, fb, lgErrGenDone, lgLevelsEverLowered, lgLevelsLowered, lgMustReeval, lgPopsRescaled, RadRec_caseB, and TwoNu.
Referenced by InitSimPostparse(), and IterRestart().
|
inline |
Referenced by cdTemp(), ContCreatePointers(), ConvIterCheck(), dBase_solve(), eden_sum(), GrainTemperature(), HeCSInterp(), HydroCSInterp(), diatomics::init(), ion_photo(), IonHydro(), iso_cascade(), iso_collide(), iso_continuum_lower(), iso_cool(), iso_create(), iso_get_collision_strength(), iso_level(), iso_multiplet_opacities_one(), iso_renorm(), iso_setOpacity(), iso_setRedisFun(), iso_solve(), iso_suprathermal(), IterStart(), lines_helium(), lines_hydro(), lines_iron_Ka(), PresTotCurrent(), PrtAllTau(), PrtComment(), PrtHydroTrace1(), PrtLinePres(), randomize_inten(), RT_diffuse(), RT_line_all_escape(), RT_line_driving(), RT_OTS(), RT_stark(), RT_tau_init(), RT_tau_reset(), SanityCheckBegin(), Save_Line_RT(), SaveDo(), SaveSpecial(), setXtraRatesCa2(), and setXtraRatesO1().
multi_arr<double,2> t_iso_sp::BranchRatio |
Referenced by iso_allocate(), iso_cascade(), iso_radiative_recomb_effective(), and SanityCheckBegin().
map<QNPair, double> t_iso_sp::CachedAs |
cache of calculated A values, to avoid duplicate calculations
Referenced by H_Einstein_A(), and he_1trans().
multi_arr<double,2> t_iso_sp::CascadeProb |
Referenced by iso_allocate(), iso_cascade(), and iso_radiative_recomb_effective().
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 HeatSum(), and iso_cool().
map<QNPack, double> t_iso_sp::Energy |
energy of each level w.r.t. ground, in cm^-1
Referenced by iso_allocate(), iso_cascade(), iso_create(), iso_error_generation(), iso_ionize_recombine(), iso_level(), iso_put_error(), randomize_inten(), and RT_stark().
vector<freeBound> t_iso_sp::fb |
Referenced by Badnell_rec_init(), ContCreatePointers(), ContRate(), ContSetIntensity(), CoolHyperfine(), cross_section(), DoSatelliteLines(), FillExtraLymanLine(), GetHelikeCollisionStrength(), GrainRateDr(), HeCSInterp(), HydroCSInterp(), HydroRecCool(), ion_photo(), IonHydro(), iso_allocate(), iso_cascade(), iso_collide(), iso_collisional_ionization(), iso_cool(), iso_create(), iso_departure_coefficients(), iso_dielec_recomb_rate(), iso_get_collision_strength(), iso_ionize_recombine(), iso_level(), iso_photo(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_discrete(), iso_rad_rec_cooling_extra(), iso_radiative_recomb(), iso_radiative_recomb_effective(), iso_radrecomb_from_cross_section(), iso_satellite_update(), iso_set_ion_rates(), iso_solve(), iso_zero(), IterRestart(), IterStart(), lines_continuum(), OpacityAddTotal(), OpacityCreateAll(), PrintRates(), PrtAllTau(), PrtComment(), PrtFinal(), PrtHeader(), PrtHydroTrace1a(), PrtZone(), radius_increment(), Reset(), RT_continuum(), RT_iso_integrate_RRC(), RT_OTS(), RT_tau_init(), SanityCheckBegin(), save_opacity(), and SaveDo().
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 |
Referenced by iso_radiative_recomb(), and OpacityCreateAll().
double t_iso_sp::IonPot |
ionization potential, in cm^-1
Referenced by energy_ioniz(), helike_quantum_defect(), and iso_init_energies().
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 iso_error_generation(), iso_update_rates(), and 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(), iso_radiative_recomb(), and Reset().
bool t_iso_sp::lgMustReeval |
Referenced by iso_continuum_lower(), iso_photo(), iso_radiative_recomb(), 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 iso_collide(), and ParsePrint().
long int t_iso_sp::n_HighestResolved_local |
the local (pressure lowered) version of the above
Referenced by InitSimPostparse(), iso_continuum_lower(), iso_level(), iso_radiative_recomb(), iso_update_num_levels(), PrtAllTau(), and PrtComment().
long int t_iso_sp::n_HighestResolved_max |
principal quantum number n of the highest resolved level
Referenced by InitSimPostparse(), iso_assign_quantum_numbers(), iso_cascade(), iso_collide(), iso_continuum_lower(), iso_get_collision_strength(), iso_init(), iso_multiplet_opacities_one(), iso_update_num_levels(), lgCheckMonitors(), lines_helium(), lines_hydro(), Opacity_iso_photo_cs(), ParseCompile(), ParseDatabaseISO(), PrtZone(), RT_tau_init(), and SanityCheckBegin().
long int t_iso_sp::nCollapsed_local |
long int t_iso_sp::nCollapsed_max |
the number of collapsed levels, these lie on top of resolved levels
Referenced by Badnell_rec_init(), InitSimPostparse(), iso_cascade(), iso_collide(), iso_continuum_lower(), iso_get_collision_strength(), iso_init(), iso_Max_Emitting_Level(), iso_multiplet_opacities_one(), iso_radiative_recomb(), iso_recomb_setup(), iso_solve(), iso_update_num_levels(), lines_hydro(), Opacity_iso_photo_cs(), ParseCompile(), ParseDatabaseISO(), PrtAllTau(), SanityCheckBegin(), and SaveDo().
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(), and iso_init().
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 DynaIonize(), DynaNewStep(), HydroLevel(), InitSimPostparse(), iso_allocate(), iso_collide(), iso_continuum_lower(), iso_cool(), iso_departure_coefficients(), iso_ionize_recombine(), iso_level(), iso_photo(), iso_prt_pops(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_discrete(), iso_rad_rec_cooling_extra(), iso_radiative_recomb(), iso_radiative_recomb_effective(), iso_renorm(), iso_set_ion_rates(), iso_update_num_levels(), lgCheckMonitors(), lines(), OpacityAdd1Element(), OpacityAddTotal(), PresTotCurrent(), PrintRates(), PrtAllTau(), PrtComment(), PrtFinal(), PrtHydroTrace1(), PrtLinePres(), prtmet(), RT_diffuse(), RT_iso_integrate_RRC(), RT_line_all(), RT_line_driving(), RT_OTS(), RT_stark(), RT_tau_inc(), RT_tau_init(), SaveDo(), and SaveLineStuff().
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 Badnell_rec_init(), ContCreatePointers(), ContSetIntensity(), DoSatelliteLines(), DynaSaveLast(), DynaStartZone(), InitCoreloadPostparse(), InitSimPostparse(), ion_trim(), ion_trim2(), iso_allocate(), iso_assign_quantum_numbers(), iso_cascade(), iso_collide(), iso_collisional_ionization(), iso_continuum_lower(), iso_cool(), iso_create(), iso_departure_coefficients(), iso_error_generation(), iso_get_collision_strength(), iso_init(), iso_ionize_recombine(), iso_level(), iso_Max_Emitting_Level(), iso_multiplet_opacities_one(), iso_photo(), iso_put_recomb_error(), iso_radiative_recomb(), iso_recomb_setup(), iso_satellite(), iso_satellite_update(), iso_solve(), iso_suprathermal(), iso_update_num_levels(), iso_zero(), IterRestart(), IterStart(), lines_continuum(), lines_hydro(), Opacity_iso_photo_cs(), OpacityCreateAll(), ParseElement(), PrtAllTau(), QN2Index(), radius_increment(), renorm_solution(), RT_line_all_escape(), RT_stark(), RT_tau_init(), RT_tau_reset(), SanityCheckBegin(), SaveDo(), and SaveLineData().
|
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 iso_radiative_recomb(), lines_hydro(), radius_first(), Reset(), RT_iso_integrate_RRC(), and SaveDo().
double t_iso_sp::RadRec_effec |
the total effective radiative recombination rate coefficient (cm3 s-1), radiative rate with correction for absorption and ionization
Referenced by iso_radiative_recomb(), and PrtHydroTrace1a().
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
Referenced by iso_ionize_recombine().
double t_iso_sp::RecomInducCool_Rate |
the actual induced recom cooling rate, erg cm-3 s-1
Referenced by iso_cool(), and lines().
qList t_iso_sp::st |
Referenced by t_gaunt::brems_sum_ions(), cdColm(), ChargTranSumHeat(), ContSetIntensity(), ConvBase(), dBase_solve(), fill_array(), FillExtraLymanLine(), H21_cm_pops(), HeCSInterp(), helike_transprob(), HydroCSInterp(), InitCoreloadPostparse(), ion_CX(), ion_trim(), ion_widen(), IonHelium(), IonHydro(), iso_allocate(), iso_assign_quantum_numbers(), iso_charge_transfer_update(), iso_collide(), iso_cool(), iso_create(), iso_departure_coefficients(), iso_get_collision_strength(), iso_level(), iso_multiplet_opacities_one(), iso_photo(), iso_prt_pops(), iso_put_recomb_error(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_discrete(), iso_radrecomb_from_cross_section(), iso_renorm(), iso_satellite(), iso_set_ion_rates(), iso_solve(), iso_zero(), IterRestart(), IterStart(), lgCheckMonitors(), lines(), lines_hydro(), OpacityAdd1Element(), OpacityAddTotal(), PresTotCurrent(), PrintRates(), QN2Index(), RT_diffuse(), RT_iso_integrate_RRC(), RT_line_all(), RT_OTS(), RT_stark(), RT_tau_inc(), SanityCheckBegin(), save_opacity(), SaveDo(), SaveSpecial(), SecIoniz(), setXtraRatesFe2(), and setXtraRatesO1().
TransitionList* t_iso_sp::tr |
Referenced by iso_allocate(), and trans().
vector<two_photon> t_iso_sp::TwoNu |
Referenced by ContCreatePointers(), iso_level(), iso_update_rates(), IterStart(), lines_helium(), lines_hydro(), PrtComment(), Reset(), RT_diffuse(), RT_OTS_Update(), and SaveSpecial().
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_ionize_recombine(), iso_level(), iso_set_ion_rates(), and PrtHydroTrace1a().
double t_iso_sp::xLineTotCool |
net cooling due to total collisional excit of lines
Referenced by iso_cool().