cloudy
trunk
|
#include <thermal.h>
realnum t_thermal::cextpw |
Definition at line 129 of file thermal.h.
Referenced by CoolEvaluate(), and ParseCommands().
double t_thermal::char_tran_cool |
Definition at line 143 of file thermal.h.
Referenced by ConvBase(), CoolEvaluate(), lines_general(), and zero().
double t_thermal::char_tran_heat |
heating - cooling due to charge transfer ionization / recombination
Definition at line 143 of file thermal.h.
Referenced by ConvBase(), lines_general(), and zero().
char t_thermal::chClntLab[NCOLNT][NCOLNT_LAB_LEN+1] |
Definition at line 95 of file thermal.h.
Referenced by CoolAdd(), CoolPunch(), CoolSum(), dmpary(), fndneg(), fndstr(), HeatPunch(), and map_do().
char t_thermal::chCoolHeatMax[NCOLNT_LAB_LEN+1] |
Definition at line 104 of file thermal.h.
Referenced by CoolSum(), and PrtComment().
Definition at line 177 of file thermal.h.
Referenced by PunchDo(), and PutHetCol().
remember strongest coolants these save arrays of line heating and cooling CoolAdd is called by n level cooling routines, and CoolAdd fills in cooling (cooling) or heating (heatnt) heatnt is always positive, although it is negative cooling
Definition at line 90 of file thermal.h.
Referenced by CoolAdd(), CoolPunch(), CoolSum(), dmpary(), fndneg(), fndstr(), HeatPunch(), and map_do().
realnum t_thermal::ConstGrainTemp |
constant grain temperature
Definition at line 50 of file thermal.h.
Referenced by GrainMakeDiffuse(), GrainsInit(), GrainTemperature(), InitDefaultsPreparse(), ParseCommands(), and ParseConstant().
realnum t_thermal::ConstTemp |
three uses, temperature set with constant temperature command, initial forced temperature with force temperature command also set if temperature floor is hit
Definition at line 47 of file thermal.h.
Referenced by AbundancesSet(), ContSetIntensity(), ConvInitSolution(), DynaEndIter(), InitDefaultsPreparse(), iter_end_check(), IterRestart(), lgCoolNetConverge(), ParseCommands(), ParseConstant(), ParseCoronal(), PrtComment(), PunchLineData(), and TempChange().
realnum t_thermal::CoolExtra |
Definition at line 129 of file thermal.h.
Referenced by CoolEvaluate(), ParseCommands(), and zero().
double t_thermal::coolheat |
realnum t_thermal::CoolHeatMax |
max of negative coolants, and a pointer to it
Definition at line 102 of file thermal.h.
Referenced by CoolSum(), IterStart(), PrtComment(), and zero().
double t_thermal::cooling[NCOLNT] |
Definition at line 91 of file thermal.h.
Referenced by CoolAdd(), CoolPunch(), CoolSum(), CoolZero(), dmpary(), fndneg(), fndstr(), and map_do().
double t_thermal::ctot |
cooling in this zone
Definition at line 107 of file thermal.h.
Referenced by cdCooling_last(), CO_PopsEmisCool(), ConvBase(), ConvEdenIoniz(), ConvFail(), ConvInitSolution(), ConvIoniz(), ConvTempEdenIoniz(), CoolDima(), CoolEvaluate(), CoolHeatError(), CoolPunch(), CoolSum(), dmpary(), DynaEndIter(), DynaPrtZone(), Fe2_cooling(), fndstr(), GrainChargeTemp(), GrainDrive(), H2_Cooling(), H2_LevelPops(), H2_PunchDo(), HeatPunch(), iso_cool(), IterStart(), lgConvTemp(), lgCoolHeatCheckConverge(), lgCoolNetConverge(), lines(), lines_general(), lines_molecules(), MakeDeriv(), map_do(), PunchDo(), radius_first(), radius_increment(), and zero().
double t_thermal::dCooldT |
derivative of cooling wrt temperature
Definition at line 116 of file thermal.h.
Referenced by atom_level2(), atom_level3(), AtomSeqBeryllium(), AtomSeqBoron(), ConvTempEdenIoniz(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolEvaluate(), CoolIron(), CoolNeon(), CoolNitr(), CoolOxyg(), CoolSulf(), CoolZero(), Fe11Lev5(), Fe13Lev5(), Fe2_cooling(), Fe3Lev14(), Fe4Lev12(), Fe7Lev8(), iso_cool(), lgCoolNetConverge(), MakeDeriv(), map_do(), and PunchDo().
double t_thermal::dHeatdT |
derivative of total heating in this zone, evaluated in SumHeat
Definition at line 146 of file thermal.h.
Referenced by ConvTempEdenIoniz(), CoolEvaluate(), lgCoolNetConverge(), and map_do().
double t_thermal::dTemper |
change in temperature
Definition at line 27 of file thermal.h.
Referenced by ConvFail(), and ConvTempEdenIoniz().
double t_thermal::FreeFreeTotHeat |
total free free heating integrated over model
Definition at line 167 of file thermal.h.
Referenced by IterRestart(), IterStart(), lines(), PrtComment(), PrtFinal(), and zero().
realnum t_thermal::GBarMax |
value of, and pointer to, strongest g-bar cooling line
Definition at line 139 of file thermal.h.
Referenced by IterStart(), lines(), and PrtComment().
double t_thermal::halfte |
Definition at line 119 of file thermal.h.
Referenced by atom_level2(), atom_level3(), atom_levelN(), AtomSeqBeryllium(), AtomSeqBoron(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolEvaluate(), CoolNeon(), CoolNitr(), CoolOxyg(), CoolSulf(), FeIILevelPops(), hmole_step(), iso_cool(), and tfidle().
double t_thermal::HeatHiEnr |
this is the part of the heating that does secondaries, but without efficiency
Definition at line 146 of file thermal.h.
Referenced by GammaBn(), GammaBnPL(), GammaK(), highen(), hmole_step(), ion_photo(), and iso_photo().
heating per unit vol, erg cm^-3 s^-1, heating[nelem][ion]
Definition at line 164 of file thermal.h.
Referenced by CO_drive(), CO_solve(), CoolEvaluate(), CoolSum(), Fe2_cooling(), fndstr(), GrainDrive(), GrainMakeDiffuse(), GrainsInit(), HeatPunch(), HeatZero(), highen(), ion_solver(), ion_trim(), ion_zero(), IonCarbo(), IonOxyge(), iso_cool(), IterRestart(), IterStart(), lines_general(), lines_grains(), lines_molecules(), map_do(), PrtZone(), PunchDo(), and radius_next().
double t_thermal::heatl |
realnum t_thermal::HeatLineMax |
HeatLineMax is largest fractional heating due to lines
Definition at line 170 of file thermal.h.
Referenced by IterStart(), lines_general(), and PrtComment().
double t_thermal::HeatLowEnr |
this is the part of the heating that cannot do secondary ionizations
Definition at line 146 of file thermal.h.
Referenced by GammaBn(), GammaBnPL(), GammaK(), highen(), hmole_step(), ion_photo(), and iso_photo().
double t_thermal::HeatNet |
HeatNet is heating due to individual species
Definition at line 146 of file thermal.h.
Referenced by GammaBn(), GammaBnPL(), GammaK(), hmole_reactions(), hmole_step(), IonNitro(), iso_photo(), and zero().
double t_thermal::heatnt[NCOLNT] |
Definition at line 91 of file thermal.h.
Referenced by CoolAdd(), CoolPunch(), CoolSum(), CoolZero(), dmpary(), fndneg(), fndstr(), HeatPunch(), and map_do().
Definition at line 177 of file thermal.h.
Referenced by PunchDo(), and PutHetCol().
double t_thermal::htot |
total heat input to this zone
Definition at line 146 of file thermal.h.
Referenced by cdHeating_last(), ChargTranSumHeat(), CO_PopsEmisCool(), ContRate(), ConvBase(), ConvEdenIoniz(), ConvFail(), ConvInitSolution(), ConvIoniz(), ConvTempEdenIoniz(), CoolEvaluate(), CoolHeatError(), CoolPunch(), CoolSum(), dmpary(), DynaIonize(), DynaPunch(), fndneg(), GrainRateDr(), H2_LevelPops(), H2_PunchDo(), HeatPunch(), highen(), lgCheckAsserts(), lgConvTemp(), lgCoolHeatCheckConverge(), lgCoolNetConverge(), lines(), lines_general(), lines_grains(), lines_molecules(), MakeDeriv(), map_do(), PrtZone(), PunchDo(), radius_increment(), radius_next(), TeBrent(), and zero().
long int t_thermal::ipGrid |
Definition at line 181 of file thermal.h.
Referenced by PutHetCol().
long int t_thermal::ipHeatlmax |
Definition at line 171 of file thermal.h.
Referenced by GetMaxhLine(), and PrtComment().
long int t_thermal::ipMaxExtra |
Definition at line 140 of file thermal.h.
Referenced by lines(), and PrtComment().
long int t_thermal::levlmax |
Definition at line 171 of file thermal.h.
Referenced by GetMaxhLine(), and PrtComment().
bool t_thermal::lgCExtraOn |
info about 'extra' cooling, lgCextOn says it is on
Definition at line 128 of file thermal.h.
Referenced by CoolEvaluate(), ParseCommands(), and zero().
bool t_thermal::lgCNegChk |
flag set true during cooling map, saying to keep cool even if cooling is negative
Definition at line 99 of file thermal.h.
Referenced by CoolEvaluate(), map_do(), and zero().
bool t_thermal::lgCoolEvalOK |
this flag indicates (true) that we are between when cooling was set to zero with call to CoolZero, and when final sum was used. Any call after final summation in CoolSum, where set (false), would be ignored and so is fatal error
Definition at line 136 of file thermal.h.
Referenced by CoolAdd(), CoolSum(), and CoolZero().
bool t_thermal::lgEdnGTcm |
flag set if energy density of rad field greater tha compton temp - this is unphysical but could be set by users
Definition at line 68 of file thermal.h.
Referenced by PrtComment(), and PrtHeader().
bool t_thermal::lgPredNextTe |
flag saying whether to use temperature predictor for next zone, in constant density models
Definition at line 31 of file thermal.h.
Referenced by advection_set_detault(), InitDefaultsPreparse(), ParseDont(), and ZoneStart().
bool t_thermal::lgTeBD96 |
flag to do Berltodi & Draine simple temperature law, set with tlaw bd96
Definition at line 75 of file thermal.h.
Referenced by ConvTempEdenIoniz(), InitDefaultsPreparse(), and ParseTLaw().
bool t_thermal::lgTeHigh |
flag set if temperature map is from hot to cool, set with high command
Definition at line 63 of file thermal.h.
Referenced by ConvInitSolution(), InitDefaultsPreparse(), map_do(), and ParseCommands().
bool t_thermal::lgTemperatureConstant |
normally false, is set true if constant temperature model is assumed, this can be because the temperature floor was hit
Definition at line 35 of file thermal.h.
Referenced by ContSetIntensity(), ConvBase(), ConvTempEdenIoniz(), CoolEvaluate(), DynaEndIter(), H2_LevelPops(), InitDefaultsPreparse(), iter_end_check(), IterRestart(), lgConvTemp(), MakeDeriv(), ParseConstant(), ParseCoronal(), ParseTLaw(), PrtComment(), PunchLineData(), radius_next(), RT_tau_init(), and TempChange().
bool t_thermal::lgTemperatureConstantCommandParsed |
set true when command parser sees constant temperature assumption, not set true when temperature floor is hit. distinguishes between true constant temperature sim, and one where floor was hit
Definition at line 41 of file thermal.h.
Referenced by InitDefaultsPreparse(), IterRestart(), ParseConstant(), ParseCoronal(), and ParseTLaw().
bool t_thermal::lgTeSN99 |
Definition at line 83 of file thermal.h.
Referenced by ConvTempEdenIoniz(), InitDefaultsPreparse(), and ParseTLaw().
bool t_thermal::lgTLaw |
flag saying that temperature law has been specified with tlaw command
Definition at line 71 of file thermal.h.
Referenced by ConvTempEdenIoniz(), InitDefaultsPreparse(), and ParseTLaw().
bool t_thermal::lgUnstable |
Definition at line 56 of file thermal.h.
Referenced by ConvTempEdenIoniz(), InitSimPostparse(), IterRestart(), IterStart(), PrtZone(), and radius_increment().
long int t_thermal::ncltot |
Definition at line 93 of file thermal.h.
Referenced by CoolAdd(), CoolPunch(), CoolSum(), CoolZero(), dmpary(), fndneg(), fndstr(), HeatPunch(), and map_do().
long int t_thermal::nUnstable |
keep track of possibly thermally unstable models nUnstable is number of zones that were possibly thermally unstable lgUnstable says that current conditions possibly unstable
Definition at line 55 of file thermal.h.
Referenced by InitSimPostparse(), IterRestart(), IterStart(), PrtComment(), and radius_increment().
long int t_thermal::nZonGrid[NGRID] |
Definition at line 181 of file thermal.h.
Referenced by PunchDo(), and PutHetCol().
double t_thermal::power |
total energy input over calculated structure, updated in lines
Definition at line 146 of file thermal.h.
Referenced by badprt(), IterStart(), lines(), PrtComment(), PrtFinal(), and zero().
realnum t_thermal::SigmaBD96 |
the coefficient on column density for temp drop off
Definition at line 77 of file thermal.h.
Referenced by ConvTempEdenIoniz(), and ParseTLaw().
realnum t_thermal::T0BD96 |
the initial temperature in their equation
Definition at line 77 of file thermal.h.
Referenced by ConvTempEdenIoniz(), and ParseTLaw().
realnum t_thermal::T0SN99 |
these incorporate the Sternberg & Neufeld density/temperature relationship
Definition at line 82 of file thermal.h.
Referenced by ConvTempEdenIoniz(), and ParseTLaw().
double t_thermal::te_update |
this is set to phycon.te in tfidle, is used to insure that all temp vars are properly updated when conv_ionizeopacitydo is called NB must be same type as phycon.te
Definition at line 125 of file thermal.h.
Referenced by ConvBase(), and tfidle().
Definition at line 177 of file thermal.h.
Referenced by PunchDo(), and PutHetCol().
realnum t_thermal::thist |
remember the highest and lowest temperature that occurs in the model
Definition at line 59 of file thermal.h.
Referenced by ConvTempEdenIoniz(), InitSimPostparse(), IterStart(), PrtComment(), and PrtFinal().
realnum t_thermal::tlowst |
Definition at line 59 of file thermal.h.
Referenced by ConvTempEdenIoniz(), InitSimPostparse(), IterStart(), and PrtFinal().
double t_thermal::totcol |
integrated cooling over model
Definition at line 107 of file thermal.h.
Referenced by IterStart(), lines(), PrtComment(), PrtFinal(), and zero().
double t_thermal::tsq1 |
derivative of cooling, 1/te^2, .5/T
Definition at line 119 of file thermal.h.
Referenced by atom_level2(), atom_level3(), atom_levelN(), AtomSeqBeryllium(), AtomSeqBoron(), CoolArgo(), CoolCarb(), CoolChlo(), CoolIron(), CoolNeon(), CoolNitr(), CoolOxyg(), CoolSulf(), FeIILevelPops(), hmole_step(), iso_cool(), and tfidle().
realnum t_thermal::wlCoolHeatMax |
Definition at line 103 of file thermal.h.
Referenced by CoolSum(), PrtComment(), and zero().