/home66/gary/public_html/cloudy/c08_branch/source/abundances.cpp File Reference

#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"

Include dependency graph for abundances.cpp:

Go to the source code of this file.

Defines

#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 Documentation

#define NELEM1LINE   9

Definition at line 320 of file abundances.cpp.

Referenced by PrtElem().


Function Documentation

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, GrainBin::AvVol, t_gv::bin, called, t_elementnames::chElementSym, DEBUG_ENTRY, dense, GrainBin::dstAbund, GrainBin::dustp, elementnames, t_gv::elmSumAbund, t_dense::gas_phase, GrainBin::GrnVryDpth, gv, GrainBin::IntVol, ioQQQ, ipHYDROGEN, t_gv::lgDustOn, t_dense::lgElmtOn, t_called::lgTalk, LIMELM, MAT_CAR, MAT_CAR2, MAT_SIL, MAT_SIL2, GrainBin::matType, t_gv::nBin, PrtElem(), SMALLFLOAT, and t_abund::solar.

Referenced by cloudy().

Here is the call graph for this function:

void AbundancesSet ( void   ) 

AbundancesSet sets initial abundances after parameters are entered by reading input

Definition at line 146 of file abundances.cpp.

References abund, DEBUG_ENTRY, dense, t_abund::depset, ipHELIUM, ipHYDROGEN, t_dense::lgDenFlucOn, t_dense::lgElmtOn, lgFirstCall, LIMELM, t_abund::ScaleElement, and t_abund::solar.

Referenced by cloudy().

double AbundancesTable ( double  r0,
double  depth,
long int  iel 
)

AbundancesTable interpolate on table of points to do 'element table' command,

Parameters:
r0 
depth 
iel 

Definition at line 443 of file abundances.cpp.

References t_abund::AbTabFac, t_abund::AbTabRad, abund, cdEXIT, DEBUG_ENTRY, ioQQQ, t_abund::lgAbTaDepth, and t_abund::nAbunTabl.

Referenced by PressureChange().

void AbundancesZero ( void   ) 

AbundancesZero set initial abundances for different mixes

Definition at line 517 of file abundances.cpp.

References abund, t_abund::ahii, t_abund::aism, t_abund::anova, t_abund::apn, t_abund::aprim, t_abund::camern, 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, t_abund::lgAGN, t_abund::OldSolar84, and t_abund::SolarSave.

Referenced by zero().

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

Definition at line 323 of file abundances.cpp.

References cdEXIT, DEBUG_ENTRY, ioQQQ, and NELEM1LINE.

Referenced by AbundancesPrt().


Generated on Mon Feb 16 12:01:32 2009 for cloudy by  doxygen 1.4.7