Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
t_phycon Struct Reference

#include <phycon.h>

Inheritance diagram for t_phycon:
Collaboration diagram for t_phycon:

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
 

Detailed Description

Constructor & Destructor Documentation

t_phycon::t_phycon ( )
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."

Member Function Documentation

const char* t_phycon::chName ( ) const
inlinevirtual

Implements module.

void t_phycon::comment ( t_warnings )
inlinevirtual

Implements module.

void t_phycon::zero ( void  )
virtual

Implements module.

References BigJumpCO, BigJumpH2, BigJumpne, BigJumpTe, DEBUG_ENTRY, and lgPhysOK.

Member Data Documentation

double t_phycon::alnte

alnte is natural log of temperature

Referenced by ChargTranEval(), and tfidle().

double t_phycon::alogte
realnum t_phycon::BigJumpCO
realnum t_phycon::BigJumpH2
realnum t_phycon::BigJumpne
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::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::te001

Referenced by hmirat(), and 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::te005

Referenced by lines(), and tfidle().

double t_phycon::te007

Referenced by tfidle().

double t_phycon::te01
double t_phycon::te02

Referenced by tfidle().

double t_phycon::te03
double t_phycon::te04

Referenced by lines(), and tfidle().

double t_phycon::te05

Referenced by ChargTranEval(), and tfidle().

double t_phycon::te07

Referenced by tfidle().

double t_phycon::te10
double t_phycon::te20

Referenced by ChargTranEval(), hmirat(), lines(), and tfidle().

double t_phycon::te30

Referenced by ChargTranEval(), lines(), and tfidle().

double t_phycon::te40

Referenced by lines(), and tfidle().

double t_phycon::te70
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
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
const double t_phycon::TEMP_LIMIT_HIGH_LOG

Referenced by HydroRecCool().

const double t_phycon::TEMP_LIMIT_LOW
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().


The documentation for this struct was generated from the following files: