Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
mole_drive.cpp File Reference
#include "cddefines.h"
#include "dense.h"
#include "hmi.h"
#include "thermal.h"
#include "iso.h"
#include "ion_trim.h"
#include "phycon.h"
#include "radius.h"
#include "secondaries.h"
#include "timesc.h"
#include "trace.h"
#include "co.h"
#include "h2.h"
#include "mole_priv.h"
#include "mole.h"
#include "freebound.h"
Include dependency graph for mole_drive.cpp:

Functions

STATIC void mole_effects (void)
 
STATIC void mole_h_rate_diagnostics (void)
 
STATIC void mole_update_limiting_reactants ()
 
void mole_drive (void)
 
void mole_update_sources (void)
 

Variables

static const double MOLETOLER = 0.10
 

Function Documentation

◆ mole_drive()

void mole_drive ( void )

mole_drive main driver for chemical equilibrium routines

References DEBUG_ENTRY, mole_effects(), mole_ion_trim(), mole_solve(), mole_update_limiting_reactants(), mole_update_rks(), mole_update_species_cache(), and MOLETOLER.

Referenced by ConvBase().

Here is the call graph for this function:

◆ mole_effects()

◆ mole_h_rate_diagnostics()

STATIC void mole_h_rate_diagnostics ( void )

total H2 creation rate, cm-3 s-1

References molezone::den, dense, findnuclide(), findspecieslocal(), fnzone, fprintf(), frac_H2star_hminus(), h2, hmi, ioQQQ, ipH1s, ipH_LIKE, ipHELIUM, ipHYDROGEN, iso_sp, mole, mole_global, nuclide_list, nzone, phycon, SDIV(), secondaries, SMALLFLOAT, molezone::snk, STATIC, and trace.

Referenced by mole_effects().

Here is the call graph for this function:

◆ mole_update_limiting_reactants()

STATIC void mole_update_limiting_reactants ( )

References DEBUG_ENTRY, dense, mole, mole_global, null_nuclide, and STATIC.

Referenced by mole_drive().

◆ mole_update_sources()

void mole_update_sources ( void )

References DEBUG_ENTRY, mole_eval_sources(), mole_global, and mole_update_species_cache().

Referenced by ConvBase().

Here is the call graph for this function:

Variable Documentation

◆ MOLETOLER

const double MOLETOLER = 0.10
static

Referenced by mole_drive().