Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
parser.h File Reference
#include "service.h"
#include "thirdparty.h"
Include dependency graph for parser.h:
This graph shows which files directly or indirectly include this file:

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)
 
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 ParseIlluminate (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

typedef void(* OptionParser)(Parser &)

Enumeration Type Documentation

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

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

References FPRead().

Here is the call graph for this function:

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

References FPRead().

Here is the call graph for this function:

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

References IntRead().

Here is the call graph for this function:

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

References IntRead().

Here is the call graph for this function:

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

References IntRead().

Here is the call graph for this function:

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

References IntRead().

Here is the call graph for this function:

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

References IntRead().

Here is the call graph for this function:

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

References IntRead().

Here is the call graph for this function:

bool isBoundaryChar ( char  c)

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

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

Helper template to make it easier to generate KeyActions

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.

Referenced by Parser::nWord().

Here is the call graph for this function:

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

ParseAbundances parse and read in composition as set by abundances command

Parameters
*chCard
lgDSet
void ParseAge ( Parser p)

ParseAge - parse the age command

References cdEXIT, t_timesc::CloudAgeSet, 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:

void ParseCMB ( double  z,
long int *  nqh 
)
void ParseCosmology ( Parser p)
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, t_elementnames::chElementSym, t_optimize::chVarFmt, t_hydro::DampOnFac, DEBUG_ENTRY, elementnames, t_mesh::emm(), EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), Parser::GetElem(), hydro, input, ioQQQ, ipCRD, ipCRDW, ipH_LIKE, ipHE_LIKE, ipHYDROGEN, ipLY_A, t_isoCTRL::ipLyaRedist, ipPRD, t_isoCTRL::ipResoRedist, t_isoCTRL::ipSubRedist, iso_ctrl, iso_sp, iso_update_num_levels(), t_isoCTRL::lgColl_excite, t_isoCTRL::lgColl_ionize, t_isoCTRL::lgColl_l_mixing, t_isoCTRL::lgContinuumLoweringEnabled, t_isoCTRL::lgCS_B72, t_isoCTRL::lgCS_Fujim, t_isoCTRL::lgCS_Lebedev, t_isoCTRL::lgCS_None, t_isoCTRL::lgCS_PS64, t_isoCTRL::lgCS_PSClassic, t_isoCTRL::lgCS_PSdeg, t_isoCTRL::lgCS_PSM20, t_isoCTRL::lgCS_Seaton, t_isoCTRL::lgCS_therm_ave, t_isoCTRL::lgCS_VOS12, t_isoCTRL::lgCS_VOS12QM, t_isoCTRL::lgCS_VOS_thermal, t_isoCTRL::lgCS_vrgm, t_isoCTRL::lgCS_Vriens, t_isoCTRL::lgCS_Vrinceanu, t_isoCTRL::lgDielRecom, Parser::lgEOL(), lgHydroAlloc, t_isoCTRL::lgKeepFS, t_isoCTRL::lgLTE_levels, t_hydro::lgLymanPumping, t_isoCTRL::lgNoMaser, t_isoCTRL::lgNoRecombInterp, t_isoCTRL::lgPessimisticErrors, t_phycon::lgPhysOK, t_isoCTRL::lgPrintNumberOfLevels, t_isoCTRL::lgRandErrGen, t_isoCTRL::lgTopoff, t_optimize::lgVarOn, LIMELM, MIN2, t_iso_sp::n_HighestResolved_max, t_iso_sp::nCollapsed_max, t_isoCTRL::nCS_new, NHYDRO_MAX_LEVEL, t_isoCTRL::nLyman, t_isoCTRL::nLyman_max, Parser::nMatch(), Parser::NoNumb(), t_optimize::nparm, t_input::nRead, t_optimize::nvarxt, t_optimize::nvfpnt, optimize, phycon, POW3, rfield, RREC_MAXN, TotalInsanity(), t_optimize::vincr, t_optimize::vparm, and t_hydro::xLymanPumpingScaleFactor.

Referenced by ParseDatabase(), and ParseTest().

Here is the call graph for this function:

void ParseDont ( Parser p)

ParseDont parse the dont command

References atmdat, cdEXIT, t_save::chOutputFile, continuum, CoolHeavy, DEBUG_ENTRY, t_rfield::DiffPumpOn, dynamics, EXIT_FAILURE, fprintf(), gv, t_atmdat::HCharHeatOn, hydro, hyperfine, Singleton< t_yield >::Inst(), ionbal, ioQQQ, ipH_LIKE, ipHE_LIKE, t_yield::kill_yield(), t_rt::lgAbsorLineEscape, t_atmdat::lgCollIonOn, t_ionbal::lgCompRecoil, t_rfield::lgComptonOn, t_dynamics::lgCoolHeat, t_atmdat::lgCTOn, GrainVar::lgDColOn, t_rfield::lgDoLineTrans, t_rt::lgElecScatEscape, t_rt::lgElecScatInten, t_CoolHeavy::lgFreeOn, t_rt::lgFstOn, t_mole_global::lgGrain_mole_deplete, GrainVar::lgGrainElectrons, t_ionbal::lgGrainIonRecom, GrainVar::lgGrainPhysicsOn, t_rfield::lgHeIIOTS, t_rfield::lgInducProcess, t_rfield::lgIonizReevaluate, t_dynamics::lgISO, t_rfield::lgKillOTSLine, t_rfield::lgKillOutCont, t_rfield::lgKillOutLine, t_pressure::lgLineRadPresOn, t_hyperfine::lgLya_pump_21cm, t_hydro::lgLyaFeIIPumpOn, t_rfield::lgLyaOTS, t_dynamics::lgMETALS, t_ionbal::lgNoCota, t_mole_global::lgNoHeavyMole, t_mole_global::lgNoMole, t_rfield::lgOpacityFine, t_rfield::lgOpacityReevaluate, t_opac::lgOpacStatic, t_ionbal::lgPhotoIoniz_On, t_phycon::lgPhysOK, t_thermal::lgPredNextTe, t_prt::lgPrintTime, t_continuum::lgPrtIsotropicCont, GrainVar::lgQHeatOn, t_opac::lgScatON, t_secondaries::lgSecOFF, t_rt::lgStarkON, t_save::lgSubtrCont, t_opac::lgUseFileOpac, GrainVar::lgWD01, mole_global, Parser::nMatch(), nWindLine, opac, t_opac::otsmin, phycon, pressure, Parser::PrintLine(), prt, rfield, rt, save, secondaries, and thermal.

Referenced by ParseCommands().

Here is the call graph for this function:

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

ParseF_nu parse intensity command parameters

Parameters
*chCard
*nqh
*ar1
*chType
lgNU2

References cdEXIT, t_rfield::chRSpec, t_rfield::chSpNorm, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), t_rfield::lgTimeVary, LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), t_rfield::range, rfield, and t_rfield::totpow.

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

Here is the call graph for this function:

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:

void ParseInitFile ( const string &  chName)

ParseInitFile helper routine for ParseInit

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

Referenced by cdDrive(), and ParseInit().

Here is the call graph for this function:

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:

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:

void ParseLineList ( Parser p,
vector< LineID > &  lines 
)
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(), t_hcmap::MapZone, Parser::nMatch(), NULL, and t_hcmap::RangeMap.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParsePrint ( Parser p)

ParsePrint parse the print command

Parameters
*chCard

References broke, cdEXIT, cpu, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), Parser::GetElem(), Parser::GetQuote(), Parser::getWave(), h2, t_cpu::i(), Singleton< module_list >::Inst(), ioQQQ, ipH_LIKE, ipHE_LIKE, ipHYDROGEN, Parser::lgEOL(), t_prt::lgFaintOn, t_prt::lgFntSet, t_prt::lgOnlyHead, t_prt::lgOnlyZone, t_prt::lgPrintBlock, t_prt::lgPrintBlockEmergent, t_prt::lgPrintBlockIntrinsic, t_prt::lgPrintColumns, t_broke::lgPrintFixits, t_prt::lgPrintFluxEarth, t_prt::lgPrintHeating, t_prt::lgPrintLineAirWavelengths, t_prt::lgPrintLineCumulative, t_prt::lgPrnAges, t_prt::lgPrnColl, lgPrnErr, t_prt::lgPrnHeat, t_prt::lgPrnInwd, t_prt::lgPrnIsoCollapsed, t_prt::lgPrnLineCell, t_prt::lgPrnPump, t_prt::lgPrtArry, t_prt::lgPrtCitations, t_iso_sp::lgPrtDepartCoef, t_prt::lgPrtLastIt, t_iso_sp::lgPrtLevelPops, t_prt::lgPrtLineArray, t_prt::lgPrtLineLog, t_prt::lgPrtMaser, t_iso_sp::lgPrtNCrit, t_prt::lgPrtTau, t_prt::lgSortLineIntensity, t_prt::lgSortLines, t_prt::lgSortLineWavelength, t_prt::lgSurfaceBrightness, t_prt::lgSurfaceBrightness_SR, LIMELM, LineSave, module_list::m_l, t_prt::matrix, diatomics::nElecLevelOutput, Parser::nMatch(), Parser::NoNumb(), t_prt::nPrnLineCell, ParsePrtLineSum(), t_cpu_i::printDataPath(), prt, prt_constants(), t_prt::PrtTauFnt, setIsoNelemFlag(), t_prt_matrix::setSpecies(), t_LineSave::sig_figs, t_LineSave::sig_figs_max, t_prt::TooFaint, t_prt::wlSort1, and t_prt::wlSort2.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParsePrtLineSum ( Parser p)

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

Referenced by ParsePrint().

Here is the call graph for this function:

void ParseRangeOption ( Parser p)

ParseRangeOption parse the range option on the luminosity command

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

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

Here is the call graph for this function:

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:

void ParseSet ( Parser p)

ParseSet parse the set command

References t_dynamics::AdvecLengthInit, atmdat, t_prt::blend, cdEXIT, t_rfield::chCumuType, t_save::chFilenamePrefix, t_hmi::chGrainFormPump, t_hmi::chH2_small_model_type, t_save::chHashString, t_hmi::chJura, t_blend::chLabel, GrainVar::chPAH_abundance, t_dynamics::chPresMode, t_conv::chSolverEden, t_optimize::chVarFmt, t_atmdat::CIRCData, t_atmdat::collstrDefault, t_blend::component, t_hyperfine::CONSTANT, continuum, conv, DEBUG_ENTRY, dense, DEPTH_OFFSET, t_atmdat::DIMA, t_ionbal::DR_mean_scale, t_radius::drChange, dynamics, t_conv::EdenErrorAllowed, t_dense::EdenFraction, t_dense::EdenSet, t_mesh::egamry(), t_mesh::emm(), energy(), t_continuum::EnergyKshell, t_hyperfine::EXCITATION, EXIT_FAILURE, exp10(), Parser::FFmtRead(), t_rfield::fine_ener_hi, t_rfield::fine_ener_lo, t_rfield::fine_opac_nelem, t_rfield::fine_opac_nresolv, t_rfield::FluxFaint, fprintf(), t_conv::GasPhaseAbundErrorAllowed, Parser::GetElem(), Parser::GetQuote(), GrainVar::GrainHeatScaleFactor, t_ionbal::guess_noise, gv, t_hmi::H2_frac_abund_set, hcmap, t_dense::HCorrFac, t_atmdat::HCTAlex, t_conv::HeatCoolRelErrorAllowed, hmi, t_atmdat::HYBRID, hyperfine, input, Singleton< t_ADfA >::Inst(), Singleton< T >::Inst(), ionbal, t_conv::IonizErrorAllowed, ioQQQ, iso_ctrl, t_iterations::iter_alloc, iterations, t_hyperfine::KINETIC, GrainVar::lgBakesPAH_heat, t_continuum::lgCheckEnergyEveryZone, t_isoCTRL::lgCollStrenThermAver, t_iterations::lgConverge_set, t_secondaries::lgCSetOn, t_prt::lgDiffuseInward, t_prt::lgDiffuseOutward, t_ionbal::lgDRsup, t_iterations::lgEndDflt, Parser::lgEOL(), t_dynamics::lgEquilibrium, t_mole_global::lgFederman, t_radius::lgFixed, t_save::lgFLUSH, t_atmdat::lgGbarOn, t_isoCTRL::lgInd2nu_On, t_atmdat::lgInnerShell_Kisielius, t_atmdat::lgInnerShellLine_on, t_hmi::lgLeiden_Keep_ipMH2s, t_hmi::lgLeidenCRHack, t_mole_global::lgLeidenHack, t_save::lgLuminosityOld, t_opac::lgNegOpacIO, t_mole_global::lgNeutrals, t_ionbal::lgNewTrim, t_mole_global::lgNonEquilChem, t_NumDeriv::lgNumDeriv, t_phycon::lgPhysOK, t_mole_global::lgProtElim, lgPrtSciNot, t_blend::lgQuiet, t_radius::lgSdrmaxRel, t_radius::lgSdrminRel, t_dynamics::lgSetPresMode, t_radius::lgSMinON, t_prt::lgSourceReflected, t_prt::lgSourceTransmitted, t_mole_global::lgStancil, lgTestCodeEnabled, t_ionbal::lgTrimhiOn, t_ionbal::lgTrimloOn, t_conv::lgUpdateCouplings, t_optimize::lgVarOn, t_iterations::lim_iter, t_iterations::lim_zone, LIMELM, t_conv::limPres2Ioniz, t_hyperfine::LyaSourceFunctionShape_assumed, MAX2, MIN2, mole_global, t_dynamics::n_initial_relax, adjPseudoCont::nBins, NCHLAB, NCHU, t_save::ncSaveSkip, t_iterations::nend, t_iterations::nEndDflt, nint(), t_hcmap::nMapStep, Parser::nMatch(), Parser::NoNumb(), t_optimize::nparm, t_input::nRead, t_save::nsave, NumDeriv, t_optimize::nvarxt, t_optimize::nvfpnt, opac, optimize, ParseLineList(), peimbt, PHFIT95, PHFIT96, phycon, t_conv::PressureErrorAllowed, Parser::PrintLine(), prt, radius, t_hmi::rate_h2_form_grains_set, t_save::Resolution, t_save::ResolutionAbs, rfield, save, t_hmi::ScaleJura, t_radius::sdrmax, t_radius::sdrmin, t_radius::sdrmin_rel_depth, secondaries, t_ADfA::set_version(), t_secondaries::SetCsupra, Parser::setEOL(), SetNChrgStates(), t_save::setPseudoCont, t_dynamics::ShockDepth, t_dynamics::ShockMach, SMALLFLOAT, adjPseudoCont::speciesLabel, Parser::StandardEnergyUnit(), StopCalc, t_hmi::Tad, t_StopCalc::TeFloor, t_phycon::TEMP_LIMIT_HIGH, t_phycon::TEMP_LIMIT_LOW, t_ionbal::trimhi, t_ionbal::trimlo, trimTrailingWhiteSpace(), t_peimbt::tsqden, t_optimize::varang, t_optimize::vincr, t_optimize::vparm, t_blend::wave, t_save::WeakHeatCool, adjPseudoCont::wlHi, and adjPseudoCont::wlLo.

Referenced by ParseCommands(), and ParseTest().

Here is the call graph for this function:

void ParseSphere ( Parser p)
void ParseStop ( Parser p)

ParseStop parse the stop command

References t_StopCalc::AV_extended, t_StopCalc::AV_point, cdEXIT, species::chLabel, t_StopCalc::chSpeciesColumn, t_StopCalc::chStopLabel1, t_StopCalc::chStopLabel2, t_optimize::chVarFmt, t_StopCalc::col_H0_ov_Tspin, t_StopCalc::col_h2, t_StopCalc::col_h2_nut, t_StopCalc::col_monoxco, t_StopCalc::col_species, t_StopCalc::colnut, t_StopCalc::colpls, t_StopCalc::ContIndex, t_StopCalc::ContNFnu, DEBUG_ENTRY, t_mesh::egamry(), t_mesh::emm(), energy(), EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), geometry, Parser::GetQuote(), Parser::getWave(), Parser::getWaveOpt(), Hbeta_WavLen, t_StopCalc::HColStop, input, Singleton< T >::Inst(), ioQQQ, t_iterations::iter_alloc, iterations, t_iterations::lgEndDflt, Parser::lgEOL(), t_StopCalc::lgStop21cm, t_StopCalc::lgStopSpeciesColumn, t_optimize::lgVarOn, t_geometry::lgZoneSet, max(), MAX2, MIN2, MXSTPL, NCHLAB, t_StopCalc::nEmergent, t_iterations::nend, Parser::nMatch(), Parser::NoNumb(), t_optimize::nparm, t_input::nRead, t_StopCalc::nstpl, t_optimize::nvarxt, t_optimize::nvfpnt, optimize, phycon, Parser::PrintLine(), rfield, SMALLFLOAT, Parser::StandardEnergyUnit(), Parser::StandardFluxUnit(), StopCalc, t_StopCalc::StopDepleteFrac, t_StopCalc::StopElecDensity, t_StopCalc::StopElecFrac, t_StopCalc::StopH2MoleFrac, t_StopCalc::StopHPlusFrac, t_StopCalc::StopLineWl1, t_StopCalc::StopLineWl2, t_iterations::StopRadius, t_iterations::StopThickness, t_StopCalc::StopVelocity, t_StopCalc::stpint, Parser::StringError(), t_StopCalc::tauend, t_StopCalc::taunu, t_phycon::TEMP_LIMIT_HIGH, t_phycon::TEMP_LIMIT_LOW, t_StopCalc::TempHiStopIteration, t_StopCalc::TempHiStopZone, t_StopCalc::TempLoStopIteration, t_StopCalc::TempLoStopZone, trimTrailingWhiteSpace(), t_optimize::vincr, t_optimize::vparm, and t_StopCalc::xMass.

Referenced by ParseCommands(), and ParseTest().

Here is the call graph for this function:

void ParseTable ( Parser p)

ParseTable parse the table read command

Parameters
*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().

Here is the call graph for this function: