Cloudy
Spectral Synthesis Code for Astrophysics
|
#include "cddefines.h"
#include "parse.h"
#include "stopcalc.h"
#include "abund.h"
#include "geometry.h"
#include "dense.h"
#include "grid.h"
#include "grainvar.h"
#include "dynamics.h"
#include "magnetic.h"
#include "trace.h"
#include "atmdat.h"
#include "h2.h"
#include "rt.h"
#include "thermal.h"
#include "opacity.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 "cosmology.h"
#include "pressure.h"
#include "parser.h"
#include "dark_matter.h"
#include "iso.h"
#include "mole.h"
#include "parse_species.h"
#include "doppvel.h"
#include "rfield.h"
#include "prt.h"
#include "ran.h"
void ParseAperture | ( | Parser & | p | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), geometry, ioQQQ, Parser::lgEOL(), Parser::nMatch(), and Parser::NoNumb().
Referenced by ParseCommands().
void ParseBremsstrahlung | ( | Parser & | p | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::nMatch(), Parser::NoNumb(), optimize, and rfield.
Referenced by ParseCommands().
void ParseCExtra | ( | Parser & | p | ) |
References exp10(), Parser::FFmtRead(), Parser::lgEOL(), Parser::NoNumb(), and thermal.
Referenced by ParseCommands().
void ParseCMBOuter | ( | Parser & | p | ) |
References cosmology, Parser::FFmtRead(), GetDensity(), 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
References abund, CloudyCommand::action, called, cdEXIT, COLUMN_INIT, Parser::Command(), Parser::CommandError(), conv, cpu, DEBUG_ENTRY, dense, dense_fabden(), dense_parametric_wind(), Parser::doSetVar(), Parser::echo(), EXIT_FAILURE, fprintf(), geometry, Parser::getline(), grid, gv, h2, hextra, InitMonitorResults(), input, Singleton< t_version >::Inst(), ioQQQ, ipHYDROGEN, Parser::isComment(), Parser::isVar(), iterations, Parser::last(), LIMPAR, LIMSPC, Parser::m_lgDSet, Parser::m_lgEOF, Parser::m_nqh, min(), MIN2, MIN3, mole_global, CloudyCommand::name, Parser::nMatch(), NULL, opac, optimize, ParseAbsMag(), ParseAbundances(), ParseAge(), ParseAgn(), ParseAperture(), ParseBackgrd(), ParseBlackbody(), ParseBremsstrahlung(), ParseCaseB(), ParseCExtra(), ParseChemistry(), ParseCMBOuter(), ParseCompile(), ParseConstant(), ParseConvHighT(), ParseCoronal(), ParseCosmicRays(), ParseCosmology(), ParseCovering(), ParseCrashDo(), ParseCylinder(), ParseDarkMatter(), ParseDatabase(), ParseDielectronic(), ParseDiffuse(), ParseDistance(), ParseDLaw(), ParseDont(), ParseDoubleTau(), ParseDynaTime(), ParseDynaWind(), ParseEden(), ParseElement(), ParseEnergy(), ParseExtinguish(), ParseF_nuSpecific(), ParseFail(), ParseFill(), ParseFluc(), ParseForceTemperature(), ParseFudge(), ParseGlobule(), ParseGrain(), ParseGravity(), ParseGrid(), ParseHDEN(), ParseHeLike(), ParseHelp(), ParseHExtra(), ParseHydrogen(), ParseIllumination(), ParseInitCount(), ParseIntensity(), ParseInterp(), ParseIonParI(), ParseIonParX(), ParseIterations(), ParseL_nu(), ParseLaser(), ParseLuminosity(), ParseMagnet(), ParseMap(), ParseMetal(), ParseMonitorResults(), ParseNeutrons(), ParseNorm(), ParseNuF_nu(), ParseNuL_nu(), ParseOptimize(), ParsePGrains(), ParsePhi(), ParsePowerlawContinuum(), ParsePrint(), ParseQH(), ParseRadius(), ParseRatio(), ParseRoberto(), ParseSave(), ParseSet(), ParseSpecial(), ParseSpecies(), ParseSphere(), ParseStop(), ParseTable(), ParseTauMin(), ParseTest(), ParseTitle(), ParseTLaw(), ParseTolerance(), ParseTrace(), ParseTurbulence(), ParseVLaw(), phycon, pressure, prt, radius, ran, rfield, Parser::setline(), StopCalc, thermal, trace, and wind.
void ParseConvHighT | ( | Parser & | ) |
References thermal.
Referenced by ParseCommands().
void ParseCovering | ( | Parser & | p | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), geometry, ioQQQ, Parser::lgEOL(), and Parser::NoNumb().
Referenced by ParseCommands().
void ParseCylinder | ( | Parser & | p | ) |
References exp10(), Parser::FFmtRead(), Parser::lgEOL(), Parser::NoNumb(), and radius.
Referenced by ParseCommands().
void ParseDarkMatter | ( | Parser & | p | ) |
References cdEXIT, dark, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), Parser::getNumberCheckAlwaysLog(), Parser::getNumberDefaultAlwaysLog(), input, ioQQQ, Parser::nMatch(), and optimize.
Referenced by ParseCommands().
void ParseDatabase | ( | Parser & | p | ) |
References atmdat, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), Parser::GetQuote(), ioQQQ, ipH_LIKE, ipHE_LIKE, iso_ctrl, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), ParseDatabaseH2(), and ParseDatabaseISO().
Referenced by ParseCommands().
void ParseDielectronic | ( | Parser & | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), and ioQQQ.
Referenced by ParseCommands().
void ParseDiffuse | ( | Parser & | p | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), and rfield.
Referenced by ParseCommands().
void ParseDistance | ( | Parser & | p | ) |
References exp10(), Parser::FFmtRead(), input, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, and radius.
Referenced by ParseCommands().
void ParseDoubleTau | ( | Parser & | ) |
References rt.
Referenced by ParseCommands().
void ParseEden | ( | Parser & | p | ) |
References dense, exp10(), Parser::FFmtRead(), input, Parser::lgEOL(), Parser::NoNumb(), optimize, and phycon.
Referenced by ParseCommands().
void ParseEnergy | ( | Parser & | p | ) |
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, and rfield.
Referenced by ParseCommands().
void ParseF_nuSpecific | ( | Parser & | p | ) |
void ParseFail | ( | Parser & | p | ) |
References conv, Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), and Parser::NoNumb().
Referenced by ParseCommands().
void ParseFill | ( | Parser & | p | ) |
References called, exp10(), Parser::FFmtRead(), fprintf(), geometry, input, ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), and optimize.
Referenced by ParseCommands().
void ParseForceTemperature | ( | Parser & | p | ) |
References exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), and thermal.
Referenced by ParseCommands().
void ParseFudge | ( | Parser & | p | ) |
References Parser::FFmtRead(), fudgec, input, Parser::lgEOL(), NFUDGC, Parser::NoNumb(), and optimize.
Referenced by ParseCommands().
void ParseGravity | ( | Parser & | p | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), and pressure.
Referenced by ParseCommands().
void ParseHeLike | ( | Parser & | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), and ioQQQ.
Referenced by ParseCommands().
void ParseHelp | ( | Parser & | p | ) |
References DEBUG_ENTRY, Parser::help(), and ioQQQ.
Referenced by ParseCommands().
void ParseHExtra | ( | Parser & | p | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), hextra, input, ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), and optimize.
Referenced by ParseCommands().
void ParseHydrogen | ( | Parser & | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), and ioQQQ.
Referenced by ParseCommands().
void ParseInitCount | ( | Parser & | p | ) |
Referenced by ParseCommands().
void ParseIntensity | ( | Parser & | p | ) |
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, ParseRangeOption(), and rfield.
Referenced by ParseCommands().
void ParseIterations | ( | Parser & | p | ) |
References conv, Parser::FFmtRead(), iterations, Parser::lgEOL(), MAX2, and Parser::nMatch().
Referenced by ParseCommands().
void ParseL_nu | ( | Parser & | p | ) |
void ParseLaser | ( | Parser & | p | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), LIMSPC, Parser::NoNumb(), and rfield.
Referenced by ParseCommands().
void ParseLuminosity | ( | Parser & | p | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, ParseRangeOption(), and rfield.
Referenced by ParseCommands().
void ParseNeutrons | ( | Parser & | p | ) |
References exp10(), Parser::FFmtRead(), hextra, Parser::lgEOL(), and Parser::NoNumb().
Referenced by ParseCommands().
void ParseNuF_nu | ( | Parser & | p | ) |
void ParseNuL_nu | ( | Parser & | p | ) |
void ParsePGrains | ( | Parser & | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), and ioQQQ.
Referenced by ParseCommands().
void ParsePhi | ( | Parser & | p | ) |
References ASSERT, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, ParseRangeOption(), and rfield.
Referenced by ParseCommands().
void ParseQH | ( | Parser & | p | ) |
References ASSERT, called, cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), LIMSPC, Parser::m_nqh, Parser::nMatch(), Parser::NoNumb(), optimize, ParseRangeOption(), and rfield.
Referenced by ParseCommands().
void ParseRoberto | ( | Parser & | ) |
References radius.
Referenced by ParseCommands().
void ParseSpecial | ( | Parser & | ) |
References cdEXIT, DEBUG_ENTRY, and EXIT_FAILURE.
Referenced by ParseCommands().
void ParseTauMin | ( | Parser & | p | ) |
References exp10(), Parser::FFmtRead(), Parser::lgEOL(), Parser::NoNumb(), and opac.
Referenced by ParseCommands().
void ParseTitle | ( | Parser & | p | ) |
References Parser::GetQuote(), Parser::getRawTail(), and input.
Referenced by ParseCommands().
void ParseTolerance | ( | Parser & | ) |
References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), and ioQQQ.
Referenced by ParseCommands().
void ParseTurbulence | ( | Parser & | p | ) |
References cdEXIT, DEBUG_ENTRY, DoppVel, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), input, ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, and Parser::PrintLine().
Referenced by ParseCommands().
void ParseVLaw | ( | Parser & | p | ) |
References ASSERT, DoppVel, and Parser::FFmtRead().
Referenced by ParseCommands().