/home66/gary/public_html/cloudy/c10_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 326 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, GrainVar::bin, called, t_elementnames::chElementSym, DEBUG_ENTRY, dense, elementnames, GrainVar::elmSumAbund, t_dense::gas_phase, gv, ioQQQ, ipHYDROGEN, GrainVar::lgDustOn(), t_dense::lgElmtOn, t_called::lgTalk, LIMELM, MAT_CAR, MAT_CAR2, MAT_PAH, MAT_PAH2, MAT_SIL, MAT_SIL2, MAX2, PrtElem(), SMALLFLOAT, t_abund::solar, and TotalInsanity().

Referenced by cloudy().

Here is the call graph for this function:

void AbundancesSet ( void   ) 
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 449 of file abundances.cpp.

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

Referenced by AbundancesSet(), and PressureChange().

Here is the call graph for this function:

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

Definition at line 329 of file abundances.cpp.

References cdEXIT, DEBUG_ENTRY, ioQQQ, and NELEM1LINE.

Referenced by AbundancesPrt().

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1