Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
parse_commands.cpp File Reference
#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"
Include dependency graph for parse_commands.cpp:

Functions

void ParseAperture (Parser &p)
 
void ParseBremsstrahlung (Parser &p)
 
void ParseCExtra (Parser &p)
 
void ParseCMBOuter (Parser &p)
 
void ParseCovering (Parser &p)
 
void ParseCylinder (Parser &p)
 
void ParseDarkMatter (Parser &p)
 
void ParseDatabase (Parser &p)
 
void ParseDielectronic (Parser &)
 
void ParseDiffuse (Parser &p)
 
void ParseDistance (Parser &p)
 
void ParseDoubleTau (Parser &)
 
void ParseEden (Parser &p)
 
void ParseEnergy (Parser &p)
 
void ParseFail (Parser &p)
 
void ParseFill (Parser &p)
 
void ParseF_nuSpecific (Parser &p)
 
void ParseForceTemperature (Parser &p)
 
void ParseFudge (Parser &p)
 
void ParsePGrains (Parser &)
 
void ParseGravity (Parser &p)
 
void ParseHeLike (Parser &)
 
void ParseHelp (Parser &)
 
void ParseHExtra (Parser &p)
 
void ParseConvHighT (Parser &)
 
void ParseHydrogen (Parser &)
 
void ParseInitCount (Parser &p)
 
void ParseIntensity (Parser &p)
 
void ParseIterations (Parser &p)
 
void ParseL_nu (Parser &p)
 
void ParseLaser (Parser &p)
 
void ParseLuminosity (Parser &p)
 
void ParseNeutrons (Parser &p)
 
void ParseNuF_nu (Parser &p)
 
void ParseNuL_nu (Parser &p)
 
void ParsePhi (Parser &p)
 
void ParseQH (Parser &p)
 
void ParseRoberto (Parser &)
 
void ParseSpecial (Parser &)
 
void ParseTauMin (Parser &p)
 
void ParseTitle (Parser &)
 
void ParseTolerance (Parser &)
 
void ParseVLaw (Parser &p)
 
void ParseTurbulence (Parser &p)
 
void ParseCommands (void)
 

Function Documentation

◆ ParseAperture()

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().

Here is the call graph for this function:

◆ ParseBremsstrahlung()

void ParseBremsstrahlung ( Parser & p)

◆ ParseCExtra()

void ParseCExtra ( Parser & p)

References exp10(), Parser::FFmtRead(), Parser::lgEOL(), Parser::NoNumb(), and thermal.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseCMBOuter()

void ParseCMBOuter ( Parser & p)

◆ 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.

Referenced by cloudy(), and grid_do().

◆ ParseConvHighT()

void ParseConvHighT ( Parser & )

References thermal.

Referenced by ParseCommands().

◆ ParseCovering()

void ParseCovering ( Parser & p)

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), geometry, ioQQQ, Parser::lgEOL(), and Parser::NoNumb().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseCylinder()

void ParseCylinder ( Parser & p)

References exp10(), Parser::FFmtRead(), Parser::lgEOL(), Parser::NoNumb(), and radius.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseDarkMatter()

void ParseDarkMatter ( Parser & p)

◆ ParseDatabase()

◆ ParseDielectronic()

void ParseDielectronic ( Parser & )

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), and ioQQQ.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseDiffuse()

void ParseDiffuse ( Parser & p)

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

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseDistance()

void ParseDistance ( Parser & p)

References exp10(), Parser::FFmtRead(), input, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), optimize, and radius.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseDoubleTau()

void ParseDoubleTau ( Parser & )

References rt.

Referenced by ParseCommands().

◆ ParseEden()

void ParseEden ( Parser & p)

References dense, exp10(), Parser::FFmtRead(), input, Parser::lgEOL(), Parser::NoNumb(), optimize, and phycon.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseEnergy()

void ParseEnergy ( Parser & p)

◆ ParseF_nuSpecific()

void ParseF_nuSpecific ( Parser & p)

References ParseF_nu().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseFail()

void ParseFail ( Parser & p)

References conv, Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), and Parser::NoNumb().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseFill()

void ParseFill ( Parser & p)

References called, exp10(), Parser::FFmtRead(), fprintf(), geometry, input, ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), and optimize.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseForceTemperature()

void ParseForceTemperature ( Parser & p)

References exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), and thermal.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseFudge()

void ParseFudge ( Parser & p)

References Parser::FFmtRead(), fudgec, input, Parser::lgEOL(), NFUDGC, Parser::NoNumb(), and optimize.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseGravity()

void ParseGravity ( Parser & p)

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), and pressure.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseHeLike()

void ParseHeLike ( Parser & )

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), and ioQQQ.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseHelp()

void ParseHelp ( Parser & p)

References DEBUG_ENTRY, Parser::help(), and ioQQQ.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseHExtra()

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().

Here is the call graph for this function:

◆ ParseHydrogen()

void ParseHydrogen ( Parser & )

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), and ioQQQ.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseInitCount()

void ParseInitCount ( Parser & p)

Referenced by ParseCommands().

◆ ParseIntensity()

void ParseIntensity ( Parser & p)

◆ ParseIterations()

void ParseIterations ( Parser & p)

References conv, Parser::FFmtRead(), iterations, Parser::lgEOL(), MAX2, and Parser::nMatch().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseL_nu()

void ParseL_nu ( Parser & p)

References ParseF_nu().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseLaser()

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().

Here is the call graph for this function:

◆ ParseLuminosity()

void ParseLuminosity ( Parser & p)

◆ ParseNeutrons()

void ParseNeutrons ( Parser & p)

References exp10(), Parser::FFmtRead(), hextra, Parser::lgEOL(), and Parser::NoNumb().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseNuF_nu()

void ParseNuF_nu ( Parser & p)

References ParseF_nu().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseNuL_nu()

void ParseNuL_nu ( Parser & p)

References ParseF_nu().

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParsePGrains()

void ParsePGrains ( Parser & )

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), and ioQQQ.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParsePhi()

void ParsePhi ( Parser & p)

◆ ParseQH()

◆ ParseRoberto()

void ParseRoberto ( Parser & )

References radius.

Referenced by ParseCommands().

◆ ParseSpecial()

void ParseSpecial ( Parser & )

References cdEXIT, DEBUG_ENTRY, and EXIT_FAILURE.

Referenced by ParseCommands().

◆ ParseTauMin()

void ParseTauMin ( Parser & p)

References exp10(), Parser::FFmtRead(), Parser::lgEOL(), Parser::NoNumb(), and opac.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseTitle()

void ParseTitle ( Parser & p)

References Parser::GetQuote(), Parser::getRawTail(), and input.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseTolerance()

void ParseTolerance ( Parser & )

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, fprintf(), and ioQQQ.

Referenced by ParseCommands().

Here is the call graph for this function:

◆ ParseTurbulence()

void ParseTurbulence ( Parser & p)

◆ ParseVLaw()

void ParseVLaw ( Parser & p)
Todo
2 is there a need to keep this negative?

References ASSERT, DoppVel, and Parser::FFmtRead().

Referenced by ParseCommands().

Here is the call graph for this function: