Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
parse_table.cpp File Reference
#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"
Include dependency graph for parse_table.cpp:

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 ()
 
void clear_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]
 

Function Documentation

◆ clear_lines_table()

void clear_lines_table ( )

clear the name of the table read by the table lines command.

References chLINE_LIST.

Referenced by InitDefaultsPreparse().

◆ getHexDouble()

double getHexDouble ( DataParser & d)
inline

References DataParser::getToken().

Referenced by ReadTable().

Here is the call graph for this function:

◆ lines_table()

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, fprintf(), ioQQQ, lineids, LineSave, and prt_line_err().

Referenced by lgCheckMonitors().

Here is the call graph for this function:

◆ ParseTable()

void ParseTable ( Parser & p)

ParseTable parse the table read command

Parameters
*nqh
*chCard
*ar1

References AS_TRY, ASSERT, AtlasInterpolate(), AtmospheresAvail(), BIGDOUBLE, cdEXIT, chLINE_LIST, CoStarInterpolate(), cpu, DEBUG_ENTRY, 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(), IM_COSTAR_AGE_MZAMS, IM_COSTAR_MZAMS_AGE, IM_COSTAR_TEFF_LOGG, IM_COSTAR_TEFF_MODID, IM_ILLEGAL_MODE, input, ioQQQ, KhaireSrianandInterpolate(), Kurucz79Interpolate(), lgCalled, DataParser::lgEODMarker(), Parser::lgEOL(), LIMEXT, LIMSPC, Parser::m_nqh, MDIM, MihalasInterpolate(), NAGN, NDRAINE, NHM96, NISM, Parser::nMatch(), Parser::nMatchErase(), Parser::NoNumb(), NULL, open_data(), optimize, RauchInterpolateCOWD(), RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), ReadTable(), resetBltin(), rfield, Energy::Ryd(), Energy::set(), StandardEnergyUnitNoAbort(), Illumination::SYMMETRIC, TL_BSTAR, TL_OBSTAR, TL_OSTAR, TlustyInterpolate(), tnuagn, tnudrn, tnuHM96, tnuism, TotalInsanity(), trace, tslagn, tsldrn, UNUSED, DataParser::warning(), WernerInterpolate(), WMBASICInterpolate(), and ZeroContin().

Referenced by ParseBackgrd(), ParseCommands(), and ParseTest().

Here is the call graph for this function:

◆ ReadTable()

STATIC void ReadTable ( const string & fnam)

◆ resetBltin()

STATIC void resetBltin ( Energy * tnu,
realnum * fluxlog,
bool lgLog )

References ASSERT, exp10(), rfield, and STATIC.

Referenced by ParseTable(), and ZeroContin().

Here is the call graph for this function:

◆ ZeroContin()

STATIC void ZeroContin ( void )

References DEBUG_ENTRY, fnuism, resetBltin(), STATIC, tnuagn, tnudrn, tnuism, tslagn, and tsldrn.

Referenced by ParseTable().

Here is the call graph for this function:

Variable Documentation

◆ chLINE_LIST

string chLINE_LIST
static

◆ fnuHM96

const double fnuHM96[NHM96]
static
Initial value:
={-32.53342863,-19.9789,-20.4204,-20.4443,-20.5756,-20.7546,
-21.2796,-21.6256,-21.8404,-21.4823,-22.2102,-22.9263,-23.32,-24.2865}

Referenced by ParseTable().

◆ fnuism

double fnuism[NISM]
static

Referenced by ParseTable(), and ZeroContin().

◆ NAGN

const int NAGN = 8
static

Referenced by ParseTable().

◆ NDRAINE

const int NDRAINE = 15
static

Referenced by ParseTable().

◆ NHM96

const int NHM96 = 14
static

Referenced by ParseTable().

◆ NISM

const int NISM = 23
static

Referenced by ParseTable().

◆ tnuagn

Energy tnuagn[NAGN]
static

Referenced by ParseTable(), and ZeroContin().

◆ tnudrn

double tnudrn[NDRAINE]
static

Referenced by ParseTable(), and ZeroContin().

◆ tnuHM96

const double tnuHM96[NHM96]
static
Initial value:
={-8,-1.722735683,-0.351545683,-0.222905683,-0.133385683,
-0.127655683,-0.004575683,0.297544317,0.476753,0.476756,0.588704317,
0.661374317,1.500814317,2.245164317}

Referenced by ParseTable().

◆ tnuism

double tnuism[NISM]
static

Referenced by ParseTable(), and ZeroContin().

◆ tslagn

realnum tslagn[NAGN]
static

Referenced by ParseTable(), and ZeroContin().

◆ tsldrn

double tsldrn[NDRAINE]
static

Referenced by ParseTable(), and ZeroContin().