cloudy trunk
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
t_phycon Struct Reference

#include <phycon.h>

Collaboration diagram for t_phycon:
Collaboration graph
[legend]

Public Member Functions

 t_phycon ()
 

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
 

Detailed Description

phycon.h

Definition at line 8 of file phycon.h.

Constructor & Destructor Documentation

◆ t_phycon()

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."

Definition at line 123 of file phycon.h.

Field Documentation

◆ alnte

double t_phycon::alnte

alnte is natural log of temperature

Definition at line 85 of file phycon.h.

Referenced by ChargTranEval(), CoolNitr(), oiv_cs(), and tfidle().

◆ alogte

double t_phycon::alogte

◆ BigJumpCO

realnum t_phycon::BigJumpCO

Definition at line 106 of file phycon.h.

Referenced by prt_smooth_predictions(), PrtFinal(), and zero().

◆ BigJumpH2

realnum t_phycon::BigJumpH2

Definition at line 106 of file phycon.h.

Referenced by prt_smooth_predictions(), PrtFinal(), and zero().

◆ BigJumpne

realnum t_phycon::BigJumpne

Definition at line 106 of file phycon.h.

Referenced by prt_smooth_predictions(), PrtFinal(), and zero().

◆ BigJumpTe

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 106 of file phycon.h.

Referenced by prt_smooth_predictions(), PrtFinal(), and zero().

◆ EdenInit

double t_phycon::EdenInit

initial electron density

Definition at line 93 of file phycon.h.

Referenced by ZoneStart().

◆ EdenProp

double t_phycon::EdenProp

proposed electron density

Definition at line 95 of file phycon.h.

Referenced by ZoneStart().

◆ EnergyBinding

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 44 of file phycon.h.

Referenced by DynaPrtZone(), PresTotCurrent(), and SaveDo().

◆ EnergyExcitation

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 37 of file phycon.h.

Referenced by DynaPrtZone(), PresTotCurrent(), and SaveDo().

◆ EnergyIonization

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 31 of file phycon.h.

Referenced by DynaPrtZone(), PresTotCurrent(), and SaveDo().

◆ EnthalpyDensity

double t_phycon::EnthalpyDensity

the enthalpy per unit vol, updated with pressure updated

Definition at line 40 of file phycon.h.

Referenced by t_dynamics::Cool(), DynaIonize(), DynaSave(), t_dynamics::Heat(), PresTotCurrent(), and SaveDo().

◆ lgPhysOK

bool t_phycon::lgPhysOK

lag set if a physical condition has been disabled

Definition at line 101 of file phycon.h.

Referenced by ParseAbundances(), ParseAtomISO(), ParseDont(), ParseEden(), ParseGrain(), ParseSet(), PrtComment(), and zero().

◆ sqlogz

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 79 of file phycon.h.

Referenced by HydroRecCool(), iso_rad_rec_cooling_extra(), and tfidle().

◆ sqrte

double t_phycon::sqrte

◆ te

double t_phycon::te

te, electron temperature K

Definition at line 11 of file phycon.h.

