cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
parse_save.cpp File Reference
#include "cddefines.h"
#include "parse.h"
#include "cddrive.h"
#include "elementnames.h"
#include "input.h"
#include "iterations.h"
#include "prt.h"
#include "rfield.h"
#include "hcmap.h"
#include "h2.h"
#include "version.h"
#include "grainvar.h"
#include "grid.h"
#include "save.h"
#include "parser.h"
#include "service.h"
#include "species.h"
Include dependency graph for parse_save.cpp:

Go to the source code of this file.

Functions

STATIC const char * ChkUnits (Parser &p)
 
STATIC bool specBandsExists (const string filename, const string speciesLabel)
 
void ParseSave (Parser &p)
 
void SaveFilesInit ()
 
void CloseSaveFiles (bool lgFinal)
 

Function Documentation

STATIC const char * ChkUnits ( Parser p)

Definition at line 2786 of file parse_save.cpp.

References DEBUG_ENTRY, Parser::nMatch(), StandardEnergyUnit(), and Parser::StandardEnergyUnit().

Referenced by ParseSave().

Here is the call graph for this function:

void CloseSaveFiles ( bool  lgFinal)
void ParseSave ( Parser p)

ParseSave parse the save command

Parameters
*chCard

code printed log quantities, historically. Maintain backwards compatibility

Definition at line 73 of file parse_save.cpp.

References cdEXIT, cdGetLineList(), t_save::chConSavEnr, t_elementnames::chElementNameShort, t_elementnames::chElementSym, t_save::chFilenamePrefix, t_save::chGridPrefix, ChkUnits(), t_save::chLineListLabel, t_save::chOpcTyp, t_save::chPunRltType, t_save::chSave, t_save::chSaveArgs, t_save::chSaveSpecies, t_save::chSpeciesDominantRates, t_input::chTitle, t_save::contSaveSpeciesLabel, DEBUG_ENTRY, t_mesh::egamry(), elementnames, t_save::emisfreq, t_mesh::emm(), EXIT_FAILURE, exp10(), Parser::FFmtRead(), save_species_bands::filename, t_save::FITStype, fprintf(), Parser::GetElem(), Parser::GetQuote(), h2, diatomics::H2_ParseSave(), hcmap, hd, input, INPUT_LINE_LENGTH, Singleton< t_version >::Inst(), ioQQQ, ipCARBON, ipHELIUM, ipHYDROGEN, ipOXYGEN, SaveParams::ipPnunit, is_odd(), iterations, t_save::lgCumulative, t_save::lgEmergent, Parser::lgEOL(), t_save::lgFITS, t_save::lgHashEndIter, t_save::lgLineListRatio, t_save::lgLinEvery, t_save::lgNoClobber, t_save::lgPrtIsotropicCont, t_save::lgPrtOldStyleLogs, t_save::lgPunContinuum, t_save::lgPunLstIter, t_save::lgSaveEveryZone, t_rfield::lgSaveOpacityFine, t_save::lgSaveToSeparateFiles, LIMELM, LIMPUN, t_save::LinEvery, makeChemical(), t_hcmap::MapZone, MAX2, MIN2, t_iterations::nend, t_save::nLineList, Parser::nMatch(), Parser::nMatchErase(), Parser::NoNumb(), t_save::nsave, t_save::nSaveEveryZone, NUM_OUTPUT_TYPES, t_save::optname, t_save::params, parse_save_average(), parse_save_line(), Parse_Save_Line_RT(), t_save::punarg, t_hcmap::RangeMap, rfield, Energy::Ryd(), save, t_save::SaveLineListFree(), Energy::set(), sncatf(), t_save::specBands, specBandsExists(), t_save::SpeciesBandFile, save_species_bands::speciesLabel, sprt_wl(), Parser::StandardEnergyUnit(), Parser::StringError(), trimTrailingWhiteSpace(), and t_save::wlLineList.

Referenced by ParseCommands().

Here is the call graph for this function:

void SaveFilesInit ( void  )
STATIC bool specBandsExists ( const string  filename,
const string  speciesLabel 
)

Definition at line 2804 of file parse_save.cpp.

References exists(), save, and t_save::specBands.

Referenced by ParseSave().

Here is the call graph for this function: