Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
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

◆ CoolAdd()

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, DEBUG_ENTRY, MAX2, NCOLNT, NCOLNT_LAB_LEN, and thermal.

Referenced by atom_level2(), CoolEvaluate(), dBase_solve(), and iso_cool().

◆ CoolSum()

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

Here is the call graph for this function:

◆ CoolZero()

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