Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
abundances.cpp File Reference
#include "cddefines.h"
#include "phycon.h"
#include "called.h"
#include "stopcalc.h"
#include "thermal.h"
#include "trace.h"
#include "elementnames.h"
#include "dense.h"
#include "radius.h"
#include "grainvar.h"
#include "abund.h"
#include "deuterium.h"
#include "physconst.h"
Include dependency graph for abundances.cpp:

Macros

#define NELEM1LINE   9
 

Functions

STATIC void PrtElem (const char *chJob, const char *chLabl, double abund_prt)
 
void AbundancesPrt (void)
 
void AbundancesSet (void)
 

Macro Definition Documentation

◆ NELEM1LINE

#define NELEM1LINE   9

Referenced by PrtElem().

Function Documentation

◆ AbundancesPrt()

void AbundancesPrt ( void )

AbundancesPrt print all abundances, both gas phase and grains

References abund, called, DEBUG_ENTRY, dense, elementnames, fprintf(), gv, ioQQQ, ipHYDROGEN, LIMELM, MAT_CAR, MAT_CAR2, MAT_PAH, MAT_PAH2, MAT_SIC, MAT_SIL, MAT_SIL2, MAX2, PrtElem(), SMALLFLOAT, and TotalInsanity().

Referenced by cloudy().

Here is the call graph for this function:

◆ AbundancesSet()

void AbundancesSet ( void )

AbundancesSet sets initial abundances after parameters are entered by reading input

References abund, called, cdEXIT, DEBUG_ENTRY, dense, deut, elementnames, EXIT_FAILURE, fprintf(), InitDeuteriumIonization(), ioQQQ, ipCARBON, ipHELIUM, ipHYDROGEN, ipLITHIUM, ipOXYGEN, LIMELM, MAX_DENSITY, phycon, PrintE82(), radius, SDIV(), SMALLFLOAT, StopCalc, SumDensities(), thermal, and trace.

Referenced by cloudy().

Here is the call graph for this function:

◆ PrtElem()

STATIC void PrtElem ( const char * chJob,
const char * chLabl,
double abund_prt )

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, NELEM1LINE, and STATIC.

Referenced by AbundancesPrt().

Here is the call graph for this function: