Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <phycon.h>
Public Member Functions | |
const char * | chName () const |
void | zero () |
void | comment (t_warnings &) |
t_phycon () | |
Public Member Functions inherited from module | |
module () | |
virtual | ~module () |
Public Attributes | |
double | te |
double | te_eV |
double | te_ryd |
double | te_wn |
double | teinv |
double | tesqrd |
double | EnergyIonization |
double | EnergyExcitation |
double | EnthalpyDensity |
double | EnergyBinding |
double | sqrte |
double | te32 |
double | te90 |
double | te70 |
double | te40 |
double | te30 |
double | te20 |
double | te10 |
double | te07 |
double | te05 |
double | te04 |
double | te03 |
double | te02 |
double | te01 |
double | te007 |
double | te005 |
double | te004 |
double | te003 |
double | te002 |
double | te001 |
double | te0001 |
double | te0002 |
double | te0003 |
double | te0004 |
double | te0005 |
double | te0007 |
double | telogn [7] |
double | sqlogz [LIMELM] |
double | alogte |
double | alnte |
double | TeInit |
double | TeProp |
double | EdenInit |
double | EdenProp |
double | TEnerDen |
bool | lgPhysOK |
realnum | BigJumpTe |
realnum | BigJumpne |
realnum | BigJumpH2 |
realnum | BigJumpCO |
const double | TEMP_STOP_DEFAULT |
const double | TEMP_LIMIT_LOW |
const double | TEMP_LIMIT_HIGH |
const double | TEMP_LIMIT_HIGH_LOG |
|
inline |
define constructor to set initial values for these constant variables within class. Order matters here - from PvH: This is what Stroustrup says: "The constructors [i.e. the initializers for TEMP_LIMIT_LOW, etc.] are called in the order in which the members are declared in the class rather than the order in which the members appear in the initializer list. To avoid confusion, it is best to specify the initializers in the member declaration order."
|
inlinevirtual |
Implements module.
|
inlinevirtual |
Implements module.
|
virtual |
double t_phycon::alnte |
alnte is natural log of temperature
Referenced by ChargTranEval(), and tfidle().
double t_phycon::alogte |
alogte is base 10 log of temperature
Referenced by CoolEvaluate(), HeCSTableInterp(), iso_dielec_recomb_rate(), lines(), lines_hydro(), diatomics::mole_H2_form(), radius_increment(), and tfidle().
realnum t_phycon::BigJumpCO |
Referenced by prt_smooth_predictions(), PrtFinal(), and zero().
realnum t_phycon::BigJumpH2 |
Referenced by prt_smooth_predictions(), PrtFinal(), and zero().
realnum t_phycon::BigJumpne |
Referenced by prt_smooth_predictions(), PrtFinal(), and zero().
realnum t_phycon::BigJumpTe |
largest relative changes in Te, ne, H+, H2, and CO in structure this is computed as part of prtcomment so does not exist when code not talking, set to zero in zero and still zero if prtcomment not called
Referenced by prt_smooth_predictions(), PrtFinal(), and zero().
double t_phycon::EdenInit |
initial electron density
Referenced by ZoneStart().
double t_phycon::EdenProp |
proposed electron density
Referenced by ZoneStart().
double t_phycon::EnergyBinding |
this is the total binding energy of the molecules, and is negative, the energy need to get back to free atoms
Referenced by DynaPrtZone(), PresTotCurrent(), and SaveDo().
double t_phycon::EnergyExcitation |
the total internal energy of atoms and molecules within the gas, erg/cm^3. This is the amount of energy to excite the current level populations from the ground. this includes electronic excitations of atoms and rotation excitations of molecules
Referenced by DynaPrtZone(), PresTotCurrent(), and SaveDo().
double t_phycon::EnergyIonization |
total ionization energy of gas, erg/cm^3, evaluated in PressureTotal, this is the amount of energy needed to go from pure atoms to the current ionization of the gas.
Referenced by DynaPrtZone(), PresTotCurrent(), and SaveDo().
double t_phycon::EnthalpyDensity |
the enthalpy per unit vol, updated with pressure updated
Referenced by t_dynamics::Cool(), DynaIonize(), DynaSave(), t_dynamics::Heat(), PresTotCurrent(), and SaveDo().
bool t_phycon::lgPhysOK |
lag set if a physical condition has been disabled
Referenced by newreact(), ParseDatabaseISO(), ParseDont(), ParseEden(), ParseGrain(), ParseSet(), PrtComment(), and zero().
double t_phycon::sqlogz[LIMELM] |
this is used to rescale telogn array for other charge, ith element is log(i+1)^(i+1)
Referenced by HydroRecCool(), iso_rad_rec_cooling_extra(), and tfidle().
double t_phycon::sqrte |
these are simple powers of the electron temperature, are evaluated in tfidle, and can be used to avoid exponentials
Referenced by ChargTranEval(), ColStrGBar(), CoolEvaluate(), CS_l_mixing_PS64(), CS_l_mixing_PS64_expI(), dBase_solve(), dBaseUpdateCollCoeffs(), EdenChange(), GetHelikeCollisionStrength(), GetHlikeCollisionStrength(), GrainDrift(), GrainTemperature(), hmirat(), Hydcs123(), hydro_Fujimoto_deexcit(), hydro_Lebedev_deexcit(), hydro_vanRegemorter_deexcit(), hydro_vs_deexcit(), HyperfineCreate(), iso_collide(), iso_get_collision_strength(), iso_rad_rec_cooling_discrete(), lines(), mole_h2_grain_form(), OpacityAddTotal(), RT_diffuse(), RT_iso_integrate_RRC(), RT_stark(), SanityCheckBegin(), Save1LineData(), and tfidle().
double t_phycon::te |
te, electron temperature K
Referenced by AbundChange(), AGN_He1_CS(), AGN_Hemis(), atmdat_3body(), atom_level2(), Badnell_DR_rate_eval(), Badnell_RR_rate_eval(), C6cs123(), Ca20cs123(), cdTemp_last(), ChargTranEval(), ChargTranPun(), ColStrGBar(), ContNegative(), ContSetIntensity(), ConvBase(), ConvFail(), ConvInitSolution(), ConvIterCheck(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolEvaluate(), CoolHeatError(), CoolHyperfine(), CoolSave(), CS_l_mixing_PS64(), CS_l_mixing_PS64_expI(), CS_l_mixing_S62(), dBase_solve(), dBaseUpdateCollCoeffs(), t_dynamics::dCooldT(), dmpary(), DumpLine(), DynaIonize(), DynaIterEnd(), eeBremsSpectrum(), Fe26cs123(), find_solution(), FindTempChangeFactor(), fndstr(), gbar0(), gbar1(), GetAveVelocity(), GetDopplerWidth(), GetHelikeCollisionStrength(), GetHlikeCollisionStrength(), GrainChargeTemp(), GrainCollHeating(), GrainDrift(), GrainDrive(), GrainElecRecomb1(), GrainScreen(), GrainTemperature(), H21_cm_pops(), diatomics::H2_CollidRateEvalAll(), diatomics::H2_Cooling(), diatomics::H2_Level_low_matrix(), diatomics::H2_LevelPops(), diatomics::H2_PunchDo(), HCSAR_interp(), HCTIon(), HCTRecom(), He2cs123(), HeatSum(), Hydcs123(), hydro_Fujimoto_deexcit(), hydro_Lebedev_deexcit(), hydro_vanRegemorter_deexcit(), hydro_vs_deexcit(), HydroLevel(), HydroRecCool(), HyperfineCreate(), HyperfineCS(), HyperfineTspin(), ion_collis(), ion_photo(), ion_recom_calculate(), ion_recomb(), ion_recombAGN(), iso_collide(), iso_collisional_ionization(), iso_continuum_lower(), iso_cool(), iso_get_collision_strength(), iso_level(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_discrete(), iso_rad_rec_cooling_extra(), iso_radiative_recomb(), iso_radiative_recomb_effective(), iso_solve(), iter_end_check(), IterStart(), lgConvTemp(), lgCoolNetConverge(), lgElemsConserved(), lines(), lines_continuum(), lines_helium(), lines_hydro(), lines_molecules(), map_do(), matchGeneric(), t_mean::MeanInc(), mole_h2_grain_form(), diatomics::mole_H2_LTE(), mole_h_rate_diagnostics(), mole_h_reactions(), mole_partition_function(), mole_solve(), Ne10cs123(), NewChargeData(), OpacityAddTotal(), setCollRate::operator()(), Atom_LevelN::operator()(), PressureChange(), PresTotCurrent(), PrintRates(), PrtComment(), PrtHydroTrace1a(), PrtZone(), qheat_init(), radius_increment(), radius_next(), RT_diffuse(), RT_iso_integrate_RRC(), RT_recom_effic(), SanityCheckBegin(), Save_Line_RT(), SaveDo(), SaveHeat(), SaveLineData(), diatomics::SolveSomeGroundElectronicLevels(), TempChange(), tfidle(), UpdatePot(), and ZoneStart().
double t_phycon::te0001 |
Referenced by tfidle().
double t_phycon::te0002 |
Referenced by tfidle().
double t_phycon::te0003 |
Referenced by tfidle().
double t_phycon::te0004 |
Referenced by tfidle().
double t_phycon::te0005 |
Referenced by tfidle().
double t_phycon::te0007 |
Referenced by tfidle().
double t_phycon::te002 |
Referenced by tfidle().
double t_phycon::te003 |
Referenced by ColStrGBar(), hmirat(), and tfidle().
double t_phycon::te004 |
Referenced by tfidle().
double t_phycon::te007 |
Referenced by tfidle().
double t_phycon::te01 |
Referenced by ChargTranEval(), hmirat(), RT_stark(), and tfidle().
double t_phycon::te02 |
Referenced by tfidle().
double t_phycon::te03 |
Referenced by ChargTranEval(), hmirat(), lines(), lines_hydro(), RT_stark(), SaveDo(), and tfidle().
double t_phycon::te05 |
Referenced by ChargTranEval(), and tfidle().
double t_phycon::te07 |
Referenced by tfidle().
double t_phycon::te10 |
Referenced by ChargTranEval(), ColStrGBar(), hmirat(), lines(), lines_hydro(), RT_stark(), SaveDo(), and tfidle().
double t_phycon::te20 |
Referenced by ChargTranEval(), hmirat(), lines(), and tfidle().
double t_phycon::te30 |
Referenced by ChargTranEval(), lines(), and tfidle().
double t_phycon::te32 |
Referenced by Badnell_DR_rate_eval(), diatomics::H2_LevelPops(), iso_collide(), iso_satellite_update(), mole_h_reactions(), and tfidle().
double t_phycon::te70 |
Referenced by hmirat(), lines(), lines_hydro(), SaveDo(), and tfidle().
double t_phycon::te90 |
Referenced by tfidle().
double t_phycon::te_eV |
the current electron temperature in eV
Referenced by ChargTranEval(), ion_recom_calculate(), and tfidle().
double t_phycon::te_ryd |
the current electron temperature in Ryd
Referenced by GammaBn(), ion_trim(), iso_collide(), iso_cool(), iso_ionize_recombine(), iso_rad_rec_cooling_discrete(), iso_satellite_update(), RT_iso_integrate_RRC(), and tfidle().
double t_phycon::te_wn |
the current electron temperature in wavenumbers
Referenced by diatomics::H2_CollidRateEvalAll(), diatomics::H2_Cooling(), diatomics::H2_LevelPops(), Atom_LevelN::operator()(), and tfidle().
double t_phycon::TeInit |
initial temperature
Referenced by SaveDo(), and ZoneStart().
double t_phycon::teinv |
1/TE
Referenced by CoolEvaluate(), iso_cool(), and tfidle().
double t_phycon::telogn[7] |
1 is log Te, 2 is (log T)^2, etc
Referenced by ContSetIntensity(), HydroRecCool(), iso_rad_rec_cooling_extra(), and tfidle().
const double t_phycon::TEMP_LIMIT_HIGH |
highest temperature to ever allow
Referenced by ConvInitSolution(), HyperfineCreate(), InitDefaultsPreparse(), map_do(), ParseConstant(), ParseCoronal(), ParseSet(), ParseStop(), and TempChange().
const double t_phycon::TEMP_LIMIT_HIGH_LOG |
Referenced by HydroRecCool().
const double t_phycon::TEMP_LIMIT_LOW |
lowest temperature to ever allow
Referenced by ConvInitSolution(), ConvTempEdenIoniz(), HyperfineCreate(), map_do(), ParseConstant(), ParseCoronal(), ParseSet(), ParseStop(), and TempChange().
const double t_phycon::TEMP_STOP_DEFAULT |
The default value of the stopping temperature
Referenced by AbundancesSet(), InitDefaultsPreparse(), ParseCommands(), and PrtComment().
double t_phycon::TEnerDen |
energy density temperature
Referenced by ContSetIntensity(), ConvInitSolution(), PrtComment(), and PrtHeader().
double t_phycon::TeProp |
proposed temperature
Referenced by SaveDo(), and ZoneStart().
double t_phycon::tesqrd |
T^2
Referenced by ChargTranEval(), and tfidle().