| 
    Cloudy
    
   Spectral Synthesis Code for Astrophysics 
   | 
 
#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"
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) | 
| #define NELEM1LINE 9 | 
Referenced by PrtElem().
| void AbundancesPrt | ( | void | ) | 
AbundancesPrt print all abundances, both gas phase and grains
References abund, GrainVar::bin, called, t_elementnames::chElementSym, DEBUG_ENTRY, dense, elementnames, GrainVar::elmSumAbund, fprintf(), t_dense::gas_phase, t_abund::GasPhase, gv, ioQQQ, ipHYDROGEN, GrainVar::lgDustOn(), t_dense::lgElmtOn, t_called::lgTalk, LIMELM, MAT_CAR, MAT_CAR2, MAT_PAH, MAT_PAH2, MAT_SIC, MAT_SIL, MAT_SIL2, MAX2, PrtElem(), SMALLFLOAT, t_abund::SumDepletedAtoms(), and TotalInsanity().
Referenced by cloudy().

| void AbundancesSet | ( | void | ) | 
AbundancesSet sets initial abundances after parameters are entered by reading input
References abund, t_dense::AbundanceLimit, AbundancesTable(), t_dense::AtomicWeight, called, cdEXIT, t_dense::cfirst, t_elementnames::chElementSym, t_thermal::ConstTemp, t_dense::csecnd, DEBUG_ENTRY, dense, t_abund::DepletionScaleFactor, t_radius::depth, deut, elementnames, EXIT_FAILURE, t_dense::flcPhase, fprintf(), t_dense::gas_phase, t_abund::GasPhase, InitDeuteriumIonization(), ioQQQ, ipCARBON, ipHELIUM, ipHYDROGEN, ipLITHIUM, ipOXYGEN, t_abund::lgAbTaON, t_abund::lgAbunTabl, t_dense::lgDenFlucOn, t_deuterium::lgElmtOn, t_dense::lgElmtOn, t_called::lgTalk, t_trace::lgTrace, LIMELM, MAX_DENSITY, phycon, PrintE82(), radius, t_radius::Radius, t_abund::ReferenceAbun, t_abund::ScaleElement, t_abund::ScaleMetals, SDIV(), t_dense::SetGasPhaseDensity(), SMALLFLOAT, StopCalc, SumDensities(), t_phycon::TEMP_STOP_DEFAULT, t_StopCalc::TempLoStopZone, thermal, trace, and t_dense::xIonDense.
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 | 
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().

| 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().
