Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"
#include "input.h"
#include "optimize.h"
#include "elementnames.h"
#include "grainvar.h"
#include "called.h"
#include "abund.h"
#include "parser.h"
Functions | |
STATIC void | GetMetalsDeplete (Parser &p, const bool lgPrintMetalsDeplete) |
STATIC void | EvalJenkins (const double Fstar, const double DxLimit) |
STATIC void | GetJenkins09 (Parser &p, const bool lgPrtJenkins09, const double Fstar, const double DxLimit) |
void | ParseMetal (Parser &p) |
Variables | |
static double | AX [LIMELM] |
static double | BX [LIMELM] |
static double | ZX [LIMELM] |
static int | lgSetJenkins09 [LIMELM] |
STATIC void EvalJenkins | ( | const double | Fstar, |
const double | DxLimit | ||
) |
References abund, AX, BX, t_abund::DepletionScaleFactor, lgSetJenkins09, LIMELM, MAX2, MIN2, pow(), and ZX.
Referenced by GetJenkins09().
STATIC void GetJenkins09 | ( | Parser & | p, |
const bool | lgPrtJenkins09, | ||
const double | Fstar, | ||
const double | DxLimit | ||
) |
References abund, AX, BX, caps(), cdEXIT, t_cpu_i::chDirSeparator(), t_elementnames::chElementNameShort, cpu, DEBUG_ENTRY, t_abund::DepletionScaleFactor, elementnames, EvalJenkins(), EXIT_FAILURE, FFmtRead(), fprintf(), Parser::GetQuote(), t_cpu::i(), ioQQQ, lgSetJenkins09, LIMELM, Parser::nMatch(), open_data(), read_whole_line(), Parser::StringError(), t_abund::SumDepletedAtoms(), and ZX.
Referenced by ParseMetal().
References abund, caps(), cdEXIT, t_cpu_i::chDirSeparator(), t_elementnames::chElementNameShort, cpu, t_abund::DepletionScaleFactor, elementnames, EXIT_FAILURE, FFmtRead(), fprintf(), Parser::GetQuote(), t_cpu::i(), ioQQQ, LIMELM, Parser::nMatch(), open_data(), read_whole_line(), and Parser::StringError().
Referenced by ParseMetal().
void ParseMetal | ( | Parser & | p | ) |
ParseMetal parse parameters on metal command
References abund, cdEXIT, t_elementnames::chElementName, t_optimize::chVarFmt, DEBUG_ENTRY, t_abund::DepletionScaleFactor, elementnames, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), GetJenkins09(), GetMetalsDeplete(), GrainVar::GrainMetal, gv, input, ioQQQ, t_abund::lgAbnReference, t_abund::lgDepln, Parser::lgEOL(), t_optimize::lgVarOn, LIMELM, MAX2, Parser::nMatch(), Parser::NoNumb(), t_optimize::nparm, t_input::nRead, t_optimize::nvarxt, t_optimize::nvfpnt, optimize, t_abund::ScaleMetals, t_abund::SumDepletedAtoms(), t_optimize::varang, t_optimize::vincr, and t_optimize::vparm.
Referenced by ParseCommands().
|
static |
Referenced by EvalJenkins(), and GetJenkins09().
|
static |
Referenced by EvalJenkins(), and GetJenkins09().
|
static |
Referenced by EvalJenkins(), and GetJenkins09().
|
static |
Referenced by EvalJenkins(), and GetJenkins09().