Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
heat_sum.cpp File Reference
#include "cddefines.h"
#include "thermal.h"
#include "heavy.h"
#include "trace.h"
#include "secondaries.h"
#include "conv.h"
#include "called.h"
#include "coolheavy.h"
#include "iso.h"
#include "h2.h"
#include "hmi.h"
#include "ionbal.h"
#include "phycon.h"
#include "grainvar.h"
#include "deuterium.h"
#include "mole.h"
#include "dense.h"
#include "cooling.h"
#include "rfield.h"
Include dependency graph for heat_sum.cpp:

Functions

STATIC void ElectronFractions (realnum &ElectronFraction, realnum &xValenceDonorDensity)
 
void SecIoniz (void)
 
void HeatSum (void)
 
void HeatZero (void)
 

Variables

static const double FAINT_HEAT = 0.02
 
static const bool PRT_DERIV = false
 

Function Documentation

◆ ElectronFractions()

STATIC void ElectronFractions ( realnum & ElectronFraction,
realnum & xValenceDonorDensity )

total number of neutral colliders (atoms & molecules)

References dense, deut, fprintf(), ioQQQ, ipARGON, ipHELIUM, ipHYDROGEN, ipKRYPTON, ipNEON, LIMELM, MAX2, MIN2, mole, mole_global, NULL, and STATIC.

Referenced by HeatSum(), and SecIoniz().

Here is the call graph for this function:

◆ HeatSum()

void HeatSum ( void )

HeatSum evaluate all heating agents to determine total heating for this zone, called at end of ionize

Todo
1 add part of hard heat to secondaries

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

Here is the call graph for this function:

◆ HeatZero()

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

◆ SecIoniz()

void SecIoniz ( void )
Todo
2 find correct high-energy limit for these

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

Here is the call graph for this function:

Variable Documentation

◆ FAINT_HEAT

const double FAINT_HEAT = 0.02
static

Referenced by HeatSum().

◆ PRT_DERIV

const bool PRT_DERIV = false
static