cloudy trunk
|
#include <stdio.h>
#include <map>
Go to the source code of this file.
Data Structures | |
struct | CloudyCommand |
class | Parser |
class | KeyAction< V > |
class | UnitConverter |
Typedefs | |
typedef void(* | OptionParser) (Parser &) |
bool isBoundaryChar | ( | char | c | ) |
Definition at line 83 of file parser.cpp.
Referenced by Parser::nMatch1(), and nWord().
|
inline |
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
*chKey | |
*chCard |
Definition at line 37 of file parser.cpp.
References ASSERT, DEBUG_ENTRY, and isBoundaryChar().
void parse_save_average | ( | Parser & | p, |
long int | ipPun, | ||
char * | chHeader ) |
Definition at line 12 of file save_average.cpp.
References ASSERT, cdEXIT, DEBUG_ENTRY, elementnames, EXIT_FAILURE, Parser::FFmtRead(), Parser::GetElem(), Parser::getline(), input, INPUT_LINE_LENGTH, ioQQQ, Parser::lgEOL(), Parser::m_lgEOF, nLine, Parser::nMatch(), Parser::NoNumb(), save, and Parser::strcmp().
Referenced by ParseSave().
void parse_save_colden | ( | Parser & | p, |
char | chHeader[] ) |
Definition at line 17 of file save_colden.cpp.
References cdEXIT, chElement, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), Parser::getCommand(), Parser::getline(), INPUT_LINE_LENGTH, ionstage, ioQQQ, Parser::lgEOL(), Parser::m_lgEOF, nColdenEntered, Parser::NoNumb(), NPUNLM, and Parser::strcmp().
Referenced by ParseSave().
Definition at line 33 of file save_line.cpp.
References cdEXIT, chPLab, DEBUG_ENTRY, EXIT_FAILURE, Parser::getline(), Parser::getLineID(), INPUT_LINE_LENGTH, ioQQQ, lgRelativeIntensity, Parser::m_lgEOF, nLinesEntered, NPUNLM, sprt_wl(), Parser::strcmp(), and wavelength.
Referenced by ParseSave().
void Parse_Save_Line_RT | ( | Parser & | p | ) |
Definition at line 291 of file save_line.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), Parser::getline(), ioQQQ, Parser::lgEOL(), lgMustPrintHeader, LIMLINE, line_RT_ipHi, line_RT_ipISO, line_RT_ipLo, line_RT_nelem, line_RT_type, Parser::m_lgEOF, nLine, Parser::nMatch(), and Parser::PrintLine().
Referenced by ParseSave().
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().
void ParseAbundances | ( | Parser & | p | ) |
Definition at line 14 of file parse_abundances.cpp.
References abund, abund_starburst(), cdEXIT, DEBUG_ENTRY, GrainPar::dep, DF_STANDARD, Parser::echo(), elementnames, EXIT_FAILURE, Parser::FFmtRead(), Parser::getline(), gv, INPUT_LINE_LENGTH, ioQQQ, Parser::isComment(), Parser::lgEOL(), GrainPar::lgForbidQHeating, GrainPar::lgGreyGrain, GrainPar::lgRequestQHeating, LIMELM, Parser::m_lgDSet, Parser::m_lgEOF, mie_read_opc(), GrainPar::nDustFunc, Parser::nMatch(), ParseElement(), phycon, Parser::setline(), and Parser::strcmp().
Referenced by ParseAbundancesNonSolar(), and ParseTest().
void ParseAbundancesNonSolar | ( | Parser & | p | ) |
ParseAbundances parse and read in composition as set by abundances command
*chCard | |
lgDSet |
Definition at line 810 of file parse_commands.cpp.
References abund, and ParseAbundances().
Referenced by ParseCommands().
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().
void ParseAgn | ( | Parser & | p | ) |
ParseAgn parse parameters for the AGN continuum shape command
*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().
void ParseAtomH2 | ( | Parser & | p | ) |
ParseAtomH2 parse information from the rotor command line
*chCard |
Definition at line 13 of file parse_atom_h2.cpp.
References cdEXIT, diatomics::coll_source, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), t_coll_source::filename, fixit(), h2, diatomics::H2_to_H_limit, hmi, init_genrand(), ioQQQ, diatomics::lgColl_deexec_Calc, diatomics::lgColl_dissoc_coll, diatomics::lgColl_gbar, diatomics::lgEnabled, Parser::lgEOL(), diatomics::lgH2_grain_deexcitation, diatomics::lgH2_He_ORNL, diatomics::lgH2_NOISE, diatomics::lgH2_NOISECOSMIC, diatomics::lgH2_ORH2_ORNL, diatomics::lgH2_ortho_para_coll_on, diatomics::lgH2_PAH2_ORNL, diatomics::lgLTE, diatomics::lgREAD_DATA, N_ELEC, diatomics::n_elec_states, diatomics::n_trace_final, diatomics::n_trace_full, diatomics::n_trace_iterations, diatomics::n_trace_matrix, Parser::nMatch(), Parser::NoNumb(), diatomics::nTRACE, diatomics::set_numLevelsMatrix(), diatomics::xMeanNoise, and diatomics::xSTDNoise.
Referenced by ParseAtom(), and ParseTest().
void ParseAtomISO | ( | long | ipISO, |
Parser & | p ) |
ParseAtomISO parse the atom XX-like command, to set options for iso sequences
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().
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().
void ParseBlackbody | ( | Parser & | p | ) |
parse the blackbody command
*chCard | input command line, already changed to caps |
*nqh | counter for which continuum source this is |
*ar1 | optional 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().
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().
void ParseCMB | ( | double | z, |
long int * | nqh ) |
ParseCMB parse parameters from fireball command
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().
void ParseCompile | ( | Parser & | p | ) |
ParseCompile compile werner or kurucz model atmospheres into cloudy format, by K Volk
*chCard |
Definition at line 18 of file parse_compile.cpp.
References AtlasCompile(), atmdat_readin(), Badnell_rec_init(), cdEXIT, ContCreateMesh(), ContCreatePointers(), CoStarCompile(), DEBUG_ENTRY, dense, ES_FAILURE, ES_SUCCESS, EXIT_FAILURE, EXIT_SUCCESS, Parser::FFmtRead(), FILENAME_PATH_LENGTH_2, Parser::GetQuote(), GridCompile(), ioQQQ, ipH_LIKE, ipHE_LIKE, iso_ctrl, iso_sp, iso_update_num_levels(), Kurucz79Compile(), Parser::lgEOL(), LIKE_RREC_MAXN, LIMELM, mie_write_opc(), MihalasCompile(), process_counter::nFail, process_counter::nFound, Parser::nMatch(), Parser::nMatchErase(), process_counter::nOK, process_counter::notProcessed, opac, OpacityCreateAll(), RauchCompile(), rfield, RREC_MAXN, SB_NEBULAR, SB_STELLAR, SB_TOTAL, StarburstCompile(), StarburstInitialize(), strstr_s(), TlustyCompile(), WernerCompile(), and WMBASICCompile().
Referenced by ParseCommands().
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().
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().
void ParseCosmicRays | ( | Parser & | p | ) |
ParseCosmicRays parse the cosmic rays command
*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().
void ParseCosmology | ( | Parser & | p | ) |
ParseCosmology parse the cosmology command
*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().
void ParseCrashDo | ( | Parser & | p | ) |
ParseCrashDo any of several tests to check that the code can crash
*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().
void ParseDLaw | ( | Parser & | p | ) |
ParseDLaw parse parameters on the dlaw command so set some density vs depth law
*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().
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().
void ParseDrive | ( | Parser & | p | ) |
ParseDrive parse the drive command - drive calls to various subs
*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().
void ParseElement | ( | Parser & | p | ) |
ParseElement parse options on element command
Definition at line 15 of file parse_element.cpp.
References abund, ASSERT, cdEXIT, DEBUG_ENTRY, dense, elementnames, EXIT_FAILURE, Parser::FFmtRead(), Parser::GetElem(), Parser::getline(), input, ioQQQ, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_sp, Parser::lgEOL(), lgFirst, LIMELM, LIMTABD, Parser::m_lgEOF, NISO, Parser::nMatch(), optimize, Parser::PrintLine(), and Parser::strcmp().
Referenced by ParseAbundances(), and ParseCommands().
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().
ParseF_nu parse intensity command 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().
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().
void ParseGlobule | ( | Parser & | p | ) |
ParseGlobule parse parameters off the globule command
*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().
void ParseGrain | ( | Parser & | p | ) |
ParseGrain parse parameters on Peter's version of the grains command
*chCard | |
*lgDset |
Definition at line 12 of file parse_grain.cpp.
References cdEXIT, DEBUG_ENTRY, GrainPar::dep, DF_STANDARD, DF_SUBLIMATION, DF_USER_FUNCTION, EXIT_FAILURE, Parser::FFmtRead(), FILENAME_PATH_LENGTH_2, Parser::GetQuote(), gv, input, ioQQQ, GrainPar::lgForbidQHeating, GrainPar::lgGreyGrain, GrainPar::lgRequestQHeating, Parser::m_lgDSet, mie_read_opc(), GrainPar::nDustFunc, nMatch(), Parser::nMatch(), Parser::nMatchErase(), optimize, phycon, and TotalInsanity().
Referenced by ParseCommands().
void ParseGrid | ( | Parser & | p | ) |
ParseGrid parse the grid command
*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().
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().
void ParseIlluminate | ( | Parser & | p | ) |
Definition at line 16 of file parse_illuminate.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), Illuminate::FORWARD, geometry, input, ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, PI, RADIAN, Illuminate::REVERSE, rfield, and Illuminate::SYMMETRIC.
Referenced by ParseCommands().
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().
void ParseInterp | ( | Parser & | p | ) |
ParseInterp parse parameters on interpolate command
*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().
void ParseIonPar | ( | Parser & | p, |
char | chType ) |
ParseIonPar parse the ionization parameter command
*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().
void ParseIonParI | ( | Parser & | p | ) |
ParseIonParI parse the ionization parameter command (IONI variant)
*nqh | |
*chCard | |
*chType |
Definition at line 11 of file parse_ionpar.cpp.
References ParseIonPar().
Referenced by ParseCommands(), and ParseTest().
void ParseIonParX | ( | Parser & | p | ) |
ParseIonParX parse the ionization parameter command (XI variant)
*nqh | |
*chCard | |
*chType |
Definition at line 15 of file parse_ionpar.cpp.
References ParseIonPar().
Referenced by ParseCommands().
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().
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().
void ParseNorm | ( | Parser & | p | ) |
ParseNorm parse parameters on the normalize command
*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().
void ParseOptimize | ( | Parser & | p | ) |
ParseOptimize parse the optimize command
*chCard |
Definition at line 29 of file parse_optimize.cpp.
References t_PredCont::add(), cdEXIT, chOptimFileName, cpu, DEBUG_ENTRY, DEFERR, EXIT_FAILURE, Parser::FFmtRead(), GetOptColDen(), GetOptLineInt(), GetOptTemp(), Parser::GetQuote(), Singleton< t_PredCont >::Inst(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, Parser::PrintLine(), Parser::StandardEnergyUnit(), and Parser::StandardFluxUnit().
Referenced by ParseCommands().
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().
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().
void ParsePrint | ( | Parser & | p | ) |
ParsePrint parse the print command
*chCard |
Definition at line 116 of file parse_print.cpp.
References called, cdEXIT, cpu, DEBUG_ENTRY, elementnames, EXIT_FAILURE, Parser::FFmtRead(), Parser::GetElem(), Parser::getWaveOpt(), h2, Singleton< t_version >::Inst(), ionbal, ioQQQ, ipH_LIKE, ipHE_LIKE, ipHELIUM, ipHYDROGEN, iso_sp, iterations, Parser::lgEOL(), lgPrnErr, LIMELM, MAX2, Parser::nMatch(), Parser::NoNumb(), ParsePrtLineSum(), Parser::PrintLine(), prt, prt_constants(), PrtMacros(), rfield, and VoigtH().
Referenced by ParseCommands().
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().
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().
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().
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().
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().
void ParseSave | ( | Parser & | p | ) |
ParseSave parse the save command
*chCard |
Definition at line 51 of file parse_save.cpp.
References AS_LOCAL_ONLY, cdEXIT, cdGetLineList(), CHARS_SPECIES, ChkUnits(), DEBUG_ENTRY, elementnames, EXIT_FAILURE, FeII, Parser::FFmtRead(), geometry, Parser::GetElem(), Parser::GetQuote(), grid, gv, h2, hcmap, hd, input, INPUT_LINE_LENGTH, Singleton< t_version >::Inst(), ioMAP, ioQQQ, ipCARBON, ipHELIUM, ipHYDROGEN, ipOXYGEN, is_odd(), Parser::lgEOL(), LIMELM, LIMPUN, MAX2, MAX_HEADER_SIZE, MIN2, NFE2LEVN, nMatch(), Parser::nMatch(), Parser::nMatchErase(), Parser::NoNumb(), NUM_OUTPUT_TYPES, open_data(), parse_save_average(), parse_save_colden(), parse_save_line(), Parse_Save_Line_RT(), rfield, Energy::Ryd(), save, Energy::set(), sprt_wl(), Parser::StandardEnergyUnit(), strchr_s(), TotalInsanity(), and WAVNRYD.
Referenced by ParseCommands().
void ParseSet | ( | Parser & | p | ) |
ParseSet parse the set command
Definition at line 44 of file parse_set.cpp.
References t_PredCont::add(), atmdat, cdEXIT, co, continuum, conv, cpu, DEBUG_ENTRY, dense, DEPTH_OFFSET, t_atmdat::DIMA, dynamics, EXIT_FAILURE, FeII, Parser::FFmtRead(), geometry, Parser::GetElem(), Parser::GetQuote(), gv, h2, hcmap, hmi, t_atmdat::HYBRID, hydro, init_genrand(), input, INPUT_LINE_LENGTH, Singleton< t_ADfA >::Inst(), Singleton< t_PredCont >::Inst(), ionbal, ioQQQ, ipHELIUM, iso_ctrl, iterations, Parser::lgEOL(), lgPrtSciNot, lgTestCodeEnabled, LIMELM, LINE_CONT_SHIELD_FEDERMAN, LINE_CONT_SHIELD_FERLAND, LINE_CONT_SHIELD_PESC, LineSave, MAX2, MIN2, mole_global, NCHU, nint(), Parser::nMatch(), Parser::NoNumb(), NumDeriv, opac, optimize, peimbt, PHFIT95, PHFIT96, phycon, Parser::PrintLine(), prt, radius, rfield, rt, save, secondaries, t_ADfA::set_version(), Parser::setEOL(), SetNChrgStates(), SMALLFLOAT, SPEEDLIGHT, Parser::StandardEnergyUnit(), StopCalc, TotalInsanity(), and UNUSED.
Referenced by ParseCommands(), and ParseTest().
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().
void ParseState | ( | Parser & | p | ) |
ParseState save or recover previous state of the code
*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().
void ParseStop | ( | Parser & | p | ) |
ParseStop parse the stop command
Definition at line 17 of file parse_stop.cpp.
References t_PredCont::add(), cdEXIT, CHARS_SPECIES, DEBUG_ENTRY, EVRYD, EXIT_FAILURE, Parser::FFmtRead(), geometry, Parser::GetQuote(), Parser::getWaveOpt(), input, Singleton< t_PredCont >::Inst(), ioQQQ, iterations, Parser::lgEOL(), max(), MAX2, MIN2, MXSTPL, Parser::nMatch(), Parser::NoNumb(), optimize, PARSEC, phycon, Parser::PrintLine(), radius, rfield, SMALLFLOAT, Parser::StandardEnergyUnit(), Parser::StandardFluxUnit(), and StopCalc.
Referenced by ParseCommands(), and ParseTest().
void ParseTable | ( | Parser & | p | ) |
ParseTable parse the table read command
*nqh | |
*chCard | |
*ar1 |
Definition at line 340 of file parse_table.cpp.
References AS_LOCAL_DATA_TRY, ASSERT, AtlasInterpolate(), AtmospheresAvail(), BIGFLOAT, cdEXIT, cfle, cflf, chLINE_LIST, CoStarInterpolate(), DEBUG_ENTRY, EVRYD, EXIT_FAILURE, EXIT_SUCCESS, Parser::FFmtRead(), FILENAME_PATH_LENGTH_2, fnuakn, fnucrb, fnuHM96, fnuism, fnurbn, FR1RYD, Parser::GetQuote(), GridInterpolate(), HIONPOT, IM_COSTAR_AGE_MZAMS, IM_COSTAR_MZAMS_AGE, IM_COSTAR_TEFF_LOGG, IM_COSTAR_TEFF_MODID, IM_ILLEGAL_MODE, input, ioQQQ, Kurucz79Interpolate(), lgCalled, Parser::lgEOL(), LIMEXT, LIMSPC, Parser::m_nqh, MDIM, MihalasInterpolate(), NAGN, NCELL, NCFL, NCRAB, NDRAINE, NHM96, NISM, NKN120, Parser::nMatch(), Parser::nMatchErase(), NRUBIN, open_data(), optimize, PI4, radius, RauchInterpolateCOWD(), RauchInterpolateHCa(), RauchInterpolateHelium(), RauchInterpolateHNi(), RauchInterpolateHpHe(), RauchInterpolateHydr(), RauchInterpolatePG1159(), read_hm05(), ReadTable(), resetBltin(), rfield, RYDLAM, SDIV(), SMALLFLOAT, Illuminate::SYMMETRIC, TL_BSTAR, TL_OBSTAR, TL_OSTAR, TlustyInterpolate(), tnuagn, tnuakn, tnucrb, tnudrn, tnuHM96, tnuism, tnurbn, TotalInsanity(), trace, tslagn, tsldrn, WernerInterpolate(), WMBASICInterpolate(), and ZeroContin().
Referenced by ParseBackgrd(), ParseCommands(), and ParseTest().
void ParseTest | ( | Parser & | p | ) |
ParseTest parse the test command
Definition at line 11 of file parse_test.cpp.
References DEBUG_ENTRY, INPUT_LINE_LENGTH, ioQQQ, ipH_LIKE, Parser::nMatch(), ParseAbundances(), ParseAtomFeII(), ParseAtomH2(), ParseAtomISO(), ParseCaseB(), ParseConstant(), ParseCosmicRays(), ParseExtinguish(), ParseHDEN(), ParseIonParI(), ParseMonitorResults(), ParseSet(), ParseStop(), ParseTable(), ParseTrace(), Parser::set_point(), and Parser::setline().
Referenced by ParseCommands().
void ParseTLaw | ( | Parser & | p | ) |
ParseTLaw parse parameters on the tlaw command to set some temperature vs depth
*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().
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().