/home66/gary/public_html/cloudy/c10_branch/source/parse_commands.cpp File Reference

#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 "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"
Include dependency graph for parse_commands.cpp:

Go to the source code of this file.

Functions

void ParseAperture (Parser &p)
void ParseAtom (Parser &p)
void ParseBremsstrahlung (Parser &p)
void ParseCExtra (Parser &p)
void ParseCMBOuter (Parser &p)
void ParseCosm (Parser &p)
void ParseCovering (Parser &p)
void ParseCylinder (Parser &p)
void ParseDarkMatter (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)
void ParseAbundancesNonSolar (Parser &p)

Function Documentation

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 ParseAperture ( Parser p  ) 
void ParseAtom ( Parser p  ) 

Definition at line 864 of file parse_commands.cpp.

References cdEXIT, DEBUG_ENTRY, ioQQQ, ipH_LIKE, ipHE_LIKE, Parser::nMatch(), ParseAtomFeII(), ParseAtomH2(), and ParseAtomISO().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseBremsstrahlung ( Parser p  ) 
void ParseCExtra ( Parser p  ) 

Definition at line 950 of file parse_commands.cpp.

References t_thermal::cextpw, t_thermal::CoolExtra, Parser::FFmtRead(), t_thermal::lgCExtraOn, Parser::lgEOL(), Parser::NoNumb(), pow(), and thermal.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseCMBOuter ( Parser p  ) 
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 89 of file parse_commands.cpp.

References abund, CloudyCommand::action, called, cdEXIT, t_dense::chDenseLaw, t_rfield::chRSpec, co, t_StopCalc::col_h2, t_StopCalc::col_h2_nut, t_StopCalc::colnut, t_StopCalc::colpls, COLUMN_INIT, Parser::Command(), Parser::CommandError(), t_thermal::ConstGrainTemp, t_thermal::ConstTemp, conv, t_geometry::covaper, t_geometry::covgeo, cpu, t_hextra::cryden, DEBUG_ENTRY, dense, dense_fabden(), dense_parametric_wind(), dense_tabden(), t_dense::DensityPower, t_radius::depth, Parser::echo(), Wind::emdot, t_pressure::external_mass, t_geometry::FillFac, t_dense::gas_phase, geometry, Parser::getline(), t_pressure::gravity_symmetry, grid, gv, h2, t_StopCalc::HColStop, hextra, hmi, t_geometry::iEmissPower, t_input::init(), InitMonitorResults(), input, Singleton< t_version >::Inst(), ioQQQ, ipHYDROGEN, t_input::iReadWay, Parser::isCommandComment(), t_iterations::iter_malloc, iterations, t_iterations::itermx, Parser::last(), t_abund::lgAbnSolar, t_conv::lgAutoIt, Wind::lgBallistic(), t_rfield::lgBlockHIon, t_opac::lgCaseB, t_iterations::lgConverge_set, GrainVar::lgDColOn, t_rfield::lgDoLineTrans, t_grid::lgGrid, t_h2::lgH2ON, t_rfield::lgIonizReevaluate, t_cpu::lgMPI_talk(), t_rfield::lgMustBlockHIon, t_co::lgNoCOMole, t_hmi::lgNoH2Mole, t_optimize::lgNoVary, t_rfield::lgOpacityFine, t_rfield::lgOpacityReevaluate, t_plotCom::lgPlotON, t_input::lgSetNoBuffering, Wind::lgStatic(), t_called::lgTalk, t_trace::lgTrace, t_optimize::lgTrOpt, t_trace::lgTrOvrd, t_optimize::lgVarOn, t_iterations::lim_iter, t_iterations::lim_zone, LIMPAR, LIMSPC, Parser::m_lgDSet, Parser::m_lgEOF, Parser::m_nInitFile, Parser::m_nqh, min(), MIN2, MIN3, CloudyCommand::name, t_geometry::nend, t_grid::nGridCommands, Parser::nMatch(), t_optimize::nOptimiz, t_optimize::nparm, t_plotCom::nplot, t_input::nSave, t_rfield::nShape, t_optimize::nTrOpt, 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, t_radius::Radius, radius, rfield, t_radius::rinner, StopCalc, t_radius::StopThickness, t_StopCalc::tauend, t_phycon::TEMP_STOP_DEFAULT, t_StopCalc::TempLoStopZone, thermal, trace, wind, and Wind::windv0.

Referenced by cloudy(), and grid_do().

void ParseConvHighT ( Parser  ) 

Definition at line 1564 of file parse_commands.cpp.

References t_thermal::lgTeHigh, and thermal.

Referenced by ParseCommands().

void ParseCosm ( Parser p  ) 

Definition at line 984 of file parse_commands.cpp.

References cdEXIT, DEBUG_ENTRY, and ioQQQ.

Referenced by ParseCommands().

void ParseCovering ( Parser p  ) 

Definition at line 991 of file parse_commands.cpp.

References cdEXIT, t_geometry::covgeo, t_geometry::covrt, DEBUG_ENTRY, Parser::FFmtRead(), geometry, ioQQQ, Parser::lgEOL(), Parser::NoNumb(), and pow().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseCylinder ( Parser p  ) 

Definition at line 1019 of file parse_commands.cpp.

References t_radius::CylindHigh, Parser::FFmtRead(), t_radius::lgCylnOn, Parser::lgEOL(), Parser::NoNumb(), pow(), and radius.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseDarkMatter ( Parser p  ) 
void ParseDielectronic ( Parser  ) 

Definition at line 1065 of file parse_commands.cpp.

References cdEXIT, DEBUG_ENTRY, and ioQQQ.

Referenced by ParseCommands().

void ParseDiffuse ( Parser p  ) 

Definition at line 1073 of file parse_commands.cpp.

References cdEXIT, t_rfield::chDffTrns, DEBUG_ENTRY, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), t_rfield::lgOutOnly, Parser::nMatch(), and rfield.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseDistance ( Parser p  ) 
void ParseDoubleTau ( Parser  ) 

Definition at line 1153 of file parse_commands.cpp.

References t_rt::DoubleTau, and rt.

Referenced by ParseCommands().

void ParseEden ( Parser p  ) 

Definition at line 1157 of file parse_commands.cpp.

References dense, t_dense::EdenExtra, Parser::FFmtRead(), Parser::lgEOL(), t_phycon::lgPhysOK, Parser::NoNumb(), phycon, and pow().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseEnergy ( Parser p  ) 
void ParseF_nuSpecific ( Parser p  ) 

Definition at line 1309 of file parse_commands.cpp.

References ParseF_nu().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseFail ( Parser p  ) 

Definition at line 1234 of file parse_commands.cpp.

References conv, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), t_conv::lgMap, t_conv::LimFail, Parser::nMatch(), and Parser::NoNumb().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseFill ( Parser p  ) 
void ParseForceTemperature ( Parser p  ) 

Definition at line 1315 of file parse_commands.cpp.

References t_thermal::ConstTemp, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), Parser::nMatch(), Parser::NoNumb(), pow(), and thermal.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseFudge ( Parser p  ) 
void ParseGravity ( Parser p  ) 
void ParseHeLike ( Parser  ) 

Definition at line 1438 of file parse_commands.cpp.

References cdEXIT, DEBUG_ENTRY, and ioQQQ.

Referenced by ParseCommands().

void ParseHelp ( Parser p  ) 

Definition at line 1444 of file parse_commands.cpp.

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

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseHExtra ( Parser p  ) 
void ParseHydrogen ( Parser  ) 

Definition at line 1568 of file parse_commands.cpp.

References cdEXIT, DEBUG_ENTRY, and ioQQQ.

Referenced by ParseCommands().

void ParseInitCount ( Parser p  ) 

Definition at line 1574 of file parse_commands.cpp.

References cdEXIT, DEBUG_ENTRY, t_input::init(), input, ioQQQ, t_input::iReadWay, Parser::m_nInitFile, and ParseInit().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseIntensity ( Parser p  ) 
void ParseIterations ( Parser p  ) 
void ParseL_nu ( Parser p  ) 

Definition at line 1706 of file parse_commands.cpp.

References ParseF_nu().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseLaser ( Parser p  ) 

Definition at line 1714 of file parse_commands.cpp.

References cdEXIT, t_rfield::chSpType, t_rfield::cutoff, DEBUG_ENTRY, Parser::FFmtRead(), ioQQQ, Parser::lgEOL(), LIMSPC, Parser::NoNumb(), t_rfield::nShape, pow(), rfield, and t_rfield::slope.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseLuminosity ( Parser p  ) 
void ParseNeutrons ( Parser p  ) 

Definition at line 1815 of file parse_commands.cpp.

References t_hextra::effneu, Parser::FFmtRead(), t_hextra::frcneu, hextra, Parser::lgEOL(), t_hextra::lgNeutrnHeatOn, Parser::NoNumb(), and pow().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseNuF_nu ( Parser p  ) 

Definition at line 1842 of file parse_commands.cpp.

References ParseF_nu().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseNuL_nu ( Parser p  ) 

Definition at line 1850 of file parse_commands.cpp.

References ParseF_nu().

Referenced by ParseCommands().

Here is the call graph for this function:

void ParsePGrains ( Parser  ) 

Definition at line 1377 of file parse_commands.cpp.

References cdEXIT, DEBUG_ENTRY, and ioQQQ.

Referenced by ParseCommands().

void ParsePhi ( Parser p  ) 
void ParseQH ( Parser p  ) 
void ParseRoberto ( Parser  ) 

Definition at line 1965 of file parse_commands.cpp.

References t_radius::dRadSign, and radius.

Referenced by ParseCommands().

void ParseSpecial ( Parser  ) 

Definition at line 1970 of file parse_commands.cpp.

References cdEXIT, and DEBUG_ENTRY.

Referenced by ParseCommands().

void ParseTauMin ( Parser p  ) 

Definition at line 1976 of file parse_commands.cpp.

References Parser::FFmtRead(), Parser::lgEOL(), Parser::NoNumb(), opac, pow(), and t_opac::taumin.

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseTitle ( Parser p  ) 

Definition at line 1983 of file parse_commands.cpp.

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

Referenced by ParseCommands().

Here is the call graph for this function:

void ParseTolerance ( Parser  ) 

Definition at line 1991 of file parse_commands.cpp.

References cdEXIT, DEBUG_ENTRY, and ioQQQ.

Referenced by ParseCommands().

void ParseTurbulence ( Parser p  ) 
void ParseVLaw ( Parser p  ) 

Todo:
2 is there a need to keep this negative?

Definition at line 1998 of file parse_commands.cpp.

References ASSERT, DoppVel, Parser::FFmtRead(), t_DoppVel::lgTurbLawOn, and t_DoppVel::TurbVelLaw.

Referenced by ParseCommands().

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1