Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"
#include "cddrive.h"
#include "optimize.h"
#include "rfield.h"
#include "trace.h"
#include "lines.h"
#include "radius.h"
#include "input.h"
#include "stars.h"
#include "prt.h"
#include "parser.h"
#include "save.h"
Functions | |
STATIC void | ReadTable (const string &fnam) |
STATIC void | ZeroContin (void) |
STATIC void | resetBltin (Energy *tnu, realnum *fluxlog, bool lgLog) |
void | ParseTable (Parser &p) |
int | lines_table () |
double | getHexDouble (DataParser &d) |
Variables | |
static string | chLINE_LIST |
static const int | NISM = 23 |
static double | tnuism [NISM] |
static double | fnuism [NISM] |
static const int | NHM96 = 14 |
static const double | tnuHM96 [NHM96] |
static const double | fnuHM96 [NHM96] |
static const int | NAGN = 8 |
static Energy | tnuagn [NAGN] |
static realnum | tslagn [NAGN] |
static const int | NDRAINE = 15 |
static double | tnudrn [NDRAINE] |
static double | tsldrn [NDRAINE] |
|
inline |
References DataParser::getToken().
Referenced by ReadTable().
int lines_table | ( | ) |
lines_table invoked by table lines command, check if we can find all lines in a given list returns 0 if ok, n is n lines not found
References cdGetLineList(), chLINE_LIST, DEBUG_ENTRY, t_LineSave::findline(), fprintf(), ioQQQ, lineids, LineSave, and prt_line_err().
Referenced by lgCheckMonitors().
void ParseTable | ( | Parser & | p | ) |
ParseTable parse the table read command
*nqh | |
*chCard | |
*ar1 |
References AS_TRY, ASSERT, AtlasInterpolate(), AtmospheresAvail(), BIGDOUBLE, cdEXIT, t_cpu_i::chDirSeparator(), chLINE_LIST, t_rfield::chRSpec, t_rfield::chSpNorm, t_rfield::chSpType, t_optimize::chVarFmt, CoStarInterpolate(), cpu, DEBUG_ENTRY, t_mesh::egamry(), t_mesh::emm(), DataParser::errorAbort(), ES_STARS_ONLY, EXIT_FAILURE, EXIT_SUCCESS, exp10(), Parser::FFmtRead(), fnuHM96, fnuism, fprintf(), DataParser::getKeyword(), DataParser::getKeywordOptional(), DataParser::getline(), Parser::GetQuote(), DataParser::getToken(), GridInterpolate(), HaardtMadauInterpolate(), t_cpu::i(), t_rfield::Illumination, IM_COSTAR_AGE_MZAMS, IM_COSTAR_MZAMS_AGE, IM_COSTAR_TEFF_LOGG, IM_COSTAR_TEFF_MODID, IM_ILLEGAL_MODE, input, ioQQQ, t_mesh::ipointC(), Illuminate::ISOTROPIC, KhaireSrianandInterpolate(), Kurucz79Interpolate(), t_rfield::lgBeamed, lgCalled, t_trace::lgConBug, DataParser::lgEODMarker(), Parser::lgEOL(), t_rfield::lgMustBlockHIon, t_rfield::lgSphericalDilution, t_rfield::lgTimeVary, t_trace::lgTrace, t_optimize::lgVarOn, LIMEXT, LIMSPC, Parser::m_nqh, MDIM, MihalasInterpolate(), NAGN, t_rfield::ncont, NDRAINE, NHM96, NISM, Parser::nMatch(), Parser::nMatchErase(), Parser::NoNumb(), t_optimize::nparm, t_input::nRead, t_rfield::nShape, NULL, t_optimize::nvarxt, t_optimize::nvfpnt, open_data(), optimize, t_rfield::range, RauchInterpolateCOWD(), RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), ReadTable(), resetBltin(), rfield, Energy::Ryd(), Energy::set(), StandardEnergyUnitNoAbort(), t_rfield::tFluxLog, TL_BSTAR, TL_OBSTAR, TL_OSTAR, TlustyInterpolate(), t_rfield::tNu, tnudrn, tnuHM96, tnuism, TotalInsanity(), t_rfield::totpow, trace, tslagn, tsldrn, t_rfield::tslop, UNUSED, t_optimize::varang, t_optimize::vincr, t_optimize::vparm, DataParser::warning(), WernerInterpolate(), WMBASICInterpolate(), and ZeroContin().
Referenced by ParseBackgrd(), ParseCommands(), and ParseTest().
STATIC void ReadTable | ( | const string & | fnam | ) |
References t_mesh::anu(), ASSERT, cdEXIT, DataParser::checkMagic(), DEBUG_ENTRY, t_mesh::egamry(), t_mesh::emm(), ES_NONE, EXIT_FAILURE, fp_equal_tol(), fprintf(), getHexDouble(), DataParser::getline(), DataParser::getToken(), ioQQQ, t_mesh::mesh_md5sum(), t_rfield::ncont, t_rfield::nShape, rfield, t_rfield::RSFCheck, t_rfield::TableRadius, t_rfield::tFluxLog, t_rfield::tNu, and VERSION_TRNCON.
Referenced by ParseTable().
References ASSERT, t_mesh::emm(), exp10(), rfield, and Energy::Ryd().
Referenced by ParseTable(), and ZeroContin().
STATIC void ZeroContin | ( | void | ) |
References DEBUG_ENTRY, fnuism, resetBltin(), tnudrn, tnuism, tslagn, and tsldrn.
Referenced by ParseTable().
|
static |
Referenced by lines_table(), and ParseTable().
|
static |
Referenced by ParseTable().
|
static |
Referenced by ParseTable(), and ZeroContin().
|
static |
Referenced by ParseTable().
|
static |
Referenced by ParseTable().
|
static |
Referenced by ParseTable().
|
static |
Referenced by ParseTable().
|
static |
Referenced by ParseTable(), and ZeroContin().
|
static |
Referenced by ParseTable().
|
static |
Referenced by ParseTable(), and ZeroContin().
Referenced by ParseTable(), and ZeroContin().
|
static |
Referenced by ParseTable(), and ZeroContin().