cloudy trunk
Loading...
Searching...
No Matches
parser.h File Reference
#include <stdio.h>
#include <map>
Include dependency graph for parser.h:

Go to the source code of this file.

Data Structures

struct  CloudyCommand
class  Parser
class  KeyAction< V >
class  UnitConverter

Typedefs

typedef void(* OptionParser) (Parser &)

Functions

const char * nWord (const char *chKey, const char *chCard)
bool isBoundaryChar (char c)
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, char *chHeader)
void parse_save_average (Parser &p, long int ipPun, char *chHeader)
void parse_save_colden (Parser &p, char chHeader[])
void Parse_Save_Line_RT (Parser &p)
void ParseAge (Parser &p)
void ParseAgn (Parser &p)
void ParseState (Parser &p)
void ParseBlackbody (Parser &p)
void ParseCompile (Parser &p)
void ParseConstant (Parser &p)
void ParseDLaw (Parser &p)
void ParseTLaw (Parser &p)
void ParseDrive (Parser &p)
void ParseGrain (Parser &p)
void ParseFluc (Parser &p)
void ParseHDEN (Parser &p)
void ParseAtomISO (long ipISO, Parser &p)
void ParseAtomH2 (Parser &p)
void ParseGrid (Parser &p)
void ParseInit (Parser &p)
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 ParsePrtLineSum (Parser &p)
void ParsePlot (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 &)

Definition at line 21 of file parser.h.

Function Documentation

◆ isBoundaryChar()

bool isBoundaryChar ( char c)

Definition at line 83 of file parser.cpp.

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

◆ MakeKeyAction()

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

Helper template to make it easier to generate KeyActions

Definition at line 251 of file parser.h.

◆ 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

Definition at line 37 of file parser.cpp.

References ASSERT, DEBUG_ENTRY, and isBoundaryChar().

Here is the call graph for this function:

◆ parse_save_average()

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

◆ parse_save_colden()

void parse_save_colden ( Parser & p,
char chHeader[] )

◆ parse_save_line()

void parse_save_line ( Parser & p,
bool lgLog3,
char * chHeader )

◆ Parse_Save_Line_RT()

void Parse_Save_Line_RT ( Parser & p)

◆ ParseAbsMag()

void ParseAbsMag ( Parser & p)

ParseAbsMag parse the absolute magnitude command

Definition at line 9 of file parse_absmag.cpp.

References called, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), 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

Definition at line 810 of file parse_commands.cpp.

References abund, and ParseAbundances().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseAge()

void ParseAge ( Parser & p)

ParseAge - parse the age command

Definition at line 39 of file parse_age.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), 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

Definition at line 10 of file parse_agn.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), LIMSPC, Parser::nMatch(), rfield, sexp(), and TE1RYD.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseAtomH2()

◆ ParseAtomISO()

void ParseAtomISO ( long ipISO,
Parser & p )

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

Parameters
ipISO
*chCard

Definition at line 17 of file parse_atom_iso.cpp.

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

Referenced by ParseAtom(), and ParseTest().

Here is the call graph for this function:

◆ ParseBackgrd()

void ParseBackgrd ( Parser & p)

ParseBackgrd parse the background continuum command

Definition at line 11 of file parse_backgrd.cpp.

References cdEXIT, CMB_TEMP, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), Parser::getRawTail(), HIONPOT, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), ParseTable(), PI4, powi(), radius, rfield, Parser::set_point(), Parser::setline(), STEFAN_BOLTZ, and Illuminate::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

Definition at line 13 of file parse_blackbody.cpp.

References BIGFLOAT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, radius, rfield, set_NaN(), STEFAN_BOLTZ, TE1RYD, and TotalInsanity().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseCaseB()

void ParseCaseB ( Parser & p)

Definition at line 9 of file parse_caseb.cpp.

References DEBUG_ENTRY, 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

Definition at line 11 of file parse_CMB.cpp.

References cdEXIT, CMB_TEMP, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, LIMSPC, radius, rfield, STEFAN_BOLTZ, and Illuminate::SYMMETRIC.

Referenced by ParseCMBOuter().

◆ ParseCompile()

◆ ParseConstant()

void ParseConstant ( Parser & p)

ParseConstant parse the constant ... command

Definition at line 15 of file parse_constant.cpp.

References BIGFLOAT, BOLTZMANN, cdEXIT, DEBUG_ENTRY, dense, EVDEGK, EXIT_FAILURE, Parser::FFmtRead(), 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

Definition at line 16 of file parse_coronal.cpp.

References atmdat, cdEXIT, DEBUG_ENTRY, dynamics, EXIT_FAILURE, Parser::FFmtRead(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), optimize, phycon, radius, rfield, 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

Definition at line 13 of file parse_cosmic_rays.cpp.

References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), 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

Definition at line 12 of file parse_cosmology.cpp.

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

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseCrashDo()

void ParseCrashDo ( Parser & p)

ParseCrashDo any of several tests to check that the code can crash

Parameters
*chCard

Definition at line 48 of file parse_crashdo.cpp.

References multi_arr< T, d, ALLOC, lgBC >::alloc(), ar2, ARR_SIZE, ASSERT, cdEXIT, multi_arr< T, d, ALLOC, lgBC >::clear(), DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), ioQQQ, isnan, Parser::lgEOL(), MALLOC, MyIsnan(), Parser::nMatch(), multi_arr< T, d, ALLOC, lgBC >::ptr(), multi_arr< T, d, ALLOC, lgBC >::reserve(), set_NaN(), and ZeroNum.

Referenced by ParseCommands().

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

Definition at line 12 of file parse_dlaw.cpp.

References cdEXIT, DEBUG_ENTRY, dense, EXIT_FAILURE, Parser::FFmtRead(), Parser::getline(), input, ioQQQ, ipHYDROGEN, Parser::lgEOL(), LIMTABDLAW, Parser::m_lgEOF, Parser::nMatch(), Parser::NoNumb(), optimize, and Parser::strcmp().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseDont()

void ParseDont ( Parser & p)

ParseDont parse the dont command

Definition at line 27 of file parse_dont.cpp.

References atmdat, cdEXIT, CoolHeavy, DEBUG_ENTRY, dynamics, EXIT_FAILURE, FeII, fixit(), gv, hyperfine, Singleton< t_yield >::Inst(), ionbal, ioQQQ, ipH_LIKE, ipHE_LIKE, t_yield::kill_yield(), mole_global, Parser::nMatch(), nWindLine, opac, phycon, pressure, Parser::PrintLine(), prt, rfield, rt, save, secondaries, and thermal.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseDrive()

void ParseDrive ( Parser & p)

ParseDrive parse the drive command - drive calls to various subs

Parameters
*chCard

Definition at line 35 of file parse_drive.cpp.

References abund, abund_starburst(), cdEXIT, DEBUG_ENTRY, dgaunt(), DrvCaseBHS(), DrvContPump(), DrvEscP(), DrvHyas(), e2(), ee1(), EXIT_FAILURE, EXIT_SUCCESS, expn(), FFmtRead(), INPUT_LINE_LENGTH, ioQQQ, ioStdin, LIMELM, Parser::nMatch(), read_whole_line(), Parser::setline(), sexp(), TauDummy, trace, and VoigtH().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseElement()

void ParseElement ( Parser & p)

◆ ParseExtinguish()

void ParseExtinguish ( Parser & p)

Definition at line 9 of file parse_extinguish.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), 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

Definition at line 10 of file parse_f_nu.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), FR1RYD, HIONPOT, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), radius, 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

Definition at line 8 of file parse_fluc.cpp.

References ASSERT, cdEXIT, DEBUG_ENTRY, dense, EXIT_FAILURE, Parser::FFmtRead(), 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

Definition at line 11 of file parse_globule.cpp.

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

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseGrain()

void ParseGrain ( Parser & p)

◆ ParseGrid()

void ParseGrid ( Parser & p)

ParseGrid parse the grid command

Parameters
*chCard

Definition at line 10 of file parse_grid.cpp.

References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fp_equal(), grid, ioQQQ, Parser::lgEOL(), LIMPAR, max(), MAX2, nint(), Parser::nMatch(), and optimize.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseHDEN()

void ParseHDEN ( Parser & p)

ParseHDEN parse the HDEN command

Definition at line 11 of file parse_hden.cpp.

References cdEXIT, DEBUG_ENTRY, dense, EXIT_FAILURE, Parser::FFmtRead(), 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:

◆ ParseIlluminate()

void ParseIlluminate ( Parser & p)

◆ ParseInit()

void ParseInit ( Parser & p)

ParseInit parse the init command

Definition at line 9 of file parse_init.cpp.

References AS_LOCAL_DATA, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, FILENAME_PATH_LENGTH_2, Parser::GetQuote(), input, ioQQQ, lgInputComment(), NKRD, Parser::nMatch(), open_data(), read_whole_line(), and trace.

Referenced by ParseInitCount().

Here is the call graph for this function:

◆ ParseInterp()

void ParseInterp ( Parser & p)

ParseInterp parse parameters on interpolate command

Parameters
*chCard
*lgEOF

Definition at line 11 of file parse_interp.cpp.

References called, cdEXIT, DEBUG_ENTRY, Parser::echo(), EXIT_FAILURE, EXIT_SUCCESS, Parser::FFmtRead(), FR1RYD, Parser::getline(), input, ioQQQ, Parser::isComment(), Parser::last(), Parser::lgEOL(), LIMSPC, Parser::m_lgEOF, max(), NCELL, rfield, Parser::strcmp(), 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

Definition at line 20 of file parse_ionpar.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, radius, 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

Definition at line 11 of file parse_ionpar.cpp.

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

Definition at line 15 of file parse_ionpar.cpp.

References ParseIonPar().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseMap()

void ParseMap ( Parser & p)

ParseMap parse map command to produce map of heating and cooling

Definition at line 9 of file parse_map.cpp.

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

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseMetal()

void ParseMetal ( Parser & p)

ParseMetal parse parameters on metal command

Definition at line 12 of file parse_metal.cpp.

References abund, called, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), gv, input, ioQQQ, Parser::lgEOL(), LIMELM, Parser::nMatch(), optimize, and Parser::PrintLine().

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

Definition at line 10 of file parse_norm.cpp.

References cap4(), cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), Parser::GetQuote(), Parser::getWave(), input, INPUT_LINE_LENGTH, ioQQQ, Parser::lgEOL(), LineSave, Parser::nMatch(), and WavlenErrorGet().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseOptimize()

◆ ParsePlot()

void ParsePlot ( Parser & p)

ParsePlot parse the plot command

Definition at line 16 of file parse_plot.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, ioQQQ, NDPLOT, Parser::nMatch(), ParsePlotRangeContin(), ParsePlotRangeOption(), and plotCom.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParsePowerlawContinuum()

void ParsePowerlawContinuum ( Parser & p)

ParsePowerlawContinuum parse the power law continuum command

Definition at line 11 of file parse_powerlawcontinuum.cpp.

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

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParsePrint()

◆ ParsePrtLineSum()

void ParsePrtLineSum ( Parser & p)

Definition at line 20 of file prt_linesum.cpp.

References cdEXIT, chSMLab, DEBUG_ENTRY, EXIT_FAILURE, Parser::getCommand(), Parser::getline(), Parser::getWaveOpt(), ioQQQ, ipLine, lgFirst, Parser::m_lgEOF, MALLOC, nlsum, NRDSUM, Parser::strcmp(), and wavelength.

Referenced by ParsePrint().

Here is the call graph for this function:

◆ ParseRadius()

void ParseRadius ( Parser & p)

ParseRadius parse the radius command

Definition at line 13 of file parse_radius.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), input, ioQQQ, iterations, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, PARSEC, 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

Definition at line 9 of file parse_rangeoption.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), HIONPOT, 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

Definition at line 14 of file parse_ratio.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, 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

Definition at line 272 of file parser.h.

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

Definition at line 9 of file parse_sphere.cpp.

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

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseState()

void ParseState ( Parser & p)

ParseState save or recover previous state of the code

Parameters
*chCard

Definition at line 10 of file parse_state.cpp.

References AS_LOCAL_ONLY, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::GetQuote(), INPUT_LINE_LENGTH, ioQQQ, Parser::nMatch(), open_data(), and state.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseStop()

◆ ParseTable()

◆ ParseTest()

◆ ParseTLaw()

void ParseTLaw ( Parser & p)

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

Parameters
*chCard

Definition at line 13 of file parse_tlaw.cpp.

References cdEXIT, DEBUG_ENTRY, dense, EXIT_FAILURE, Parser::FFmtRead(), Parser::getline(), input, ioQQQ, Parser::lgEOL(), LIMEXT, LIMTABDLAW, Parser::m_lgEOF, Parser::nMatch(), optimize, Parser::strcmp(), TempChange(), and thermal.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseTrace()

void ParseTrace ( Parser & p)

ParseTrace parse the trace command

Definition at line 11 of file parse_trace.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), 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: