Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cool_etc.cpp File Reference
#include "cddefines.h"
#include "taulines.h"
#include "thermal.h"
#include "ionbal.h"
#include "cooling.h"
Include dependency graph for cool_etc.cpp:

Functions

void CoolAdd (const char *chLabel, realnum lambda, double cool)
 
void CoolZero (void)
 
void CoolSum (double *total)
 

Function Documentation

void CoolAdd ( const char *  chLabel,
realnum  xlambda,
double  cool 
)

CoolAdd add coolants to the cooling stack, called in evaluation of cooling function

Parameters
*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().