Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
parser.h File Reference
#include "service.h"
#include "thirdparty.h"
Include dependency graph for parser.h:

Go to the source code of this file.

Classes

struct  CloudyCommand
 
class  Symbol
 
class  Parser
 
class  DataParser
 
class  KeyAction< V >
 
class  UnitConverter
 
class  Option
 
class  Properties
 

Typedefs

typedef void(* OptionParser) (Parser &)
 

Enumerations

enum  eod_style { ES_INVALID , ES_NONE , ES_STARS_ONLY , ES_STARS_AND_BLANKS }
 

Functions

const char * nWord (const char *chKey, const char *chCard)
 
bool isBoundaryChar (char c)
 
bool isSeparatorChar (char c)
 
template<typename T>
void getTokenOptionalImpl (istringstream &iss, const string &, T &var)
 
template<>
void getTokenOptionalImpl (istringstream &iss, const string &s, double &var)
 
template<>
void getTokenOptionalImpl (istringstream &iss, const string &s, sys_float &var)
 
template<>
void getTokenOptionalImpl (istringstream &iss, const string &s, long long &var)
 
template<>
void getTokenOptionalImpl (istringstream &iss, const string &s, unsigned long long &var)
 
template<>
void getTokenOptionalImpl (istringstream &iss, const string &s, long &var)
 
template<>
void getTokenOptionalImpl (istringstream &iss, const string &s, unsigned long &var)
 
template<>
void getTokenOptionalImpl (istringstream &iss, const string &s, int &var)
 
template<>
void getTokenOptionalImpl (istringstream &iss, const string &s, unsigned int &var)
 
template<typename V>
KeyAction< V > MakeKeyAction (const char *keyword, const V &action)
 
template<typename T, typename V>
bool parserProcess (Parser &p, T *list, unsigned long nlist, V *value)
 
void ParseCosmicRays (Parser &p)
 
void ParseCosmology (Parser &p)
 
void ParseAbundancesNonSolar (Parser &p)
 
void ParseAbundances (Parser &p)
 
void ParseDont (Parser &p)
 
void ParseSave (Parser &p)
 
void parse_save_line (Parser &p, bool lgLog3, ostringstream &chHeader, long int ipPun)
 
void parse_save_average (Parser &p, long int ipPun, ostringstream &chHeader)
 
void parse_save_colden (Parser &p, ostringstream &chHeader)
 
void Parse_Save_Line_RT (Parser &p)
 
void ParseAge (Parser &p)
 
void ParseAgn (Parser &p)
 
void ParseBlackbody (Parser &p)
 
void ParseCompile (Parser &p)
 
void ParseConstant (Parser &p)
 
void ParseDLaw (Parser &p)
 
void ParseTLaw (Parser &p)
 
void ParseGrain (Parser &p)
 
void ParseFluc (Parser &p)
 
void ParseHDEN (Parser &p)
 
void ParseDatabaseISO (long ipISO, Parser &p)
 
void ParseDatabaseH2 (Parser &p)
 
void ParseGrid (Parser &p)
 
void ParseInit (Parser &p)
 
void ParseInitFile (const string &chName)
 
void ParseInterp (Parser &p)
 
void ParseIonParI (Parser &p)
 
void ParseIonParX (Parser &p)
 
void ParseIonPar (Parser &p, char chType)
 
void ParseNorm (Parser &p)
 
void ParseOptimize (Parser &p)
 
void ParsePrint (Parser &p)
 
void ParseRadius (Parser &p)
 
void ParseSet (Parser &p)
 
void ParseTable (Parser &p)
 
void ParseTrace (Parser &p)
 
void ParseExtinguish (Parser &p)
 
void ParseIllumination (Parser &p)
 
void ParseCaseB (Parser &p)
 
void ParseTest (Parser &p)
 
void ParseAbsMag (Parser &p)
 
void ParseBackgrd (Parser &p)
 
void ParseCoronal (Parser &p)
 
void ParseElement (Parser &p)
 
void ParseCMB (double z, long int *nqh)
 
void ParseF_nu (Parser &p, const char *chType, bool lgNU2)
 
void ParseGlobule (Parser &p)
 
void ParseRangeOption (Parser &p)
 
void ParseMap (Parser &p)
 
void ParseMetal (Parser &p)
 
void ParseLineList (Parser &p, vector< LineID > &lines)
 
void ParsePrtLineSum (Parser &p)
 
void ParsePowerlawContinuum (Parser &p)
 
void ParseRatio (Parser &p)
 
void ParseSphere (Parser &p)
 
void ParseStop (Parser &p)
 
void ParseCrashDo (Parser &p)
 

Typedef Documentation

◆ OptionParser

typedef void(* OptionParser) (Parser &)

Enumeration Type Documentation

◆ eod_style

enum eod_style

ES_NONE means that neither blank lines nor a field of stars are end-of-data (EOD) markers a blank line is considered a comment and a field of stars is ignored ES_STARS_ONLY means that a field of stars is an EOD marker a blank line is considered a comment ES_STARS_AND_BLANKS means that both blank lines and a field of stars are EOD markers

Enumerator
ES_INVALID 
ES_NONE 
ES_STARS_ONLY 
ES_STARS_AND_BLANKS 

Function Documentation

◆ getTokenOptionalImpl() [1/9]

template<typename T>
void getTokenOptionalImpl ( istringstream & iss,
const string & ,
T & var )
inline

◆ getTokenOptionalImpl() [2/9]

template<>
void getTokenOptionalImpl ( istringstream & iss,
const string & s,
double & var )
inline

References FPRead().

Here is the call graph for this function:

◆ getTokenOptionalImpl() [3/9]

template<>
void getTokenOptionalImpl ( istringstream & iss,
const string & s,
int & var )
inline

References IntRead().

Here is the call graph for this function:

◆ getTokenOptionalImpl() [4/9]

template<>
void getTokenOptionalImpl ( istringstream & iss,
const string & s,
long & var )
inline

References IntRead().

Here is the call graph for this function:

◆ getTokenOptionalImpl() [5/9]

template<>
void getTokenOptionalImpl ( istringstream & iss,
const string & s,
long long & var )
inline

References IntRead().

Here is the call graph for this function:

◆ getTokenOptionalImpl() [6/9]

template<>
void getTokenOptionalImpl ( istringstream & iss,
const string & s,
sys_float & var )
inline

References FPRead().

Here is the call graph for this function:

◆ getTokenOptionalImpl() [7/9]

template<>
void getTokenOptionalImpl ( istringstream & iss,
const string & s,
unsigned int & var )
inline

References IntRead().

Here is the call graph for this function:

◆ getTokenOptionalImpl() [8/9]

template<>
void getTokenOptionalImpl ( istringstream & iss,
const string & s,
unsigned long & var )
inline

References IntRead().

Here is the call graph for this function:

◆ getTokenOptionalImpl() [9/9]

template<>
void getTokenOptionalImpl ( istringstream & iss,
const string & s,
unsigned long long & var )
inline

References IntRead().

Here is the call graph for this function:

◆ isBoundaryChar()

bool isBoundaryChar ( char c)

Referenced by Parser::nMatch1(), and nWord().

◆ isSeparatorChar()

bool isSeparatorChar ( char c)

Referenced by Parser::nMatchSkip().

◆ MakeKeyAction()

template<typename V>
KeyAction< V > MakeKeyAction ( const char * keyword,
const V & action )
inline

Helper template to make it easier to generate KeyActions

◆ nWord()

const char * nWord ( const char * chKey,
const char * chCard )

nWord determine whether match to a keyword occurs on command line, return value is 0 if no match, and position of match within string if hit

Parameters
*chKey
*chCard

References ASSERT, DEBUG_ENTRY, isBoundaryChar(), and NULL.

Here is the call graph for this function:

◆ parse_save_average()

void parse_save_average ( Parser & p,
long int ipPun,
ostringstream & chHeader )

◆ parse_save_colden()

void parse_save_colden ( Parser & p,
ostringstream & chHeader )

References lines().

Here is the call graph for this function:

◆ parse_save_line()

void parse_save_line ( Parser & p,
bool lgLog3,
ostringstream & chHeader,
long int ipPun )

References ipPun.

Referenced by ParseSave().

◆ Parse_Save_Line_RT()

◆ ParseAbsMag()

void ParseAbsMag ( Parser & p)

ParseAbsMag parse the absolute magnitude command

References called, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), and rfield.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseAbundances()

◆ ParseAbundancesNonSolar()

void ParseAbundancesNonSolar ( Parser & p)

ParseAbundances parse and read in composition as set by abundances command

Parameters
*chCard
lgDSet

◆ ParseAge()

void ParseAge ( Parser & p)

ParseAge - parse the age command

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), NUMBEROF, Parser::nWord(), parserProcess(), timesc, and Time::TimeUnits.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseAgn()

void ParseAgn ( Parser & p)

ParseAgn parse parameters for the AGN continuum shape command

Parameters
*chCard

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::nMatch(), optimize, pow(), rfield, and sexp().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseBackgrd()

void ParseBackgrd ( Parser & p)

ParseBackgrd parse the background continuum command

References cdEXIT, CMB_TEMP, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), Parser::getRawTail(), ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), ParseTable(), powi(), rfield, Parser::set_point(), Parser::setline(), and Illumination::SYMMETRIC.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseBlackbody()

void ParseBlackbody ( Parser & p)

parse the blackbody command

Parameters
*chCardinput command line, already changed to caps
*nqhcounter for which continuum source this is
*ar1optional area that might be set here

References BIGFLOAT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, rfield, set_NaN(), Illumination::SYMMETRIC, and TotalInsanity().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseCaseB()

void ParseCaseB ( Parser & p)

References DEBUG_ENTRY, exp10(), Parser::FFmtRead(), Parser::lgEOL(), Parser::nMatch(), and opac.

Referenced by ParseCommands(), and ParseTest().

Here is the call graph for this function:

◆ ParseCMB()

void ParseCMB ( double z,
long int * nqh )

ParseCMB parse parameters from fireball command

Parameters
z
*nqh
*ar1

References cdEXIT, CMB_TEMP, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), ioQQQ, LIMSPC, rfield, and Illumination::SYMMETRIC.

Referenced by ParseCMBOuter().

Here is the call graph for this function:

◆ ParseCompile()

◆ ParseConstant()

void ParseConstant ( Parser & p)

ParseConstant parse the constant ... command

References BIGFLOAT, cdEXIT, DEBUG_ENTRY, dense, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, phycon, pressure, SMALLFLOAT, TempChange(), and thermal.

Referenced by ParseCommands(), and ParseTest().

Here is the call graph for this function:

◆ ParseCoronal()

void ParseCoronal ( Parser & p)

ParseCoronal parse the cronal equilibrum command

References atmdat, cdEXIT, DEBUG_ENTRY, dynamics, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), Parser::nMatch(), optimize, phycon, and thermal.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseCosmicRays()

void ParseCosmicRays ( Parser & p)

ParseCosmicRays parse the cosmic rays command

Parameters
*chCard

References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), hextra, input, ionbal, ioQQQ, Parser::lgEOL(), MIN2, Parser::nMatch(), Parser::NoNumb(), optimize, and SMALLFLOAT.

Referenced by ParseCommands(), and ParseTest().

Here is the call graph for this function:

◆ ParseCosmology()

void ParseCosmology ( Parser & p)

ParseCosmology parse the cosmology command

Parameters
*chCard

References cosmology, DEBUG_ENTRY, Parser::FFmtRead(), fixit, fprintf(), ioQQQ, Parser::nMatch(), rfield, and TotalInsanity().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseCrashDo()

void ParseCrashDo ( Parser & p)

◆ ParseDatabaseH2()

◆ ParseDatabaseISO()

void ParseDatabaseISO ( long ipISO,
Parser & p )

ParseDatabaseISO parse the atom XX-like command, to set options for iso sequences

Parameters
ipISO
*chCard

References ASSERT, cdEXIT, DEBUG_ENTRY, elementnames, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), Parser::GetElem(), hydro, input, ioQQQ, ipCRD, ipCRDW, ipH_LIKE, ipHE_LIKE, ipHYDROGEN, ipLY_A, ipPRD, iso_ctrl, iso_sp, iso_update_num_levels(), Parser::lgEOL(), lgHydroAlloc, LIMELM, max(), min(), MIN2, NHYDRO_MAX_LEVEL, Parser::nMatch(), Parser::NoNumb(), optimize, phycon, POW3, rfield, RREC_MAXN, and TotalInsanity().

Referenced by ParseDatabase(), and ParseTest().

Here is the call graph for this function:

◆ ParseDLaw()

void ParseDLaw ( Parser & p)

ParseDLaw parse parameters on the dlaw command so set some density vs depth law

Parameters
*chCard

References cdEXIT, DEBUG_ENTRY, dense, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), input, ioQQQ, ipHYDROGEN, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, and Parser::readLaw().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseDont()

◆ ParseElement()

◆ ParseExtinguish()

void ParseExtinguish ( Parser & p)

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), pow(), and rfield.

Referenced by ParseCommands(), and ParseTest().

Here is the call graph for this function:

◆ ParseF_nu()

void ParseF_nu ( Parser & p,
const char * chType,
bool lgNU2 )

ParseF_nu parse intensity command parameters

Parameters
*chCard
*nqh
*ar1
*chType
lgNU2

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), and rfield.

Referenced by ParseF_nuSpecific(), ParseL_nu(), ParseNuF_nu(), and ParseNuL_nu().

Here is the call graph for this function:

◆ ParseFluc()

void ParseFluc ( Parser & p)

ParseFluc parse the fluctuations command

References ASSERT, cdEXIT, DEBUG_ENTRY, dense, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, ipHYDROGEN, Parser::lgEOL(), and Parser::nMatch().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseGlobule()

void ParseGlobule ( Parser & p)

ParseGlobule parse parameters off the globule command

Parameters
*chCard

References cdEXIT, DEBUG_ENTRY, dense, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), input, ioQQQ, ipHYDROGEN, Parser::lgEOL(), optimize, and radius.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseGrain()

◆ ParseGrid()

void ParseGrid ( Parser & p)

ParseGrid parse the grid command

Parameters
*chCard

References ASSERT, cdEXIT, cpu, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fp_equal(), fprintf(), Parser::GetQuote(), grid, input_readvector(), ioQQQ, Parser::lgEOL(), LIMPAR, max(), MAX2, nint(), Parser::nMatch(), optimize, safe_div(), and Parser::StringError().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseHDEN()

void ParseHDEN ( Parser & p)

ParseHDEN parse the HDEN command

References cdEXIT, DEBUG_ENTRY, dense, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), input, ioQQQ, ipHYDROGEN, Parser::lgEOL(), MAX_DENSITY, Parser::nMatch(), and optimize.

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

Here is the call graph for this function:

◆ ParseIllumination()

◆ ParseInit()

void ParseInit ( Parser & p)

ParseInit parse the init command

References DEBUG_ENTRY, fprintf(), Parser::GetQuote(), ioQQQ, Parser::nMatch(), ParseInitFile(), and Parser::StringError().

Referenced by cdRead().

Here is the call graph for this function:

◆ ParseInitFile()

void ParseInitFile ( const string & chName)

ParseInitFile helper routine for ParseInit

References cdRead(), DEBUG_ENTRY, input, lgInputEOF(), open_data(), and read_whole_line().

Referenced by cdDrive(), and ParseInit().

Here is the call graph for this function:

◆ ParseInterp()

void ParseInterp ( Parser & p)

ParseInterp parse parameters on interpolate command

Parameters
*chCard
*lgEOF

References ASSERT, called, cdEXIT, DEBUG_ENTRY, Parser::echo(), EXIT_FAILURE, EXIT_SUCCESS, exp10(), Parser::FFmtRead(), fprintf(), Parser::getline(), Parser::hasCommand(), input, ioQQQ, Parser::isComment(), Parser::last(), Parser::lgEOL(), LIMSPC, Parser::m_lgEOF, max(), rfield, and trace.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseIonPar()

void ParseIonPar ( Parser & p,
char chType )

ParseIonPar parse the ionization parameter command

