Cloudy
Spectral Synthesis Code for Astrophysics
|
Go to the source code of this file.
Functions | |
void | CoolZero (void) |
void | CoolAdd (const char *chLabel, realnum xlambda, double cool) |
void | CoolSum (double *total) |
void | CoolEvaluate (double *tot) |
void | coolpr (FILE *io, const char *chLabel, realnum lambda, double ratio, const char *chJOB) |
void | HeatSum (void) |
void | SecIoniz (void) |
void | HeatZero (void) |
void | CoolDima (void) |
Variables | |
const bool | lgConvBaseHeatTest =false |
void CoolAdd | ( | const char * | chLabel, |
realnum | xlambda, | ||
double | cool ) |
CoolAdd add coolants to the cooling stack, called in evaluation of cooling function
*chLabel | |
xlambda | |
cool |
References ASSERT, DEBUG_ENTRY, MAX2, NCOLNT, NCOLNT_LAB_LEN, and thermal.
Referenced by atom_level2(), CoolEvaluate(), dBase_solve(), and iso_cool().
void CoolDima | ( | void | ) |
References atmdat, atom_level2(), ColStrGBar(), cs1_flag_lev2, DEBUG_ENTRY, dense, GetDopplerWidth(), ipHYDROGEN, LIMELM, NISO, nWindLine, PutCS(), RT_line_one_escape(), TauLine2, and thermal.
Referenced by CoolEvaluate().
void CoolEvaluate | ( | double * | tot | ) |
CoolEvaluate main routine to call others, to evaluate total cooling
tot | total cooling |
References ASSERT, atmdat, t_gaunt::brems_cool(), t_gaunt::brems_sum_ions(), called, cdEXIT, conv, CoolAdd(), CoolDima(), CoolH2_GA08(), CoolHeavy, CoolHyperfine(), CoolSum(), CoolZero(), dBase_solve(), dBaseSpecies, dBaseTrim(), dBaseUpdateCollCoeffs(), DEBUG_ENTRY, t_brems_den::den_Hep, t_brems_den::den_Hepp, t_brems_den::den_Hm, t_brems_den::den_Hp, t_brems_den::den_ion, dense, diatoms, dynamics, eeBremsCooling(), EXIT_FAILURE, exp10(), findspecieslocal(), fixit, fndneg(), fndstr(), fnzone, fprintf(), gv, h2, hd, hmi, Singleton< t_gaunt >::Inst(), ionbal, ioQQQ, ipH_LIKE, ipHYDROGEN, ipLITHIUM, iso_cool(), iso_sp, iteration, lgMustPrintHeader, LIMELM, magnetic, MAX2, min(), MIN2, mole, mole_global, NISO, nSpecies, nzone, opac, phycon, pow(), pow2, pressure, PRT_DERIV, radius, rfield, scalingDensity(), SDIV(), ShowMe(), TempChange(), thermal, TotalInsanity(), trace, and wind.
Referenced by ConvBase(), ConvEdenIoniz(), RT_tau_inc(), and SaveLineData().
void coolpr | ( | FILE * | io, |
const char * | chLabel, | ||
realnum | lambda, | ||
double | ratio, | ||
const char * | chJOB ) |
coolpr stores coolants before block printed, when printing cooling agents
*io | the label for the coolant |
*chLabel | |
lambda | the wavelength |
ratio | the ratio of this coolant, to total cooling, may be negative |
*chJOB | which job, either ZERO, DOIT, or DONE |
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, MIN2, NCOLNT_LAB_LEN, NCOLSAV, and ShowMe().
Referenced by dmpary(), fndstr(), and map_do().
void CoolSum | ( | double * | total | ) |
CoolSum total cooling from all entries into cooling stack
References dBaseTrans, DEBUG_ENTRY, DumpLine(), fprintf(), ioQQQ, NISO, nSpecies, nWindLine, TauLine2, and thermal.
Referenced by CoolEvaluate().
void CoolZero | ( | void | ) |
CoolZero set cooling and heating stack to zero
References DEBUG_ENTRY, ionbal, LIMELM, NCOLNT, and thermal.
Referenced by CoolEvaluate(), and t_thermal::zero().
void HeatSum | ( | void | ) |
HeatSum evaluate all heating agents to determine total heating for this zone, called at end of ionize
References ASSERT, called, cdEXIT, conv, CoolHeavy, DEBUG_ENTRY, molezone::den, dense, diatoms, ElectronFractions(), EXIT_FAILURE, FAINT_HEAT, findspecieslocal(), fixit, fprintf(), gv, Heavy, hmi, ionbal, ioQQQ, ipCARBON, ipH_LIKE, ipHELIUM, ipHYDROGEN, ipOXYGEN, iso_sp, lgConvBaseHeatTest, LIMELM, MAX2, MIN2, NISO, nzone, phycon, PRT_DERIV, rfield, save, SecIoniz(), secondaries, ShowMe(), thermal, and trace.
Referenced by ConvBase(), and ConvEdenIoniz().
void HeatZero | ( | void | ) |
HeatZero zeroes out the heating array, called at start of ionize
References DEBUG_ENTRY, LIMELM, and thermal.
Referenced by ConvBase(), and t_thermal::zero().
void SecIoniz | ( | void | ) |
References ASSERT, DEBUG_ENTRY, molezone::den, dense, ElectronFractions(), findspecieslocal(), fixit, fprintf(), Heavy, ionbal, ioQQQ, ipCARBON, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, ipOXYGEN, iso_sp, LIMELM, MAX2, MIN2, NISO, pow(), SDIV(), secondaries, SMALLFLOAT, and trace.
Referenced by ConvBase(), and HeatSum().
const bool lgConvBaseHeatTest =false |
Referenced by ConvBase(), ConvEdenIoniz(), and HeatSum().