Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"
#include "taulines.h"
#include "thermal.h"
#include "ionbal.h"
#include "cooling.h"
Functions | |
void | CoolAdd (const char *chLabel, realnum lambda, double cool) |
void | CoolZero (void) |
void | CoolSum (double *total) |
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, t_thermal::chClntLab, t_thermal::collam, t_thermal::cooling, DEBUG_ENTRY, t_thermal::heatnt, t_thermal::lgCoolEvalOK, MAX2, t_thermal::ncltot, NCOLNT, NCOLNT_LAB_LEN, and thermal.
Referenced by atom_level2(), CoolEvaluate(), dBase_solve(), and iso_cool().
void CoolSum | ( | double * | total | ) |
CoolSum total cooling from all entries into cooling stack
References t_thermal::chClntLab, t_thermal::chCoolHeatMax, t_thermal::collam, t_thermal::coolheat, t_thermal::CoolHeatMax, t_thermal::cooling, t_thermal::ctot, dBaseTrans, DEBUG_ENTRY, DumpLine(), fprintf(), t_thermal::heatl, t_thermal::heatnt, t_thermal::htot, ioQQQ, t_thermal::lgCoolEvalOK, t_thermal::ncltot, NISO, nSpecies, nWindLine, t_thermal::setHeating(), TauLine2, thermal, and t_thermal::wlCoolHeatMax.
Referenced by CoolEvaluate().
void CoolZero | ( | void | ) |
CoolZero set cooling and heating stack to zero
References t_thermal::cooling, t_thermal::dCooldT, DEBUG_ENTRY, t_thermal::dHeatdT, t_thermal::dima, t_thermal::elementcool, t_ionbal::ExcitationGround, t_thermal::heatnt, ionbal, t_thermal::lgCoolEvalOK, LIMELM, t_thermal::ncltot, NCOLNT, and thermal.
Referenced by CoolEvaluate(), and t_thermal::zero().