cloudy
trunk
|
Go to the source code of this file.
Functions | |
void | ParseCommands (void) |
void | SaveFilesInit (void) |
void | CloseSaveFiles (bool lgFinal) |
void CloseSaveFiles | ( | bool | lgFinal | ) |
close all open save files
lgFinal | - close ALL files, regardless of "no clobber" status when true |
Definition at line 2643 of file parse_save.cpp.
References DEBUG_ENTRY, fprintf(), grid, gv, ioMAP, ioQQQ, t_save::ioRecom, t_save::ipDRout, SaveParams::ipPnunit, t_save::ipPoint, t_save::ipPunConv, t_save::ipTraceConvergeBase, t_save::lgDROn, t_save::lgDROn_noclobber, t_save::lgFITS, t_save::lgioRecom, t_save::lgioRecom_noclobber, t_save::lgNoClobber, t_save::lgPunConv, t_save::lgPunConv_noclobber, t_save::lgPunPoint, t_save::lgPunPoint_noclobber, t_save::lgQHSaveFile_noclobber, t_save::lgSaveGrid_noclobber, t_save::lgTraceConvergeBase, t_save::lgTraceConvergeBase_noclobber, t_save::lgXSPEC, t_save::nsave, t_save::params, t_grid::pnunit, GrainVar::QHSaveFile, and save.
Referenced by cdClosePunchFiles(), cdPrepareExit(), and cloudy().
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, 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(), t_dense::DensityPower, t_radius::depth, t_dense::DLW, Parser::doSetVar(), Parser::echo(), Wind::emdot, EXIT_FAILURE, t_pressure::external_mass, t_geometry::FillFac, fprintf(), t_dense::gas_phase, geometry, Parser::getline(), t_pressure::gravity_symmetry, grid, gv, h2, t_StopCalc::HColStop, hextra, t_cpu::i(), t_geometry::iEmissPower, t_input::init(), InitMonitorResults(), input, INPUT_LINE_LENGTH, Singleton< t_version >::Inst(), ioQQQ, ipHYDROGEN, Parser::isComment(), Parser::isVar(), 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_input::lgDeprecatedComment, t_rfield::lgDoLineTrans, diatomics::lgEnabled, t_grid::lgGrid, t_rfield::lgIonizReevaluate, t_cpu_i::lgMPI_talk(), t_rfield::lgMustBlockHIon, t_grid::lgNegativeIncrements, t_mole_global::lgNoMole, t_optimize::lgNoVary, t_rfield::lgOpacityFine, t_rfield::lgOpacityReevaluate, t_plotCom::lgPlotON, t_radius::lgPredLumin, t_prt::lgPrintHTML, t_radius::lgRadiusKnown, t_grid::lgSaveXspec, t_rfield::lgSphericalDilution, Wind::lgStatic(), t_called::lgTalk, t_trace::lgTrace, t_optimize::lgTrOpt, t_trace::lgTrOvrd, t_optimize::lgVarOn, t_input::lgVisibilityStatus, t_iterations::lim_iter, t_iterations::lim_zone, LIMPAR, LIMSPC, Parser::m_lgDSet, Parser::m_lgEOF, Parser::m_nqh, min(), MIN2, MIN3, mole_global, CloudyCommand::name, t_iterations::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(), ParseAbundances(), ParseAge(), ParseAgn(), ParseAperture(), ParseBackgrd(), ParseBlackbody(), ParseBremsstrahlung(), ParseCaseB(), ParseCExtra(), ParseChemistry(), ParseCMBOuter(), ParseCompile(), ParseConstant(), ParseConvHighT(), ParseCoronal(), ParseCosm(), ParseCosmicRays(), ParseCosmology(), ParseCovering(), ParseCrashDo(), ParseCylinder(), ParseDarkMatter(), ParseDatabase(), 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(), ParseSpecies(), ParseSphere(), ParseState(), ParseStop(), ParseTable(), ParseTauMin(), ParseTest(), ParseTitle(), ParseTLaw(), ParseTolerance(), ParseTrace(), ParseTurbulence(), ParseVLaw(), phycon, plotCom, pressure, prt, radius, t_radius::Radius, t_radius::rdfalt, rfield, t_radius::rinner, t_dense::SetGasPhaseDensity(), Parser::setline(), StopCalc, t_iterations::StopThickness, t_rfield::TableRadius, DepthTable::tabval(), t_StopCalc::tauend, t_phycon::TEMP_STOP_DEFAULT, t_StopCalc::TempLoStopZone, thermal, t_rfield::totpow, trace, t_hextra::TurbHeat, wind, and Wind::windv0.
void SaveFilesInit | ( | void | ) |
initialize save file pointers
Definition at line 2571 of file parse_save.cpp.
References DEBUG_ENTRY, grid, gv, ioMAP, t_save::ioRecom, t_save::ipDRout, SaveParams::ipPnunit, t_save::ipPoint, t_save::ipPunConv, t_save::ipTraceConvergeBase, t_save::lgDROn, t_save::lgDROn_noclobber, t_grid::lgGrid, t_save::lgioRecom, t_save::lgioRecom_noclobber, t_save::lgNoClobber, t_save::lgPunConv, t_save::lgPunConv_noclobber, t_save::lgPunPoint, t_save::lgPunPoint_noclobber, t_save::lgQHSaveFile_noclobber, t_save::lgRealSave, t_save::lgSaveGrid_noclobber, t_save::lgTraceConvergeBase, t_save::lgTraceConvergeBase_noclobber, LIMPUN, t_save::params, t_grid::pnunit, GrainVar::QHSaveFile, save, and TotalInsanity().
Referenced by InitCoreload().