cloudy trunk
Loading...
Searching...
No Matches
cool_eval.cpp File Reference
#include "cddefines.h"
#include "physconst.h"
#include "hydrogenic.h"
#include "taulines.h"
#include "wind.h"
#include "coolheavy.h"
#include "radius.h"
#include "conv.h"
#include "h2.h"
#include "rt.h"
#include "doppvel.h"
#include "opacity.h"
#include "ionbal.h"
#include "dense.h"
#include "trace.h"
#include "dynamics.h"
#include "rfield.h"
#include "grainvar.h"
#include "atmdat.h"
#include "atoms.h"
#include "called.h"
#include "mole.h"
#include "hmi.h"
#include "numderiv.h"
#include "magnetic.h"
#include "phycon.h"
#include "lines_service.h"
#include "hyperfine.h"
#include "iso.h"
#include "thermal.h"
#include "cooling.h"
#include "pressure.h"
Include dependency graph for cool_eval.cpp:

Go to the source code of this file.

Macros

#define N21CM_TE   16
#define EPS   0.01

Functions

STATIC void fndneg (void)
STATIC void fndstr (double tot, double dc)
void CoolEvaluate (double *tot)

Variables

static const bool PRT_DERIV = false

Macro Definition Documentation

◆ EPS

#define EPS   0.01

Definition at line 1090 of file cool_eval.cpp.

Referenced by dmpary(), fndneg(), fndstr(), iter_end_check(), and map_do().

◆ N21CM_TE

#define N21CM_TE   16

Referenced by CoolEvaluate().

Function Documentation

◆ CoolEvaluate()

void CoolEvaluate ( double * tot)

CoolEvaluate main routine to call others, to evaluate total cooling

Parameters
tottotal cooling

Definition at line 45 of file cool_eval.cpp.

References ASSERT, atmdat, atom_level2(), BOLTZMANN, called, cdEXIT, conv, CoolAdd(), CoolAlum(), CoolArgo(), CoolCalc(), CoolCarb(), CoolChlo(), CoolChro(), CoolCoba(), CoolDima(), CoolHeavy, CoolIron(), CoolMagn(), CoolNeon(), CoolNick(), CoolNitr(), CoolOxyg(), CoolPhos(), CoolPota(), CoolScan(), CoolSili(), CoolSodi(), CoolSulf(), CoolSum(), CoolZero(), dBase_solve(), dBaseSpecies, DEBUG_ENTRY, molezone::den, dense, diatoms, dynamics, EN1RYD, EXIT_FAILURE, findspecieslocal(), fixit(), fndneg(), fndstr(), fnzone, fp_equal(), GetDopplerWidth(), gv, h2, H21_cm_pops(), H21cm_electron(), H21cm_H_atom(), H21cm_proton(), hd, HFLines, hmi, hydro, hyperfine, HyperfineCS(), ionbal, ioQQQ, ipALUMINIUM, ipARGON, ipCALCIUM, ipCARBON, ipCHLORINE, ipCHROMIUM, ipCOBALT, ipH1s, ipH_LIKE, ipHELIUM, ipHYDROGEN, ipIRON, ipLITHIUM, ipMAGNESIUM, ipNEON, ipNICKEL, ipNITROGEN, ipOXYGEN, ipPHOSPHORUS, ipPOTASSIUM, ipSCANDIUM, ipSILICON, ipSODIUM, ipSULPHUR, iso_cool(), iso_sp, iteration, lgMustPrintHeader, LIMELM, magnetic, MAX2, MIN2, mole, mole_global, N21CM_TE, nHFLines, NISO, nSpecies, NumDeriv, nzone, opac, phycon, PI8, POW2, pressure, PRT_DERIV, PutCS(), radius, rfield, RT_line_one(), save, scalingDensity(), SDIV(), sexp(), ShowMe(), SMALLFLOAT, TempChange(), thermal, TotalInsanity(), trace, and wind.

Referenced by ConvBase(), RT_tau_inc(), and SaveLineData().

Here is the call graph for this function:

◆ fndneg()

STATIC void fndneg ( void )

Definition at line 1093 of file cool_eval.cpp.

References DEBUG_ENTRY, EPS, ioQQQ, STATIC, and thermal.

Referenced by CoolEvaluate().

◆ fndstr()

STATIC void fndstr ( double tot,
double dc )

Definition at line 1121 of file cool_eval.cpp.

References ASSERT, coolpr(), DEBUG_ENTRY, dense, EPS, ioQQQ, NCOLNT_LAB_LEN, nzone, phycon, STATIC, thermal, and trace.

Referenced by CoolEvaluate().

Here is the call graph for this function:

Variable Documentation

◆ PRT_DERIV

const bool PRT_DERIV = false
static

Definition at line 43 of file cool_eval.cpp.

Referenced by CoolEvaluate(), and HeatSum().