/home66/gary/public_html/cloudy/c10_branch/source/parser.h File Reference

#include <stdio.h>
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

typedef void(* OptionParser)(Parser &)

Definition at line 20 of file parser.h.


Function Documentation

bool isBoundaryChar ( char  c  ) 

Definition at line 60 of file parser.cpp.

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

Definition at line 244 of file parser.h.

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 31 of file parser.cpp.

References ASSERT, DEBUG_ENTRY, and isBoundaryChar().

Here is the call graph for this function:

void parse_save_average ( Parser p,
long int  ipPun,
char *  chHeader 
)
void parse_save_colden ( Parser p,
char  chHeader[] 
)
void parse_save_line ( Parser p,
bool  lgLog3,
char *  chHeader 
)
void Parse_Save_Line_RT ( Parser p  ) 
void ParseAbsMag ( Parser p  ) 

ParseAbsMag parse the absolute magnitude command

Definition at line 9 of file parse_absmag.cpp.

References called, cdEXIT, t_rfield::chRSpec, t_rfield::chSpNorm, DEBUG_ENTRY, t_rfield::egamry, t_rfield::emm, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), t_called::lgTalk, t_rfield::lgTimeVary, LIMSPC, Parser::m_nqh, Parser::nMatch(), t_rfield::range, rfield, and t_rfield::totpow.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseAbundances ( Parser p  ) 
void ParseAbundancesNonSolar ( Parser p  ) 

ParseAbundances parse and read in composition as set by abundances command

Parameters:
*chCard 
lgDSet 

Definition at line 791 of file parse_commands.cpp.

References abund, t_abund::lgAbnSolar, and ParseAbundances().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseAge ( Parser p  ) 

ParseAge - parse the age command

Definition at line 39 of file parse_age.cpp.

References cdEXIT, t_timesc::CloudAgeSet, DEBUG_ENTRY, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), NUMBEROF, Parser::nWord(), parserProcess(), pow(), timesc, and Time::TimeUnits.

Referenced by ParseCommands().

Here is the call graph for this function:

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, t_rfield::chSpType, t_rfield::cutoff, DEBUG_ENTRY, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), LIMSPC, Parser::nMatch(), t_rfield::nShape, pow(), rfield, sexp(), t_rfield::slope, and TE1RYD.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseAtomH2 ( Parser p  ) 
void ParseAtomISO ( long  ipISO,
Parser p 
)
void ParseBackgrd ( Parser p  ) 
void ParseBlackbody ( Parser p  ) 
void ParseCaseB ( Parser p  ) 
void ParseCMB ( double  z,
long int *  nqh 
)
void ParseCompile ( Parser p  ) 
void ParseConstant ( Parser p  ) 
void ParseCoronal ( Parser p  ) 
void ParseCosmicRays ( Parser p  ) 
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(), t_cosmology::h, ioQQQ, t_cosmology::lgDo, Parser::nMatch(), t_cosmology::omega_baryon, t_cosmology::omega_k, t_cosmology::omega_lambda, t_cosmology::omega_matter, t_cosmology::omega_rad, and TotalInsanity().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseCrashDo ( Parser p  ) 

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

Parameters:
*chCard 

Definition at line 37 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, 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:

void ParseDLaw ( Parser p  ) 
void ParseDont ( Parser p  ) 

ParseDont parse the dont command

Definition at line 26 of file parse_dont.cpp.

