cloudy
trunk
|
#include <iso.h>
Public Member Functions | |
TransitionProxy | trans (const long ipHi, const long ipLo) |
void | Reset () |
void t_iso_sp::Reset | ( | ) |
Definition at line 113 of file iso.cpp.
References CaseBCheck, chTypeAtomUsed, fb, lgErrGenDone, lgLevelsEverLowered, lgLevelsLowered, lgMustReeval, lgPopsRescaled, RadRec_caseB, and TwoNu.
Referenced by InitSimPostparse(), and IterRestart().
|
inline |
Definition at line 473 of file iso.h.
Referenced by cdTemp(), collectSkipTrans(), ContCreatePointers(), ConvIterCheck(), dBase_solve(), DoFSMixing(), eden_sum(), ForbiddenAuls(), GetStandardHeLines(), GrainTemperature(), HeCSInterp(), helike_transprob(), HydroCSInterp(), diatomics::init(), ion_photo(), IonHydro(), iso_cascade(), iso_collapsed_Aul_update(), iso_collapsed_lifetimes_update(), iso_collide(), iso_comment_tran_levels(), 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 |
Definition at line 480 of file iso.h.
Referenced by iso_allocate(), iso_cascade(), iso_radiative_recomb_effective(), and SanityCheckBegin().
Definition at line 596 of file iso.h.
Referenced by helike_transprob_collapsed_to_resolved(), hydro_transprob_collapsed_to_resolved(), iso_allocate(), iso_collapsed_Aul_update(), iso_get_collision_strength_collapsed_to_collapsed_fast(), and iso_get_collision_strength_collapsed_to_resolved().
multi_arr<double,2> t_iso_sp::CascadeProb |
Definition at line 479 of file iso.h.
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
Definition at line 541 of file iso.h.
Referenced by Reset(), and RT_iso_integrate_RRC().
double t_iso_sp::cBal_cool |
net cooling due to collisional excit of balmer lines
Definition at line 575 of file iso.h.
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"
Definition at line 587 of file iso.h.
Referenced by iso_level(), and Reset().
double t_iso_sp::cLya_cool |
net cooling due to collisional excit of Lya
Definition at line 581 of file iso.h.
Referenced by iso_cool().
double t_iso_sp::cLyrest_cool |
net cooling due to collisional excit of higher lyman lines
Definition at line 578 of file iso.h.
Referenced by iso_cool().
double t_iso_sp::coll_ion |
net cooling due to collisional ionization
Definition at line 560 of file iso.h.
Referenced by iso_cool().
double t_iso_sp::cRest_cool |
net cooling due to collisional excit of higher lines
Definition at line 563 of file iso.h.
Referenced by iso_cool().
double t_iso_sp::dLTot |
deriv of net cooling due to total collisional excit of lines
Definition at line 569 of file iso.h.
Referenced by HeatSum(), and iso_cool().
Definition at line 478 of file iso.h.
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 |
Definition at line 481 of file iso.h.
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(), mole_h_reactions(), 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
Definition at line 557 of file iso.h.
Referenced by iso_cool().
vector<double> t_iso_sp::HighestLevelOpacStack |
Definition at line 600 of file iso.h.
Referenced by iso_radiative_recomb(), and OpacityCreateAll().
multi_arr<long,3> t_iso_sp::IndexIfAllResolved |
Definition at line 492 of file iso.h.
Referenced by he_1trans(), helike_transprob_collapsed_to_resolved(), hydro_transprob_collapsed_to_resolved(), iso_allocate(), iso_assign_quantum_numbers(), iso_get_collision_strength_collapsed_to_collapsed_fast(), and iso_get_collision_strength_collapsed_to_resolved().
multi_arr<long,2> t_iso_sp::ipTrans |
Definition at line 477 of file iso.h.
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.
Definition at line 591 of file iso.h.
Referenced by iso_error_generation(), iso_update_rates(), and Reset().
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.
Definition at line 509 of file iso.h.
Referenced by iso_continuum_lower(), and Reset().
bool t_iso_sp::lgLevelsLowered |
true if the number of levels is currently lowered
Definition at line 505 of file iso.h.
Referenced by iso_collisional_ionization(), iso_continuum_lower(), iso_radiative_recomb(), and Reset().
bool t_iso_sp::lgMustReeval |
Definition at line 512 of file iso.h.
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
Definition at line 554 of file iso.h.
Referenced by iso_collide().
bool t_iso_sp::lgPopsRescaled |
Definition at line 515 of file iso.h.
Referenced by iso_level(), and Reset().
bool t_iso_sp::lgPrtDepartCoef |
option to print departure coefficients
Definition at line 499 of file iso.h.
Referenced by ParsePrint().
bool t_iso_sp::lgPrtLevelPops |
bool t_iso_sp::lgPrtMatrix |
long int t_iso_sp::n_HighestResolved_local |
the local (pressure lowered) version of the above
Definition at line 538 of file iso.h.
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
Definition at line 536 of file iso.h.
Referenced by Badnell_rec_init(), helike_transprob_collapsed_to_resolved(), hydro_transprob_collapsed_to_resolved(), InitCoreload(), InitSimPostparse(), iso_allocate(), iso_assign_quantum_numbers(), iso_cascade(), iso_collapsed_Aul_update(), iso_continuum_lower(), iso_get_collision_strength(), iso_get_collision_strength_collapsed_to_collapsed_fast(), iso_get_collision_strength_collapsed_to_resolved(), iso_multiplet_opacities_one(), iso_update_num_levels(), lgCheckMonitors(), lines_helium(), lines_hydro(), Opacity_iso_photo_cs(), ParseCompile(), ParseDatabaseISO(), RT_tau_init(), and SanityCheckBegin().
long int t_iso_sp::nCollapsed_local |
Definition at line 519 of file iso.h.
Referenced by InitSimPostparse(), iso_continuum_lower(), iso_prt_pops(), iso_radiative_recomb(), iso_update_num_levels(), lines(), PresTotCurrent(), PrtComment(), PrtLinePres(), and SaveDo().
long int t_iso_sp::nCollapsed_max |
the number of collapsed levels, these lie on top of resolved levels
Definition at line 518 of file iso.h.
Referenced by Badnell_rec_init(), GetStandardHeLines(), HeCollidSetup(), helike_transprob_collapsed_to_resolved(), hydro_transprob_collapsed_to_resolved(), InitCoreload(), InitSimPostparse(), iso_allocate(), iso_assign_quantum_numbers(), iso_cascade(), iso_collapsed_Aul_update(), iso_continuum_lower(), iso_get_collision_strength(), iso_multiplet_opacities_one(), iso_radiative_recomb(), iso_recomb_setup(), iso_solve(), iso_update_num_levels(), lines_helium(), lines_hydro(), Opacity_iso_photo_cs(), ParseCompile(), ParseDatabaseISO(), PrtAllTau(), and SanityCheckBegin().
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
Definition at line 529 of file iso.h.
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(), SaveLineStuff(), and state_get_put().
long int t_iso_sp::numLevels_malloc |
number of levels malloc'd in the core load, can't go over that later in later sims can lower number of levels but not raise them
Definition at line 533 of file iso.h.
Referenced by InitCoreload(), and iso_allocate().
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.
Definition at line 524 of file iso.h.
Referenced by Badnell_rec_init(), collectSkipTrans(), ContCreatePointers(), ContSetIntensity(), DoSatelliteLines(), DynaCreateArrays(), DynaSaveLast(), DynaStartZone(), HeCollidSetup(), InitCoreload(), InitCoreloadPostparse(), InitSimPostparse(), ion_trim(), ion_trim2(), iso_allocate(), iso_assign_quantum_numbers(), iso_cascade(), iso_collapsed_Aul_update(), iso_collapsed_lifetimes_update(), iso_collide(), iso_collisional_ionization(), iso_continuum_lower(), iso_cool(), iso_create(), iso_departure_coefficients(), iso_error_generation(), iso_get_collision_strength(), iso_ionize_recombine(), iso_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_helium(), lines_hydro(), Opacity_iso_photo_cs(), OpacityCreateAll(), ParseElement(), PrtAllTau(), radius_increment(), renorm_solution(), RT_line_all_escape(), RT_stark(), RT_tau_init(), RT_tau_reset(), SanityCheckBegin(), SaveLineData(), and state_get_put().
double t_iso_sp::qTot2S |
the effective collisional rate from 2S, for h-like and he-like sequences
Definition at line 594 of file iso.h.
Referenced by iso_level().
multi_arr<long,3> t_iso_sp::QuantumNumbers2Index |
Find index given quantum numbers Since separate j levels within a triplet term are only resolved in the case of 2tripP, allocating memory for a j dimension is unwarranted. Instead iso.QuantumNumbers2Index[ipISO][nelem][2][1][1] will point to 2^3P2, with 2^3P0 and 2^3P1 easily accessed by subtracting 2 and 1 respectively from the returned index.
Definition at line 490 of file iso.h.
Referenced by Badnell_rec_init(), chkCaHeps(), collectSkipTrans(), cross_section(), DoFSMixing(), he_1trans(), He_cross_section(), HeCSTableInterp(), helike_quantum_defect(), HlikeCSInterp(), iso_allocate(), iso_assign_quantum_numbers(), iso_collapsed_Aul_update(), iso_level(), iso_prt_pops(), iso_put_recomb_error(), lines_helium(), lines_hydro(), PrtAllTau(), PrtHeader(), RT_tau_init(), and SanityCheckBegin().
double t_iso_sp::RadRec_caseB |
case b recombination rate coefficient
Definition at line 544 of file iso.h.
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
Definition at line 548 of file iso.h.
Referenced by iso_radiative_recomb(), and PrtHydroTrace1a().
double t_iso_sp::RadRecCool |
double t_iso_sp::RecomCollisFrac |
ratio of collisional recombination rate to recom from all processes
Definition at line 551 of file iso.h.
Referenced by iso_ionize_recombine().
double t_iso_sp::RecomInducCool_Rate |
the actual induced recom cooling rate, erg cm-3 s-1
Definition at line 584 of file iso.h.
Referenced by iso_cool(), and lines().
qList t_iso_sp::st |
Definition at line 482 of file iso.h.
Referenced by t_gaunt::brems_sum_ions(), cdColm(), ChargTranSumHeat(), collectSkipTrans(), ContSetIntensity(), ConvBase(), dBase_solve(), DoFSMixing(), fill_array(), FillExtraLymanLine(), ForbiddenAuls(), H21_cm_pops(), HeCSInterp(), HydroCSInterp(), InitCoreloadPostparse(), ion_CX(), ion_trim(), ion_widen(), IonHelium(), IonHydro(), iso_allocate(), iso_assign_quantum_numbers(), iso_charge_transfer_update(), iso_collapsed_Aul_update(), iso_collapsed_lifetimes_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_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_helium(), lines_hydro(), OpacityAdd1Element(), OpacityAddTotal(), PresTotCurrent(), PrintRates(), 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 |
Definition at line 483 of file iso.h.
Referenced by iso_allocate(), and trans().
vector<two_photon> t_iso_sp::TwoNu |
Definition at line 598 of file iso.h.
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
Definition at line 496 of file iso.h.
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
Definition at line 566 of file iso.h.
Referenced by iso_cool().