cloudy
trunk
|
Go to the source code of this file.
Data Structures | |
struct | t_abund |
Defines | |
#define | LIMTABD 500 |
Functions | |
void | AbundancesSet (void) |
void | AbundancesPrt (void) |
void | AbundancesZero (void) |
void | abund_starburst (char *) |
double | AbundancesTable (double r0, double depth, long int iel) |
Variables | |
EXTERN struct t_abund | abund |
#define LIMTABD 500 |
Definition at line 70 of file abund.h.
Referenced by ParseElement().
void abund_starburst | ( | char * | ) |
generate abundance set from Fred Hamann's starburst evolution grid
chCard |
Definition at line 10 of file abund_starburst.cpp.
References abund, cdEXIT, t_elementnames::chElementSym, t_optimize::chVarFmt, DEBUG_ENTRY, elementnames, FFmtRead(), fp_equal(), input, INPUT_LINE_LENGTH, ioQQQ, t_optimize::lgVarOn, LIMELM, MAX2, MIN2, nMatch(), t_optimize::nparm, t_input::nRead, t_optimize::nvarxt, t_optimize::nvfpnt, optimize, POW2, POW3, t_abund::solar, t_abund::SolarSave, t_optimize::varang, t_optimize::vincr, and t_optimize::vparm.
Referenced by ParseAbundances(), and ParseDrive().
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_PAH, MAT_PAH2, MAT_SIL, MAT_SIL2, GrainBin::matType, MAX2, t_gv::nBin, PrtElem(), SMALLFLOAT, t_abund::solar, and TotalInsanity().
Referenced by cloudy().
void AbundancesSet | ( | void | ) |
AbundancesSet sets initial abundances after parameters are entered by reading input
Definition at line 146 of file abundances.cpp.
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::depset, t_radius::depth, elementnames, t_dense::flcPhase, t_dense::gas_phase, ioQQQ, ipCARBON, ipHELIUM, ipHYDROGEN, ipLITHIUM, ipOXYGEN, t_abund::lgAbTaON, t_abund::lgAbunTabl, t_dense::lgDenFlucOn, t_dense::lgElmtOn, lgFirstCall, t_called::lgTalk, t_trace::lgTrace, LIMELM, phycon, PrintE82(), t_radius::Radius, radius, t_abund::ScaleElement, t_abund::ScaleMetals, SDIV(), SMALLFLOAT, t_abund::solar, StopCalc, t_phycon::TEMP_STOP_DEFAULT, t_StopCalc::tend, 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 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 AbundancesSet(), and 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, LIMELM, t_abund::OldSolar84, and t_abund::SolarSave.
Referenced by zero().
Referenced by abund_starburst(), AbundancesPrt(), AbundancesSet(), AbundancesTable(), AbundancesZero(), atmol_popsolve(), atom_levelN(), atom_pop5(), ChargTranPun(), InitDefaultsPreparse(), ion_recombAGN(), IterRestart(), ParseAbundances(), ParseCommands(), ParseDrive(), ParseElement(), ParseMetal(), PressureChange(), PrtComment(), PrtZone(), punch_opacity(), PunchDo(), radius_next(), RT_tau_init(), and zero().