References atmdat, cdEXIT, co, t_rfield::comoff, CoolHeavy, DEBUG_ENTRY, t_rfield::DiffPumpOn, dynamics, FeII, fixit(), gv, t_atmdat::HCharHeatOn, hmi, hyperfine, Singleton< t_yield >::Inst(), ionbal, ioQQQ, ipH_LIKE, ipHE_LIKE, t_yield::kill_yield(), t_atmdat::lgCollIonOn, t_ionbal::lgCompRecoil, t_dynamics::lgCoolHeat, t_atmdat::lgCTOn, GrainVar::lgDColOn, t_rfield::lgDoLineTrans, t_rt::lgElecScatEscape, t_CoolHeavy::lgFreeOn, t_rt::lgFstOn, t_mole::lgGrain_mole_deplete, GrainVar::lgGrainElectrons, t_ionbal::lgGrainIonRecom, GrainVar::lgGrainPhysicsOn, t_rfield::lgHeIIOTS, t_rfield::lgInducProcess, t_ionbal::lgInnerShellLine_on, t_rfield::lgIonizReevaluate, t_dynamics::lgISO, t_rfield::lgKillOTSLine, t_rfield::lgKillOutCont, t_rfield::lgKillOutLine, t_pressure::lgLineRadPresOn, t_hyperfine::lgLya_pump_21cm, t_rfield::lgLyaOTS, t_FeII::lgLyaPumpOn, t_dynamics::lgMETALS, t_co::lgNoCOMole, t_ionbal::lgNoCota, t_hmi::lgNoH2Mole, t_rfield::lgOpacityFine, t_rfield::lgOpacityReevaluate, t_opac::lgOpacStatic, t_ionbal::lgPhotoIoniz_On, t_phycon::lgPhysOK, t_thermal::lgPredNextTe, t_prt::lgPrintTime, GrainVar::lgQHeatOn, t_opac::lgScatON, t_secondaries::lgSecOFF, t_rt::lgStarkON, t_opac::lgUseFileOpac, GrainVar::lgWD01, mole, Parser::nMatch(), nWindLine, opac, t_opac::otsmin, phycon, pressure, Parser::PrintLine(), prt, rfield, rt, secondaries, and thermal.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseDrive ( Parser p  ) 

ParseDrive parse the drive command - drive calls to various subs

Parameters:
*chCard 

Definition at line 34 of file parse_drive.cpp.

References abund, abund_starburst(), cdEXIT, DEBUG_ENTRY, dgaunt(), DrvCaseBHS(), DrvContPump(), DrvEscP(), DrvHyas(), e2(), ee1(), transition::Emis, expn(), FFmtRead(), INPUT_LINE_LENGTH, ioQQQ, ioStdin, t_trace::lgDrv_cdLine, t_trace::lgPtrace, LIMELM, Parser::nMatch(), pow(), read_whole_line(), Parser::setline(), sexp(), t_abund::solar, TauDummy, t_emission::TauIn, and trace.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseElement ( Parser p  ) 
void ParseExtinguish ( Parser p  ) 
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, t_rfield::chRSpec, t_rfield::chSpNorm, DEBUG_ENTRY, Parser::FFmtRead(), FR1RYD, HIONPOT, ioQQQ, Parser::lgEOL(), t_rfield::lgTimeVary, LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), pow(), t_radius::Radius, radius, t_rfield::range, t_radius::rdfalt, 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 ParseFluc ( Parser p  ) 

ParseFluc parse the fluctuations command

Definition at line 8 of file parse_fluc.cpp.

References ASSERT, cdEXIT, t_dense::cfirst, t_dense::chDenseLaw, t_dense::csecnd, DEBUG_ENTRY, dense, Parser::FFmtRead(), t_dense::flcPhase, t_dense::flong, t_dense::gas_phase, ioQQQ, ipHYDROGEN, t_dense::lgDenFlucOn, t_dense::lgDenFlucRadius, Parser::lgEOL(), Parser::nMatch(), and pow().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseGlobule ( Parser p  ) 
void ParseGrain ( Parser p  ) 
void ParseGrid ( Parser p  ) 
void ParseHDEN ( Parser p  ) 
void ParseIlluminate ( Parser p  ) 
void ParseInit ( Parser p  ) 

ParseInit parse the init command

Definition at line 9 of file parse_init.cpp.

References AS_LOCAL_DATA, cdEXIT, t_input::chCardSav, DEBUG_ENTRY, FILENAME_PATH_LENGTH_2, Parser::GetQuote(), input, ioQQQ, lgInputComment(), t_trace::lgTrace, NKRD, Parser::nMatch(), t_input::nSave, t_input::nSaveIni, open_data(), read_whole_line(), and trace.

Referenced by ParseInitCount().

Here is the call graph for this function:

void ParseInterp ( Parser p  ) 
void ParseIonPar ( Parser p,
char  chType 
)
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:

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:

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, Parser::FFmtRead(), hcmap, ioMAP, ioQQQ, Parser::lgEOL(), t_hcmap::MapZone, Parser::nMatch(), pow(), and t_hcmap::RangeMap.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseMetal ( Parser p  ) 
void ParseNorm ( Parser p  ) 
void ParseOptimize ( Parser p  ) 
void ParsePlot ( Parser p  ) 

ParsePlot parse the plot command

Definition at line 16 of file parse_plot.cpp.

References cdEXIT, t_plotCom::chPType, DEBUG_ENTRY, ioQQQ, t_plotCom::lgPlotON, t_plotCom::lgPltTrace, NDPLOT, Parser::nMatch(), t_plotCom::nplot, ParsePlotRangeContin(), ParsePlotRangeOption(), and plotCom.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParsePowerlawContinuum ( Parser p  ) 
void ParsePrint ( Parser p  ) 
void ParsePrtLineSum ( Parser p  ) 

Definition at line 20 of file prt_linesum.cpp.

References cdEXIT, chSMLab, DEBUG_ENTRY, 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:

void ParseRadius ( Parser p  ) 
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, t_rfield::egamry, t_rfield::emm, Parser::FFmtRead(), HIONPOT, ioQQQ, Parser::lgEOL(), Parser::m_nqh, MAX2, MIN2, Parser::nMatch(), pow(), t_rfield::range, rfield, and Parser::set_point().

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

Here is the call graph for this function:

void ParseRatio ( Parser p  ) 
template<typename T , typename V >
bool parserProcess ( Parser p,
T *  list,
unsigned long  nlist,
V *  value 
) [inline]

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

Definition at line 265 of file parser.h.

References Parser::nWord().

Referenced by ParseAge().

Here is the call graph for this function:

void ParseSave ( Parser p  ) 

ParseSave parse the save command

Parameters:
*chCard 

Definition at line 61 of file parse_save.cpp.

References AS_LOCAL_ONLY, cdEXIT, cdGetLineList(), t_save::chAverageSpeciesLabel, t_save::chAverageType, t_save::chConPunEnr, t_elementnames::chElementNameShort, t_elementnames::chElementSym, t_save::chFilenamePrefix, t_save::chGridPrefix, t_save::chHeader, ChkUnits(), chLabel, t_save::chLineListLabel, t_save::chNONSENSE, t_save::chOpcTyp, t_save::chPunRltType, t_save::chSave, t_save::chSaveArgs, t_input::chTitle, t_version::chVersion, cpu, DEBUG_ENTRY, t_rfield::egamry, elementnames, t_save::emisfreq, t_rfield::emm, t_FeII::fe2ener, t_FeII::fe2thresh, FeII, Parser::FFmtRead(), t_save::FITStype, geometry, Parser::GetElem(), Parser::GetQuote(), grid, GridPointPrefix(), gv, H2_ParseSave(), hcmap, t_grid::HiEnergy_keV, input, INPUT_LINE_LENGTH, Singleton< t_version >::Inst(), ioMAP, ioQQQ, t_save::ioRecom, ipCARBON, t_save::ipDRout, ipHELIUM, ipHYDROGEN, ipOXYGEN, t_save::ipPnunit, t_save::ipPoint, t_save::ipPunConv, t_save::ipTraceConvergeBase, is_odd(), t_save::lg_separate_iterations, t_save::lgDRHash, t_save::lgDROn, lgDROn_noclobber, t_save::lgDRPLst, t_save::lgEmergent, Parser::lgEOL(), t_save::lgFITS, t_grid::lgGrid, t_save::lgHashEndIter, t_save::lgioRecom, lgioRecom_noclobber, t_save::lgLineListRatio, t_save::lgLinEvery, t_cpu::lgMPI(), lgNoClobber, t_grid::lgOutputTypeOn, t_save::lgPunContinuum, t_save::lgPunConv, lgPunConv_noclobber, t_save::lgPunHeader, t_save::lgPunLstIter, t_save::lgPunPoint, lgPunPoint_noclobber, GrainVar::lgQHPunLast, lgQHSaveFile_noclobber, t_save::lgRealSave, t_save::lgSaveEveryZone, t_rfield::lgSaveOpacityFine, t_save::lgSaveToSeparateFiles, t_FeII::lgShortFe2, t_save::lgTraceConvergeBase, lgTraceConvergeBase_noclobber, t_save::lgTraceConvergeBaseHash, LIMELM, LIMPUN, t_save::LinEvery, t_grid::LoEnergy_keV, MALLOC, t_hcmap::MapZone, MAX_HEADER_SIZE, t_save::nAverage2ndPar, t_save::nAverageIonList, t_save::nAverageList, t_geometry::nend, NFE2LEVN, t_save::nLineList, nMatch(), Parser::nMatch(), Parser::nMatchErase(), Parser::NoNumb(), t_optimize::nOptimiz, t_save::nsave, t_save::nSaveEveryZone, NUM_OUTPUT_TYPES, open_data(), optimize, t_save::optname, parse_save_average(), parse_save_colden(), parse_save_line(), Parse_Save_Line_RT(), pow(), t_save::punarg, GrainVar::QHSaveFile, t_hcmap::RangeMap, rfield, Energy::Ryd(), save, Energy::set(), sprt_wl(), strchr_s(), TotalInsanity(), WAVNRYD, and t_save::wlLineList.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseSet ( Parser p  ) 

ParseSet parse the set command

Definition at line 42 of file parse_set.cpp.

References t_PredCont::add(), t_dynamics::AdvecLengthInit, atmdat, t_co::C12_C13_isotope_ratio, cdEXIT, t_save::chFilenamePrefix, t_hmi::chGrainFormPump, t_hmi::chH2_small_model_type, t_save::chHashString, t_hmi::chJura, GrainVar::chPAH_abundance, t_dynamics::chPresMode, t_optimize::chVarFmt, co, continuum, conv, cpu, t_hydro::D2H_ratio, DEBUG_ENTRY, dense, DEPTH_OFFSET, t_ionbal::DR_S_scale, t_radius::drChange, dynamics, t_conv::EdenErrorAllowed, t_dense::EdenSet, t_rfield::egamry, t_rfield::emm, t_continuum::EnergyKshell, t_FeII::feconwlHi, t_FeII::feconwlLo, FeII, 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, geometry, Parser::GetElem(), Parser::GetQuote(), GrainVar::GrainHeatScaleFactor, t_ionbal::guess_noise, gv, h2, t_hmi::H2_formation_scale, t_hmi::H2_frac_abund_set, hcmap, t_dense::HCorrFac, t_atmdat::HCTAlex, t_conv::HeatCoolRelErrorAllowed, hmi, hydro, init_genrand(), input, INPUT_LINE_LENGTH, Singleton< T >::Inst(), Singleton< t_PredCont >::Inst(), ionbal, ioQQQ, ipSULPHUR, iso, t_iterations::iter_malloc, iterations, t_ionbal::lg_guess_coef, GrainVar::lgBakesPAH_heat, t_iso::lgCollStrenThermAver, t_iterations::lgConverge_set, t_secondaries::lgCSetOn, t_prt::lgDiffuseInward, t_prt::lgDiffuseOutward, t_ionbal::lgDR_recom_Badnell_use, t_geometry::lgEndDflt, Parser::lgEOL(), t_dynamics::lgEquilibrium, t_co::lgFederman, t_save::lgFLUSH, t_h2::lgH2_H_coll_07, t_mole::lgH2_He_ORNL, t_ionbal::lgHO_ct_chem, t_iso::lgInd2nu_On, t_ionbal::lgInnerShell_Gu06, t_ionbal::lgInnerShell_Kisielius, t_atmdat::lgLamdaOn, t_hmi::lgLeiden_Keep_ipMH2s, t_hmi::lgLeidenCRHack, t_opac::lgNegOpacIO, t_co::lgNeutrals, t_co::lgNonEquilChem, t_NumDeriv::lgNumDeriv, t_phycon::lgPhysOK, t_prt::lgPrnDiff, t_co::lgProtElim, lgPrtSciNot, t_ionbal::lgRecom_Badnell_print, t_ionbal::lgRR_recom_Badnell_use, t_radius::lgSdrmaxRel, t_radius::lgSdrminRel, t_dynamics::lgSetPresMode, t_radius::lgSMinON, t_prt::lgSourceReflected, t_prt::lgSourceTransmitted, t_ionbal::lgSupDie, lgTestCodeEnabled, t_ionbal::lgTrimhiOn, t_co::lgUMISTrates, t_optimize::lgVarOn, t_iterations::lim_iter, t_iterations::lim_zone, t_conv::limPres2Ioniz, LINE_CONT_SHIELD_FEDERMAN, LINE_CONT_SHIELD_FERLAND, LINE_CONT_SHIELD_PESC, LineSave, MAX2, MIN2, mole, t_dynamics::n_initial_relax, NCHS, t_save::ncSaveSkip, t_ionbal::nDR_S_guess, t_geometry::nend, t_geometry::nEndDflt, t_FeII::nfe2con, nint(), t_rt::nLineContShield, t_hcmap::nMapStep, Parser::nMatch(), Parser::NoNumb(), t_optimize::nparm, t_input::nRead, NumDeriv, t_optimize::nvarxt, t_optimize::nvfpnt, opac, optimize, peimbt, PHFIT95, PHFIT96, phycon, pow(), t_conv::PressureErrorAllowed, Parser::PrintLine(), prt, radius, t_hmi::rate_h2_form_grains_set, t_save::Resolution, t_save::ResolutionAbs, t_continuum::ResolutionScaleFactor, rfield, rt, save, t_hmi::ScaleJura, t_radius::sdrmax, t_radius::sdrmin, secondaries, t_cpu::setAssertAbort(), t_secondaries::SetCsupra, Parser::setEOL(), SetNChrgStates(), t_dynamics::ShockDepth, t_dynamics::ShockMach, t_LineSave::sig_figs, SMALLFLOAT, SPEEDLIGHT, Parser::StandardEnergyUnit(), StopCalc, t_hmi::Tad, t_StopCalc::TeFloor, t_phycon::TEMP_LIMIT_HIGH, t_phycon::TEMP_LIMIT_LOW, TotalInsanity(), t_ionbal::trimhi, t_ionbal::trimlo, t_peimbt::tsqden, UNUSED, t_optimize::varang, t_optimize::vincr, t_optimize::vparm, and t_save::WeakHeatCool.

Referenced by ParseCommands(), and ParseTest().

Here is the call graph for this function:

void ParseSphere ( Parser p  ) 

ParseSphere parse the sphere command

Definition at line 9 of file parse_sphere.cpp.

References t_geometry::covgeo, t_geometry::covrt, DEBUG_ENTRY, Parser::FFmtRead(), geometry, ioQQQ, Parser::lgEOL(), t_opac::lgScatON, t_geometry::lgSphere, t_geometry::lgStatic, t_geometry::lgStaticNoIt, Parser::nMatch(), opac, and t_opac::tlamin.

Referenced by ParseCommands().

Here is the call graph for this function:

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, t_state::chGetFilename, t_state::chPutFilename, DEBUG_ENTRY, Parser::GetQuote(), INPUT_LINE_LENGTH, ioQQQ, t_state::lgGet_state, t_state::lgPut_state, t_state::lgPutAll, t_state::lgState_print, Parser::nMatch(), open_data(), and state.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseStop ( Parser p  ) 

ParseStop parse the stop command

Definition at line 17 of file parse_stop.cpp.

References t_PredCont::add(), t_StopCalc::AV_extended, t_StopCalc::AV_point, cdEXIT, 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_rfield::egamry, t_rfield::emm, EVRYD, Parser::FFmtRead(), fixit(), geometry, Parser::GetQuote(), Parser::getWaveOpt(), t_StopCalc::HColStop, input, Singleton< t_PredCont >::Inst(), ioQQQ, t_iterations::iter_malloc, iterations, t_geometry::lgEndDflt, Parser::lgEOL(), t_StopCalc::lgStop21cm, t_StopCalc::lgStopSpeciesColumn, t_optimize::lgVarOn, t_geometry::lgZoneSet, max(), MAX2, MIN2, MXSTPL, t_StopCalc::nEmergent, t_geometry::nend, Parser::nMatch(), Parser::NoNumb(), t_optimize::nparm, t_input::nRead, t_StopCalc::nstpl, t_StopCalc::nTotalIonizStop, t_optimize::nvarxt, t_optimize::nvfpnt, optimize, PARSEC, phycon, pow(), Parser::PrintLine(), radius, 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_radius::StopRadius, t_radius::StopThickness, t_StopCalc::StopVelocity, t_StopCalc::stpint, 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, 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 

Definition at line 307 of file parse_table.cpp.

References ASSERT, AtlasInterpolate(), AtmospheresAvail(), BIGFLOAT, cdEXIT, cdGetLineList(), cfle, cflf, chLabel, chLINE_LIST, t_rfield::chRSpec, t_rfield::chSpNorm, t_rfield::chSpType, t_optimize::chVarFmt, CoStarInterpolate(), DEBUG_ENTRY, t_rfield::egamry, t_rfield::emm, Parser::FFmtRead(), FILENAME_PATH_LENGTH_2, fnuakn, fnucrb, fnuHM96, fnuism, fnurbn, Parser::GetQuote(), GridInterpolate(), HIONPOT, t_rfield::Illumination, IM_COSTAR_AGE_MZAMS, IM_COSTAR_MZAMS_AGE, IM_COSTAR_TEFF_LOGG, IM_COSTAR_TEFF_MODID, IM_ILLEGAL_MODE, input, ioQQQ, Kurucz79Interpolate(), t_rfield::lgBeamed, lgCalled, t_trace::lgConBug, t_rfield::lgContMalloc, Parser::lgEOL(), t_rfield::lgMustBlockHIon, t_radius::lgRadiusKnown, t_rfield::lgTimeVary, t_trace::lgTrace, t_optimize::lgVarOn, LIMEXT, LIMSPC, Parser::m_nqh, MDIM, MihalasInterpolate(), NAGN, NCELL, NCFL, t_rfield::ncont, NCRAB, NDRAINE, NHM96, NISM, NKN120, nLINE_TABLE, Parser::nMatch(), Parser::nMatchErase(), t_optimize::nparm, t_input::nRead, NRUBIN, t_rfield::nShape, t_rfield::nupper, t_optimize::nvarxt, t_optimize::nvfpnt, optimize, PI4, pow(), t_radius::Radius, radius, t_rfield::range, RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), t_radius::rdfalt, read_hm05(), ReadTable(), rfield, RYDLAM, SDIV(), Illuminate::SYMMETRIC, t_rfield::tFluxLog, TL_BSTAR, TL_OBSTAR, TL_OSTAR, TlustyInterpolate(), t_rfield::tNu, tnuagn, tnuakn, tnucrb, tnudrn, tnuHM96, tnuism, tnurbn, TotalInsanity(), t_rfield::totpow, trace, tslagn, tsldrn, t_rfield::tslop, t_optimize::varang, t_optimize::vincr, t_optimize::vparm, WernerInterpolate(), wl, WMBASICInterpolate(), and ZeroContin().

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

Here is the call graph for this function:

void ParseTest ( Parser p  ) 
void ParseTLaw ( Parser p  ) 
void ParseTrace ( Parser p  ) 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1