Parameters
*nqh
*chCard
*chType

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, and rfield.

Referenced by ParseIonParI(), and ParseIonParX().

Here is the call graph for this function:

◆ ParseIonParI()

void ParseIonParI ( Parser & p)

ParseIonParI parse the ionization parameter command (IONI variant)

Parameters
*nqh
*chCard
*chType

References ParseIonPar().

Referenced by ParseCommands(), and ParseTest().

Here is the call graph for this function:

◆ ParseIonParX()

void ParseIonParX ( Parser & p)

ParseIonParX parse the ionization parameter command (XI variant)

Parameters
*nqh
*chCard
*chType

References ParseIonPar().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseLineList()

void ParseLineList ( Parser & p,
vector< LineID > & lines )

◆ ParseMap()

void ParseMap ( Parser & p)

ParseMap parse map command to produce map of heating and cooling

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), hcmap, ioMAP, ioQQQ, Parser::lgEOL(), Parser::nMatch(), and NULL.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseMetal()

void ParseMetal ( Parser & p)

ParseMetal parse parameters on metal command

References abund, cdEXIT, DEBUG_ENTRY, elementnames, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), GetJenkins09(), GetMetalsDeplete(), gv, input, ioQQQ, Parser::lgEOL(), LIMELM, MAX2, Parser::nMatch(), Parser::NoNumb(), and optimize.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseNorm()

void ParseNorm ( Parser & p)

ParseNorm parse parameters on the normalize command

Parameters
*chCard

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), Parser::getLineID(), ioQQQ, Parser::lgEOL(), LineSave, and Parser::nMatch().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseOptimize()

◆ ParsePowerlawContinuum()

void ParsePowerlawContinuum ( Parser & p)

ParsePowerlawContinuum parse the power law continuum command

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::nMatch(), optimize, and rfield.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParsePrint()

◆ ParsePrtLineSum()

void ParsePrtLineSum ( Parser & p)

References DEBUG_ENTRY, ipLine, lineids, and ParseLineList().

Referenced by ParsePrint().

Here is the call graph for this function:

◆ ParseRadius()

void ParseRadius ( Parser & p)

ParseRadius parse the radius command

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), input, ioQQQ, iterations, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, and radius.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseRangeOption()

void ParseRangeOption ( Parser & p)

ParseRangeOption parse the range option on the luminosity command

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), Parser::m_nqh, MAX2, MIN2, Parser::nMatch(), rfield, and Parser::set_point().

Referenced by ParseIntensity(), ParseLuminosity(), ParsePhi(), and ParseQH().

Here is the call graph for this function:

◆ ParseRatio()

void ParseRatio ( Parser & p)

ParseRatio parse the ratio command

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, pow(), and rfield.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ parserProcess()

template<typename T, typename V>
bool parserProcess ( Parser & p,
T * list,
unsigned long nlist,
V * value )

Interate through a list of KeyActions: apply the first which matches and then quit

References Parser::nWord().

Referenced by ParseAge().

Here is the call graph for this function:

◆ ParseSave()

◆ ParseSet()

◆ ParseSphere()

void ParseSphere ( Parser & p)

ParseSphere parse the sphere command

References DEBUG_ENTRY, Parser::FFmtRead(), fprintf(), geometry, ioQQQ, Parser::lgEOL(), Parser::nMatch(), and opac.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseStop()

◆ 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:

◆ ParseTest()

◆ ParseTLaw()

void ParseTLaw ( Parser & p)

ParseTLaw parse parameters on the tlaw command to set some temperature vs depth

Parameters
*chCard

References cdEXIT, DEBUG_ENTRY, dense, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), input, ioQQQ, LIMEXT, Parser::nMatch(), optimize, Parser::readLaw(), and thermal.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseTrace()

void ParseTrace ( Parser & p)

ParseTrace parse the trace command

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), geometry, Parser::GetElem(), ioQQQ, ipH_LIKE, ipHE_LIKE, iterations, Parser::lgEOL(), MAX2, Parser::nMatch(), and trace.

Referenced by ParseCommands(), and ParseTest().

Here is the call graph for this function: