cloudy trunk
|
#include "cddefines.h"
#include "physconst.h"
#include "optimize.h"
#include "doppvel.h"
#include "stopcalc.h"
#include "abund.h"
#include "geometry.h"
#include "dense.h"
#include "plot.h"
#include "grid.h"
#include "rfield.h"
#include "grainvar.h"
#include "dynamics.h"
#include "magnetic.h"
#include "trace.h"
#include "atmdat.h"
#include "h2.h"
#include "mole.h"
#include "hmi.h"
#include "rt.h"
#include "thermal.h"
#include "opacity.h"
#include "atomfeii.h"
#include "called.h"
#include "wind.h"
#include "hextra.h"
#include "iterations.h"
#include "radius.h"
#include "input.h"
#include "monitor_results.h"
#include "phycon.h"
#include "fudgec.h"
#include "version.h"
#include "conv.h"
#include "parse.h"
#include "cosmology.h"
#include "pressure.h"
#include "parser.h"
#include "dark_matter.h"
Go to the source code of this file.
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 ParseAperture | ( | Parser & | p | ) |
Definition at line 819 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), geometry, ioQQQ, Parser::lgEOL(), Parser::nMatch(), and Parser::NoNumb().
Referenced by ParseCommands().
void ParseAtom | ( | Parser & | p | ) |
Definition at line 883 of file parse_commands.cpp.
References atmdat, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), Parser::GetQuote(), INPUT_LINE_LENGTH, ioQQQ, ipH_LIKE, ipHE_LIKE, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), ParseAtomFeII(), ParseAtomH2(), and ParseAtomISO().
Referenced by ParseCommands().
void ParseBremsstrahlung | ( | Parser & | p | ) |
Definition at line 1059 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::nMatch(), Parser::NoNumb(), optimize, and rfield.
Referenced by ParseCommands().
void ParseCExtra | ( | Parser & | p | ) |
Definition at line 1100 of file parse_commands.cpp.
References Parser::FFmtRead(), Parser::lgEOL(), Parser::NoNumb(), and thermal.
Referenced by ParseCommands().
void ParseCMBOuter | ( | Parser & | p | ) |
Definition at line 1111 of file parse_commands.cpp.
References cosmology, Parser::FFmtRead(), GetDensity(), INPUT_LINE_LENGTH, Parser::lgEOL(), Parser::m_nqh, Parser::nMatch(), ParseCMB(), ParseHDEN(), rfield, Parser::set_point(), and Parser::setline().
Referenced by ParseCommands().
void ParseCommands | ( | void | ) |
ParseCommands main command line parser, called by Cloudy to decode commands, it then call other routines to parse specific commands
Definition at line 90 of file parse_commands.cpp.
References abund, CloudyCommand::action, called, cdEXIT, COLUMN_INIT, Parser::Command(), Parser::CommandError(), conv, cpu, DEBUG_ENTRY, dense, dense_fabden(), dense_parametric_wind(), dense_tabden(), Parser::doSetVar(), Parser::echo(), EXIT_FAILURE, geometry, Parser::getline(), grid, gv, h2, hextra, InitMonitorResults(), input, Singleton< t_version >::Inst(), ioQQQ, ipHYDROGEN, Parser::isCommandComment(), Parser::isVar(), iterations, Parser::last(), LIMPAR, LIMSPC, Parser::m_lgDSet, Parser::m_lgEOF, Parser::m_nInitFile, Parser::m_nqh, min(), MIN2, MIN3, mole_global, CloudyCommand::name, Parser::nMatch(), opac, optimize, ParseAbsMag(), ParseAbundancesNonSolar(), ParseAge(), ParseAgn(), ParseAperture(), ParseAtom(), ParseBackgrd(), ParseBlackbody(), ParseBremsstrahlung(), ParseCaseB(), ParseCExtra(), ParseCMBOuter(), ParseCompile(), ParseConstant(), ParseConvHighT(), ParseCoronal(), ParseCosm(), ParseCosmicRays(), ParseCosmology(), ParseCovering(), ParseCrashDo(), ParseCylinder(), ParseDarkMatter(), ParseDielectronic(), ParseDiffuse(), ParseDistance(), ParseDLaw(), ParseDont(), ParseDoubleTau(), ParseDrive(), ParseDynaTime(), ParseDynaWind(), ParseEden(), ParseElement(), ParseEnergy(), ParseExtinguish(), ParseF_nuSpecific(), ParseFail(), ParseFill(), ParseFluc(), ParseForceTemperature(), ParseFudge(), ParseGlobule(), ParseGrain(), ParseGravity(), ParseGrid(), ParseHDEN(), ParseHeLike(), ParseHelp(), ParseHExtra(), ParseHydrogen(), ParseIlluminate(), ParseInitCount(), ParseIntensity(), ParseInterp(), ParseIonParI(), ParseIonParX(), ParseIterations(), ParseL_nu(), ParseLaser(), ParseLuminosity(), ParseMagnet(), ParseMap(), ParseMetal(), ParseMonitorResults(), ParseNeutrons(), ParseNorm(), ParseNuF_nu(), ParseNuL_nu(), ParseOptimize(), ParsePGrains(), ParsePhi(), ParsePlot(), ParsePowerlawContinuum(), ParsePrint(), ParseQH(), ParseRadius(), ParseRatio(), ParseRoberto(), ParseSave(), ParseSet(), ParseSpecial(), ParseSphere(), ParseState(), ParseStop(), ParseTable(), ParseTauMin(), ParseTest(), ParseTitle(), ParseTLaw(), ParseTolerance(), ParseTrace(), ParseTurbulence(), ParseVLaw(), phycon, plotCom, pressure, radius, rfield, StopCalc, thermal, trace, and wind.
void ParseConvHighT | ( | Parser & | ) |
Definition at line 1725 of file parse_commands.cpp.
References thermal.
Referenced by ParseCommands().
void ParseCosm | ( | Parser & | p | ) |
Definition at line 1134 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.
Referenced by ParseCommands().
void ParseCovering | ( | Parser & | p | ) |
Definition at line 1141 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), geometry, ioQQQ, Parser::lgEOL(), and Parser::NoNumb().
Referenced by ParseCommands().
void ParseCylinder | ( | Parser & | p | ) |
Definition at line 1169 of file parse_commands.cpp.
References Parser::FFmtRead(), Parser::lgEOL(), Parser::NoNumb(), and radius.
Referenced by ParseCommands().
void ParseDarkMatter | ( | Parser & | p | ) |
Definition at line 1179 of file parse_commands.cpp.
References cdEXIT, dark, DEBUG_ENTRY, EXIT_FAILURE, Parser::getNumberCheckAlwaysLog(), Parser::getNumberDefaultAlwaysLog(), input, ioQQQ, Parser::nMatch(), and optimize.
Referenced by ParseCommands().
void ParseDielectronic | ( | Parser & | ) |
Definition at line 1215 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.
Referenced by ParseCommands().
void ParseDiffuse | ( | Parser & | p | ) |
Definition at line 1223 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), and rfield.
Referenced by ParseCommands().
void ParseDistance | ( | Parser & | p | ) |
Definition at line 1271 of file parse_commands.cpp.
References Parser::FFmtRead(), input, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, PARSEC, and radius.
Referenced by ParseCommands().
void ParseDoubleTau | ( | Parser & | ) |
void ParseEden | ( | Parser & | p | ) |
Definition at line 1307 of file parse_commands.cpp.
References dense, Parser::FFmtRead(), Parser::lgEOL(), Parser::NoNumb(), and phycon.
Referenced by ParseCommands().
void ParseEnergy | ( | Parser & | p | ) |
Definition at line 1317 of file parse_commands.cpp.
References ASSERT, 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 ParseCommands().
void ParseF_nuSpecific | ( | Parser & | p | ) |
Definition at line 1459 of file parse_commands.cpp.
References ParseF_nu().
Referenced by ParseCommands().
void ParseFail | ( | Parser & | p | ) |
Definition at line 1384 of file parse_commands.cpp.
References conv, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), and Parser::NoNumb().
Referenced by ParseCommands().
void ParseFill | ( | Parser & | p | ) |
Definition at line 1409 of file parse_commands.cpp.
References called, Parser::FFmtRead(), geometry, input, ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), and optimize.
Referenced by ParseCommands().
void ParseForceTemperature | ( | Parser & | p | ) |
Definition at line 1465 of file parse_commands.cpp.
References Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), and thermal.
Referenced by ParseCommands().
void ParseFudge | ( | Parser & | p | ) |
Definition at line 1486 of file parse_commands.cpp.
References Parser::FFmtRead(), fudgec, input, Parser::lgEOL(), NFUDGC, Parser::NoNumb(), and optimize.
Referenced by ParseCommands().
void ParseGravity | ( | Parser & | p | ) |
Definition at line 1533 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), PARSEC, and pressure.
Referenced by ParseCommands().
void ParseHeLike | ( | Parser & | ) |
Definition at line 1588 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.
Referenced by ParseCommands().
void ParseHelp | ( | Parser & | p | ) |
Definition at line 1594 of file parse_commands.cpp.
References DEBUG_ENTRY, Parser::help(), and ioQQQ.
Referenced by ParseCommands().
void ParseHExtra | ( | Parser & | p | ) |
Definition at line 1599 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), hextra, input, ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, and SOLAR_MASS.
Referenced by ParseCommands().
void ParseHydrogen | ( | Parser & | ) |
Definition at line 1729 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.
Referenced by ParseCommands().
void ParseInitCount | ( | Parser & | p | ) |
Definition at line 1735 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, input, ioQQQ, Parser::m_nInitFile, and ParseInit().
Referenced by ParseCommands().
void ParseIntensity | ( | Parser & | p | ) |
Definition at line 1761 of file parse_commands.cpp.
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, ParseRangeOption(), radius, and rfield.
Referenced by ParseCommands().
void ParseIterations | ( | Parser & | p | ) |
Definition at line 1820 of file parse_commands.cpp.
References conv, Parser::FFmtRead(), geometry, iterations, Parser::lgEOL(), MAX2, Parser::nMatch(), radius, and REALLOC.
Referenced by ParseCommands().
void ParseL_nu | ( | Parser & | p | ) |
Definition at line 1867 of file parse_commands.cpp.
References ParseF_nu().
Referenced by ParseCommands().
void ParseLaser | ( | Parser & | p | ) |
Definition at line 1875 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), LIMSPC, Parser::NoNumb(), and rfield.
Referenced by ParseCommands().
void ParseLuminosity | ( | Parser & | p | ) |
Definition at line 1913 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, ParseRangeOption(), and rfield.
Referenced by ParseCommands().
void ParseNeutrons | ( | Parser & | p | ) |
Definition at line 1976 of file parse_commands.cpp.
References Parser::FFmtRead(), hextra, Parser::lgEOL(), and Parser::NoNumb().
Referenced by ParseCommands().
void ParseNuF_nu | ( | Parser & | p | ) |
Definition at line 2003 of file parse_commands.cpp.
References ParseF_nu().
Referenced by ParseCommands().
void ParseNuL_nu | ( | Parser & | p | ) |
Definition at line 2011 of file parse_commands.cpp.
References ParseF_nu().
Referenced by ParseCommands().
void ParsePGrains | ( | Parser & | ) |
Definition at line 1527 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.
Referenced by ParseCommands().
void ParsePhi | ( | Parser & | p | ) |
Definition at line 2019 of file parse_commands.cpp.
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, ParseRangeOption(), radius, and rfield.
Referenced by ParseCommands().
void ParseQH | ( | Parser & | p | ) |
Definition at line 2076 of file parse_commands.cpp.
References ASSERT, called, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, ParseRangeOption(), and rfield.
Referenced by ParseCommands().
void ParseRoberto | ( | Parser & | ) |
Definition at line 2126 of file parse_commands.cpp.
References radius.
Referenced by ParseCommands().
void ParseSpecial | ( | Parser & | ) |
Definition at line 2131 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, and EXIT_FAILURE.
Referenced by ParseCommands().
void ParseTauMin | ( | Parser & | p | ) |
Definition at line 2137 of file parse_commands.cpp.
References Parser::FFmtRead(), Parser::lgEOL(), Parser::NoNumb(), and opac.
Referenced by ParseCommands().
void ParseTitle | ( | Parser & | p | ) |
Definition at line 2144 of file parse_commands.cpp.
References Parser::GetQuote(), Parser::getRawTail(), and input.
Referenced by ParseCommands().
void ParseTolerance | ( | Parser & | ) |
Definition at line 2152 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.
Referenced by ParseCommands().
void ParseTurbulence | ( | Parser & | p | ) |
Definition at line 2170 of file parse_commands.cpp.
References cdEXIT, DEBUG_ENTRY, DoppVel, EXIT_FAILURE, Parser::FFmtRead(), input, ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, Parser::PrintLine(), and SPEEDLIGHT.
Referenced by ParseCommands().
void ParseVLaw | ( | Parser & | p | ) |
Definition at line 2159 of file parse_commands.cpp.
References ASSERT, DoppVel, and Parser::FFmtRead().
Referenced by ParseCommands().