Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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)
 
double AbundancesTable (double r0, double depth, long int iel)
 

Macro Definition Documentation

#define NELEM1LINE   9

Referenced by PrtElem().

Function Documentation

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

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

Parameters
r0
depth
iel

References t_abund::AbTabFac, t_abund::AbTabRad, abund, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), fprintf(), frac(), ioQQQ, t_abund::lgAbTaDepth, and t_abund::nAbunTabl.

Referenced by AbundancesSet(), and AbundChange().

Here is the call graph for this function:

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

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

Referenced by AbundancesPrt().

Here is the call graph for this function: