#include <thermal.h>
Data Fields | |
bool | lgPredNextTe |
bool | lgTemperatureConstant |
bool | lgTemperatureConstantCommandParsed |
realnum | ConstTemp |
realnum | ConstGrainTemp |
long int | nUnstable |
bool | lgUnstable |
realnum | thist |
realnum | tlowst |
bool | lgTeHigh |
bool | lgEdnGTcm |
bool | lgTLaw |
bool | lgTeBD96 |
realnum | T0BD96 |
realnum | SigmaBD96 |
realnum | T0SN99 |
bool | lgTeSN99 |
realnum | collam [NCOLNT] |
double | cooling [NCOLNT] |
double | heatnt [NCOLNT] |
long int | ncltot |
char | chClntLab [NCOLNT][NCOLNT_LAB_LEN+1] |
double | elementcool [LIMELM+1] |
double | dima |
bool | lgCNegChk |
realnum | CoolHeatMax |
realnum | wlCoolHeatMax |
char | chCoolHeatMax [NCOLNT_LAB_LEN+1] |
double | totcol |
double | ctot |
double | heatl |
double | coolheat |
double | dCooldT |
double | tsq1 |
double | halfte |
double | te_update |
bool | lgCExtraOn |
realnum | CoolExtra |
realnum | cextpw |
bool | lgCoolEvalOK |
realnum | GBarMax |
long int | ipMaxExtra |
double | char_tran_heat |
double | char_tran_cool |
double | htot |
double | power |
double | dHeatdT |
double | heating [LIMELM][LIMELM] |
double | FreeFreeTotHeat |
realnum | HeatLineMax |
Definition at line 24 of file thermal.h.
Definition at line 132 of file thermal.h.
Referenced by CoolEvaluate(), and ParseCExtra().
double t_thermal::char_tran_cool |
Definition at line 146 of file thermal.h.
Referenced by ConvBase(), CoolEvaluate(), CoolSave(), lines_general(), and zero().
double t_thermal::char_tran_heat |
heating - cooling due to charge transfer ionization / recombination
Definition at line 146 of file thermal.h.
Referenced by ConvBase(), HeatSum(), lines_general(), and zero().
char t_thermal::chClntLab[NCOLNT][NCOLNT_LAB_LEN+1] |
Definition at line 92 of file thermal.h.
Referenced by CoolAdd(), CoolSave(), CoolSum(), dmpary(), DumpCoolStack(), fndneg(), fndstr(), map_do(), and SaveHeat().
char t_thermal::chCoolHeatMax[NCOLNT_LAB_LEN+1] |
Definition at line 107 of file thermal.h.
Referenced by CoolSum(), and PrtComment().
realnum t_thermal::collam[NCOLNT] |
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 87 of file thermal.h.
Referenced by CoolAdd(), CoolSave(), CoolSum(), dmpary(), DumpCoolStack(), fndneg(), fndstr(), map_do(), and SaveHeat().
constant grain temperature
Definition at line 47 of file thermal.h.
Referenced by GrainMakeDiffuse(), GrainsInit(), GrainTemperature(), InitDefaultsPreparse(), ParseCommands(), and ParseConstant().
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 44 of file thermal.h.
Referenced by AbundancesSet(), ContSetIntensity(), ConvInitSolution(), DynaIterEnd(), InitDefaultsPreparse(), iter_end_check(), IterRestart(), lgConserveEnergy(), lgCoolNetConverge(), ParseCommands(), ParseConstant(), ParseCoronal(), ParseForceTemperature(), PrtComment(), SaveLineData(), and TempChange().
Definition at line 132 of file thermal.h.
Referenced by CoolEvaluate(), ParseCExtra(), and zero().
double t_thermal::coolheat |
max of negative coolants, and a pointer to it
Definition at line 105 of file thermal.h.
Referenced by CoolSum(), IterStart(), PrtComment(), and zero().
double t_thermal::cooling[NCOLNT] |
Definition at line 88 of file thermal.h.
Referenced by CoolAdd(), CoolEvaluate(), CoolSave(), CoolSum(), CoolZero(), dmpary(), DumpCoolStack(), fndneg(), fndstr(), iso_cool(), and map_do().
double t_thermal::ctot |
cooling in this zone
Definition at line 110 of file thermal.h.
Referenced by cdCooling_last(), ConvBase(), ConvFail(), ConvInitSolution(), ConvIoniz(), ConvTempEdenIoniz(), CoolEvaluate(), CoolHeatError(), CoolSave(), CoolSum(), dmpary(), DumpCoolStack(), DynaIterEnd(), DynaPrtZone(), Fe2_cooling(), fndstr(), GrainChargeTemp(), GrainDrive(), diatomics::H2_Cooling(), diatomics::H2_LevelPops(), diatomics::H2_PunchDo(), HeatSum(), iso_cool(), IterStart(), lgCheckMonitors(), lgConvTemp(), lgCoolHeatCheckConverge(), lgCoolNetConverge(), lines(), lines_general(), lines_molecules(), map_do(), radius_first(), radius_increment(), RT_tau_inc(), SaveDo(), SaveHeat(), and zero().
double t_thermal::dCooldT |
derivative of cooling wrt temperature
Definition at line 119 of file thermal.h.
Referenced by atom_level2(), atom_level3(), AtomSeqBeryllium(), AtomSeqBoron(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolEvaluate(), CoolNeon(), CoolNitr(), CoolOxyg(), CoolSulf(), CoolZero(), dBase_solve(), Fe2_cooling(), Fe3Lev14(), Fe4Lev12(), iso_cool(), lgCoolNetConverge(), map_do(), and SaveDo().
double t_thermal::dHeatdT |
derivative of total heating in this zone, evaluated in SumHeat
Definition at line 149 of file thermal.h.
Referenced by CoolEvaluate(), CoolZero(), HeatSum(), lgCoolNetConverge(), and map_do().
double t_thermal::dima |
Definition at line 98 of file thermal.h.
Referenced by CoolEvaluate(), CoolSave(), and CoolZero().
double t_thermal::elementcool[LIMELM+1] |
Definition at line 95 of file thermal.h.
Referenced by CoolEvaluate(), CoolSave(), CoolZero(), dBase_solve(), and iso_cool().
double t_thermal::FreeFreeTotHeat |
total free free heating integrated over model
Definition at line 161 of file thermal.h.
Referenced by IterRestart(), IterStart(), lines(), PrtComment(), PrtFinal(), and zero().
value of, and pointer to, strongest g-bar cooling line
Definition at line 142 of file thermal.h.
Referenced by IterStart(), lines(), and PrtComment().
double t_thermal::halfte |
Definition at line 122 of file thermal.h.
Referenced by atom_level2(), atom_level3(), atom_levelN(), atom_pop5(), AtomSeqBeryllium(), AtomSeqBoron(), CoolCarb(), CoolChlo(), CoolEvaluate(), CoolNeon(), CoolNitr(), CoolOxyg(), FeIILevelPops(), iso_cool(), mole_effects(), and tfidle().
double t_thermal::heating[LIMELM][LIMELM] |
heating per unit vol, erg cm^-3 s^-1, heating[nelem][ion]
Definition at line 158 of file thermal.h.
Referenced by CoolEvaluate(), CoolSum(), dBase_solve(), DumpHeatStack(), Fe2_cooling(), fndstr(), GrainDrive(), GrainMakeDiffuse(), GrainsInit(), HeatSum(), HeatZero(), highen(), ion_photo(), ion_trim(), ion_zero(), iso_cool(), IterRestart(), IterStart(), lines(), lines_general(), lines_grains(), lines_molecules(), map_do(), mole_effects(), PrtZone(), radius_next(), SaveDo(), SaveHeat(), and store_new_densities().
double t_thermal::heatl |
HeatLineMax is largest fractional heating due to lines
Definition at line 164 of file thermal.h.
Referenced by IterStart(), lines_general(), and PrtComment().
double t_thermal::heatnt[NCOLNT] |
Definition at line 88 of file thermal.h.
Referenced by CoolAdd(), CoolSave(), CoolSum(), CoolZero(), dmpary(), DumpCoolStack(), fndneg(), fndstr(), HeatSum(), map_do(), and SaveHeat().
double t_thermal::htot |
total heat input to this zone
Definition at line 149 of file thermal.h.
Referenced by cdHeating_last(), ChargTranSumHeat(), ContRate(), ConvBase(), ConvFail(), ConvInitSolution(), ConvIoniz(), ConvTempEdenIoniz(), CoolEvaluate(), CoolHeatError(), CoolSave(), CoolSum(), dmpary(), DumpHeatStack(), DynaIonize(), DynaSave(), fndneg(), GrainRateDr(), diatomics::H2_LevelPops(), diatomics::H2_PunchDo(), HeatSum(), highen(), lgCheckMonitors(), lgConvTemp(), lgCoolHeatCheckConverge(), lgCoolNetConverge(), lines(), lines_general(), lines_grains(), lines_molecules(), map_do(), PrtZone(), radius_increment(), radius_next(), SaveDo(), SaveHeat(), and zero().
long int t_thermal::ipMaxExtra |
Definition at line 143 of file thermal.h.
Referenced by lines(), and PrtComment().
info about 'extra' cooling, lgCextOn says it is on
Definition at line 131 of file thermal.h.
Referenced by CoolEvaluate(), ParseCExtra(), and zero().
bool t_thermal::lgCNegChk |
flag set true during cooling map, saying to keep cool even if cooling is negative
Definition at line 102 of file thermal.h.
Referenced by CoolEvaluate(), map_do(), and zero().
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 139 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 65 of file thermal.h.
Referenced by PrtComment(), and PrtHeader().
flag saying whether to use temperature predictor for next zone, in constant density models
Definition at line 28 of file thermal.h.
Referenced by advection_set_default(), InitDefaultsPreparse(), ParseDont(), and ZoneStart().
bool t_thermal::lgTeBD96 |
flag to do Berltodi & Draine simple temperature law, set with tlaw bd96
Definition at line 72 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 60 of file thermal.h.
Referenced by ConvInitSolution(), InitDefaultsPreparse(), map_do(), and ParseConvHighT().
normally false, is set true if constant temperature model is assumed, this can be because the temperature floor was hit
Definition at line 32 of file thermal.h.
Referenced by ContSetIntensity(), ConvBase(), ConvInitSolution(), ConvTempEdenIoniz(), CoolEvaluate(), CoolHeatError(), DynaIterEnd(), diatomics::H2_LevelPops(), HeatSum(), InitDefaultsPreparse(), iter_end_check(), IterRestart(), lgConserveEnergy(), lgConvTemp(), ParseConstant(), ParseCoronal(), ParseTLaw(), PrtComment(), radius_next(), RT_tau_init(), SaveLineData(), and TempChange().
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 38 of file thermal.h.
Referenced by InitDefaultsPreparse(), IterRestart(), ParseConstant(), ParseCoronal(), and ParseTLaw().
bool t_thermal::lgTeSN99 |
Definition at line 80 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 68 of file thermal.h.
Referenced by ConvTempEdenIoniz(), InitDefaultsPreparse(), and ParseTLaw().
Definition at line 53 of file thermal.h.
Referenced by ConvTempEdenIoniz(), InitSimPostparse(), IterRestart(), IterStart(), PrtZone(), and radius_increment().
long int t_thermal::ncltot |
Definition at line 90 of file thermal.h.
Referenced by CoolAdd(), CoolEvaluate(), CoolSave(), CoolSum(), CoolZero(), dmpary(), DumpCoolStack(), fndneg(), fndstr(), HeatSum(), iso_cool(), map_do(), and SaveHeat().
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 52 of file thermal.h.
Referenced by InitSimPostparse(), IterRestart(), IterStart(), PrtComment(), and radius_increment().
double t_thermal::power |
total energy input over calculated structure, updated in lines
Definition at line 149 of file thermal.h.
Referenced by badprt(), IterStart(), lgConserveEnergy(), lines(), PrtComment(), PrtFinal(), and zero().
the coefficient on column density for temp drop off
Definition at line 74 of file thermal.h.
Referenced by ConvTempEdenIoniz(), and ParseTLaw().
the initial temperature in their equation
Definition at line 74 of file thermal.h.
Referenced by ConvTempEdenIoniz(), and ParseTLaw().
these incorporate the Sternberg & Neufeld density/temperature relationship
Definition at line 79 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 128 of file thermal.h.
Referenced by ConvBase(), and tfidle().
remember the highest and lowest temperature that occurs in the model
Definition at line 56 of file thermal.h.
Referenced by ConvPresTempEdenIoniz(), InitSimPostparse(), IterStart(), PrtComment(), and PrtFinal().
Definition at line 56 of file thermal.h.
Referenced by ConvPresTempEdenIoniz(), InitSimPostparse(), IterStart(), and PrtFinal().
double t_thermal::totcol |
integrated cooling over model
Definition at line 110 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 122 of file thermal.h.
Referenced by atom_level2(), atom_level3(), atom_levelN(), atom_pop5(), AtomSeqBeryllium(), AtomSeqBoron(), CoolArgo(), CoolCarb(), CoolChlo(), CoolNeon(), CoolNitr(), CoolOxyg(), FeIILevelPops(), iso_cool(), mole_effects(), and tfidle().
Definition at line 106 of file thermal.h.
Referenced by CoolSum(), PrtComment(), and zero().