cloudy trunk
|
#include "cddefines.h"
#include "physconst.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"
Go to the source code of this file.
Macros | |
#define | NELEM1LINE 9 |
Functions | |
STATIC void | PrtElem (const char *chJob, const char *chLabl, double abund_prt) |
void | AbundancesPrt (void) |
void | AbundancesSet (void) |
double | AbundancesTable (double r0, double depth, long int iel) |
void | AbundancesZero (void) |
#define NELEM1LINE 9 |
Definition at line 337 of file abundances.cpp.
Referenced by PrtElem().
void AbundancesPrt | ( | void | ) |
AbundancesPrt print all abundances, both gas phase and grains
Definition at line 30 of file abundances.cpp.
References abund, ATOMIC_MASS_UNIT, called, DEBUG_ENTRY, dense, elementnames, gv, ioQQQ, ipHYDROGEN, LIMELM, MAT_CAR, MAT_CAR2, MAT_PAH, MAT_PAH2, MAT_SIL, MAT_SIL2, MAX2, PrtElem(), SMALLFLOAT, and TotalInsanity().
Referenced by cloudy().
void AbundancesSet | ( | void | ) |
AbundancesSet sets initial abundances after parameters are entered by reading input
Definition at line 143 of file abundances.cpp.
References abund, AbundancesTable(), called, cdEXIT, DEBUG_ENTRY, dense, elementnames, EXIT_FAILURE, ioQQQ, ipCARBON, ipHELIUM, ipHYDROGEN, ipLITHIUM, ipOXYGEN, LIMELM, MAX_DENSITY, phycon, PrintE82(), radius, SDIV(), SMALLFLOAT, StopCalc, SumDensities(), thermal, and trace.
Referenced by cloudy().
double AbundancesTable | ( | double | r0, |
double | depth, | ||
long int | iel ) |
AbundancesTable interpolate on table of points to do 'element table' command,
r0 | |
depth | |
iel |
Definition at line 460 of file abundances.cpp.
References abund, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.
Referenced by AbundancesSet(), and AbundChange().
void AbundancesZero | ( | void | ) |
AbundancesZero set initial abundances for different mixes
Definition at line 534 of file abundances.cpp.
References abund, DEBUG_ENTRY, ipALUMINIUM, ipARGON, ipBERYLLIUM, ipBORON, ipCALCIUM, ipCARBON, ipCHLORINE, ipCHROMIUM, ipCOBALT, ipCOPPER, ipFLUORINE, ipHELIUM, ipHYDROGEN, ipIRON, ipLITHIUM, ipMAGNESIUM, ipMANGANESE, ipNEON, ipNICKEL, ipNITROGEN, ipOXYGEN, ipPHOSPHORUS, ipPOTASSIUM, ipSCANDIUM, ipSILICON, ipSODIUM, ipSULPHUR, ipTITANIUM, ipVANADIUM, ipZINC, and LIMELM.
Referenced by zero().
STATIC void PrtElem | ( | const char * | chJob, |
const char * | chLabl, | ||
double | abund_prt ) |
Definition at line 340 of file abundances.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, NELEM1LINE, and STATIC.
Referenced by AbundancesPrt().