cloudy
trunk
|
#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 () |
Data Fields | |
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 |
|
inlinevirtual |
|
virtual |
Implements module.
Definition at line 8 of file phycon.cpp.
References BigJumpCO, BigJumpH2, BigJumpne, BigJumpTe, DEBUG_ENTRY, and lgPhysOK.
double t_phycon::alnte |
alnte is natural log of temperature
Definition at line 95 of file phycon.h.
Referenced by ChargTranEval(), and tfidle().
double t_phycon::alogte |
alogte is base 10 log of temperature
Definition at line 92 of file phycon.h.
Referenced by CoolEvaluate(), HeCSTableInterp(), iso_dielec_recomb_rate(), lines(), lines_hydro(), diatomics::mole_H2_form(), radius_increment(), and tfidle().
realnum t_phycon::BigJumpCO |
Definition at line 116 of file phycon.h.
Referenced by prt_smooth_predictions(), PrtFinal(), and zero().
realnum t_phycon::BigJumpH2 |
Definition at line 116 of file phycon.h.
Referenced by prt_smooth_predictions(), PrtFinal(), and zero().
realnum t_phycon::BigJumpne |
Definition at line 116 of file phycon.h.
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
Definition at line 116 of file phycon.h.
Referenced by prt_smooth_predictions(), PrtFinal(), and zero().
double t_phycon::EdenInit |
double t_phycon::EdenProp |
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
Definition at line 54 of file phycon.h.
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
Definition at line 47 of file phycon.h.
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.
Definition at line 41 of file phycon.h.
Referenced by DynaPrtZone(), PresTotCurrent(), and SaveDo().
double t_phycon::EnthalpyDensity |
the enthalpy per unit vol, updated with pressure updated
Definition at line 50 of file phycon.h.
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
Definition at line 111 of file phycon.h.
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)
Definition at line 86 of file phycon.h.
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
Definition at line 58 of file phycon.h.
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_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
Definition at line 21 of file phycon.h.
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_vs_deexcit(), HydroLevel(), HydroRecCool(), HyperfineCreate(), HyperfineCS(), 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(), 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::te001 |
double t_phycon::te003 |
Definition at line 58 of file phycon.h.
Referenced by ColStrGBar(), hmirat(), and tfidle().
double t_phycon::te01 |
Definition at line 58 of file phycon.h.
Referenced by ChargTranEval(), hmirat(), RT_stark(), and tfidle().
double t_phycon::te03 |
Definition at line 58 of file phycon.h.
Referenced by ChargTranEval(), hmirat(), lines(), lines_hydro(), RT_stark(), SaveDo(), and tfidle().
double t_phycon::te05 |
Definition at line 58 of file phycon.h.
Referenced by ChargTranEval(), and tfidle().
double t_phycon::te10 |
Definition at line 58 of file phycon.h.
Referenced by ChargTranEval(), ColStrGBar(), hmirat(), lines(), lines_hydro(), RT_stark(), SaveDo(), and tfidle().
double t_phycon::te20 |
double t_phycon::te30 |
Definition at line 58 of file phycon.h.
Referenced by ChargTranEval(), lines(), and tfidle().
double t_phycon::te32 |
Definition at line 58 of file phycon.h.
Referenced by Badnell_DR_rate_eval(), diatomics::H2_LevelPops(), iso_collide(), iso_satellite_update(), mole_h_reactions(), and tfidle().
double t_phycon::te70 |
double t_phycon::te_eV |
the current electron temperature in eV
Definition at line 24 of file phycon.h.
Referenced by ChargTranEval(), ion_recom_calculate(), and tfidle().
double t_phycon::te_ryd |
the current electron temperature in Ryd
Definition at line 27 of file phycon.h.
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
Definition at line 30 of file phycon.h.
Referenced by diatomics::H2_CollidRateEvalAll(), diatomics::H2_Cooling(), diatomics::H2_LevelPops(), Atom_LevelN::operator()(), and tfidle().
double t_phycon::TeInit |
initial temperature
Definition at line 99 of file phycon.h.
Referenced by SaveDo(), and ZoneStart().
double t_phycon::teinv |
1/TE
Definition at line 33 of file phycon.h.
Referenced by CoolEvaluate(), iso_cool(), and tfidle().
double t_phycon::telogn[7] |
1 is log Te, 2 is (log T)^2, etc
Definition at line 86 of file phycon.h.
Referenced by ContSetIntensity(), HydroRecCool(), iso_rad_rec_cooling_extra(), SaveDo(), and tfidle().
const double t_phycon::TEMP_LIMIT_HIGH |
highest temperature to ever allow
Definition at line 123 of file phycon.h.
Referenced by ConvInitSolution(), dgaunt_check(), HyperfineCreate(), InitDefaultsPreparse(), map_do(), ParseConstant(), ParseCoronal(), ParseSet(), ParseStop(), and TempChange().
const double t_phycon::TEMP_LIMIT_HIGH_LOG |
Definition at line 123 of file phycon.h.
Referenced by HydroRecCool().
const double t_phycon::TEMP_LIMIT_LOW |
lowest temperature to ever allow
Definition at line 121 of file phycon.h.
Referenced by ConvInitSolution(), ConvTempEdenIoniz(), dgaunt_check(), HyperfineCreate(), map_do(), ParseConstant(), ParseCoronal(), ParseSet(), ParseStop(), and TempChange().
const double t_phycon::TEMP_STOP_DEFAULT |
The default value of the stopping temperature
Definition at line 119 of file phycon.h.
Referenced by AbundancesSet(), InitDefaultsPreparse(), ParseCommands(), and PrtComment().
double t_phycon::TEnerDen |
energy density temperature
Definition at line 108 of file phycon.h.
Referenced by ContSetIntensity(), ConvInitSolution(), PrtComment(), and PrtHeader().
double t_phycon::TeProp |
proposed temperature
Definition at line 99 of file phycon.h.
Referenced by SaveDo(), and ZoneStart().
double t_phycon::tesqrd |