Referenced by AbundChange(), AGN_He1_CS(), AGN_Hemis(), atmdat_3body(), atom_level2(), atom_level3(), atom_levelN(), atom_pop3(), atom_pop5(), AtomCSInterp(), t_fe2ovr_la::atoms_fe2ovr(), AtomSeqBeryllium(), Badnell_DR_rate_eval(), Badnell_RR_rate_eval(), C6cs123(), Ca20cs123(), cdTemp_last(), ChargTranEval(), ChargTranPun(), ColStrGBar(), ContNegative(), ContSetIntensity(), ConvBase(), ConvFail(), ConvInitSolution(), ConvIterCheck(), ConvPresTempEdenIoniz(), ConvTempEdenIoniz(), CoolAlum(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolEvaluate(), CoolHeatError(), CoolIron(), CoolMagn(), CoolNeon(), CoolNick(), CoolNitr(), CoolOxyg(), CoolPhos(), CoolPota(), CoolSave(), CoolSili(), CoolSulf(), CS_l_mixing_PS64(), dBase_solve(), t_dynamics::dCooldT(), dgaunt(), dmpary(), DumpLine(), DynaIonize(), DynaIterEnd(), Fe26cs123(), Fe2_cooling(), FeIICollRatesBoltzmann(), FillGFF(), find_solution(), FindTempChangeFactor(), fndstr(), gbar0(), gbar1(), GetAveVelocity(), GetDopplerWidth(), GrainChargeTemp(), GrainCollHeating(), GrainDrift(), GrainDrive(), GrainElecRecomb1(), GrainScreen(), GrainTemperature(), H21_cm_pops(), diatomics::H2_CollidRateEvalAll(), diatomics::H2_Cooling(), diatomics::H2_LevelPops(), diatomics::H2_PunchDo(), HCSAR_interp(), HCTIon(), HCTRecom(), He2cs123(), HeatSum(), Hydcs123(), hydro_vs_deexcit(), HydroCSInterp(), HydroLevel(), HydroRecCool(), HyperfineCreate(), HyperfineCS(), ion_collis(), ion_recom_calculate(), ion_recomb(), ion_recombAGN(), IonCSInterp(), iso_collapsed_bnl_set(), iso_collide(), iso_collisional_ionization(), iso_continuum_lower(), iso_cool(), iso_level(), iso_rad_rec_cooling_approx(), iso_rad_rec_cooling_extra(), iso_radiative_recomb(), iso_radiative_recomb_effective(), iso_recomb_check(), iter_end_check(), IterStart(), lgConvTemp(), lgCoolNetConverge(), ligbar(), lines(), lines_continuum(), lines_helium(), lines_hydro(), lines_lv1_k_zn(), lines_lv1_li_ne(), lines_lv1_na_ar(), lines_molecules(), map_do(), t_mean::MeanInc(), mole_h2_grain_form(), diatomics::mole_H2_LTE(), mole_h_rate_diagnostics(), mole_h_reactions(), mole_partition_function(), mole_solve(), Ne10cs123(), neiii_cs(), NewChargeData(), oi_cs(), oi_level_pops(), oi_othercs(), oiii_cs(), oiv_cs(), OpacityAddTotal(), ov_cs(), PressureChange(), PresTotCurrent(), PrintRates(), PrtComment(), PrtHydroTrace1a(), PrtZone(), qheat_init(), radius_increment(), radius_next(), RT_diffuse(), RT_iso_integrate_RRC(), RT_recom_effic(), S62_Therm_ave_coll_str(), SanityCheckBegin(), Save_Line_RT(), SaveDo(), SaveGaunts(), SaveHeat(), SaveLineData(), siii_cs(), siv_cs(), sviii_cs(), TempChange(), TempInterp(), tfidle(), UpdatePot(), xNI_coll_stren(), and ZoneStart().

◆ te0001

double t_phycon::te0001

Definition at line 69 of file phycon.h.

Referenced by CoolChlo(), CoolMagn(), CoolNeon(), CoolSili(), neiii_cs(), oi_cs(), oii_cs(), oiii_cs(), and tfidle().

◆ te0002

double t_phycon::te0002

Definition at line 70 of file phycon.h.

Referenced by CoolAlum(), CoolNeon(), neiii_cs(), oi_cs(), oii_cs(), oiii_cs(), sviii_cs(), and tfidle().

◆ te0003

double t_phycon::te0003

Definition at line 71 of file phycon.h.

Referenced by CoolNeon(), CoolSili(), neiii_cs(), oi_cs(), oiii_cs(), and tfidle().

◆ te0004

double t_phycon::te0004

Definition at line 72 of file phycon.h.

Referenced by CoolChlo(), CoolNeon(), CoolPhos(), neiii_cs(), oii_cs(), oiii_cs(), sviii_cs(), and tfidle().

◆ te0005

double t_phycon::te0005

Definition at line 73 of file phycon.h.

Referenced by CoolMagn(), neiii_cs(), oi_cs(), oii_cs(), oiii_cs(), and tfidle().

◆ te0007

double t_phycon::te0007

Definition at line 74 of file phycon.h.

Referenced by CoolNeon(), neiii_cs(), oi_cs(), oiii_cs(), and tfidle().

◆ te001

double t_phycon::te001

◆ te002

double t_phycon::te002

Definition at line 66 of file phycon.h.

Referenced by CoolNeon(), CoolPhos(), neiii_cs(), oii_cs(), oiii_cs(), and tfidle().

◆ te003

double t_phycon::te003

◆ te004

double t_phycon::te004

Definition at line 64 of file phycon.h.

Referenced by CoolChlo(), CoolNeon(), neiii_cs(), oi_cs(), oii_cs(), oiii_cs(), sviii_cs(), and tfidle().

◆ te005

double t_phycon::te005

◆ te007

double t_phycon::te007

Definition at line 62 of file phycon.h.

Referenced by CoolChlo(), CoolMagn(), CoolNeon(), CoolPhos(), neiii_cs(), oi_cs(), oii_cs(), oiii_cs(), and tfidle().

◆ te01

double t_phycon::te01

◆ te02

double t_phycon::te02

◆ te03

double t_phycon::te03

◆ te04

double t_phycon::te04

◆ te05

double t_phycon::te05

◆ te07

double t_phycon::te07

Definition at line 56 of file phycon.h.

Referenced by CoolChlo(), CoolMagn(), CoolNeon(), neiii_cs(), oii_cs(), oiii_cs(), and tfidle().

◆ te10

double t_phycon::te10

◆ te20

double t_phycon::te20

◆ te30

double t_phycon::te30

◆ te32

double t_phycon::te32

◆ te40

double t_phycon::te40

Definition at line 52 of file phycon.h.

Referenced by CoolNeon(), lines_lv1_li_ne(), neiii_cs(), and tfidle().

◆ te70

double t_phycon::te70

◆ te90

double t_phycon::te90

Definition at line 50 of file phycon.h.

Referenced by neiii_cs(), and tfidle().

◆ te_eV

double t_phycon::te_eV

the current electron temperature in eV

Definition at line 14 of file phycon.h.

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

◆ te_ryd

double t_phycon::te_ryd

the current electron temperature in Ryd

Definition at line 17 of file phycon.h.

Referenced by ion_trim(), iso_collide(), iso_cool(), iso_ionize_recombine(), iso_satellite_update(), RT_iso_integrate_RRC(), RT_recom_effic(), and tfidle().

◆ te_wn

double t_phycon::te_wn

the current electron temperature in wavenumbers

Definition at line 20 of file phycon.h.

Referenced by atom_levelN(), FeIICollRatesBoltzmann(), diatomics::H2_CollidRateEvalAll(), diatomics::H2_Cooling(), diatomics::H2_LevelPops(), and tfidle().

◆ TeInit

double t_phycon::TeInit

initial temperature

Definition at line 89 of file phycon.h.

Referenced by SaveDo(), and ZoneStart().

◆ teinv

double t_phycon::teinv

1/TE

Definition at line 23 of file phycon.h.

Referenced by atom_level3(), atom_pop2(), CoolEvaluate(), iso_cool(), and tfidle().

◆ telogn

double t_phycon::telogn[7]

1 is log Te, 2 is (log T)^2, etc

Definition at line 76 of file phycon.h.

Referenced by ContSetIntensity(), HydroRecCool(), iso_rad_rec_cooling_extra(), SaveDo(), and tfidle().

◆ TEMP_LIMIT_HIGH

const double t_phycon::TEMP_LIMIT_HIGH

highest temperature to ever allow

Definition at line 113 of file phycon.h.

Referenced by ConvInitSolution(), CoolOxyg(), InitDefaultsPreparse(), map_do(), ParseConstant(), ParseCoronal(), ParseSet(), ParseStop(), and TempChange().

◆ TEMP_LIMIT_HIGH_LOG

const double t_phycon::TEMP_LIMIT_HIGH_LOG

Definition at line 113 of file phycon.h.

Referenced by HydroRecCool().

◆ TEMP_LIMIT_LOW

const double t_phycon::TEMP_LIMIT_LOW

lowest temperature to ever allow

Definition at line 111 of file phycon.h.

Referenced by ConvInitSolution(), ConvTempEdenIoniz(), CoolOxyg(), map_do(), ParseConstant(), ParseCoronal(), ParseSet(), ParseStop(), and TempChange().

◆ TEMP_STOP_DEFAULT

const double t_phycon::TEMP_STOP_DEFAULT

The default value of the stopping temperature

Definition at line 109 of file phycon.h.

Referenced by AbundancesSet(), InitDefaultsPreparse(), ParseCommands(), and PrtComment().

◆ TEnerDen

double t_phycon::TEnerDen

energy density temperature

Definition at line 98 of file phycon.h.

Referenced by ContSetIntensity(), ConvInitSolution(), PrtComment(), and PrtHeader().

◆ TeProp

double t_phycon::TeProp

proposed temperature

Definition at line 91 of file phycon.h.

Referenced by SaveDo(), and ZoneStart().

◆ tesqrd

double t_phycon::tesqrd

T^2

Definition at line 26 of file phycon.h.

Referenced by ChargTranEval(), and tfidle().


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