Cloudy
Spectral Synthesis Code for Astrophysics
|
#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 "dense.h"
#include "continuum.h"
Functions | |
STATIC const char * | ChkUnits (Parser &p) |
void | saveXSPEC (unsigned int option) |
void | ParseSave (Parser &p) |
void | SaveFilesInit () |
void | CloseSaveFiles (bool lgFinal) |
References DEBUG_ENTRY, Parser::nMatch(), Parser::StandardEnergyUnit(), StandardEnergyUnit(), and STATIC.
Referenced by ParseSave().
void CloseSaveFiles | ( | bool | lgFinal | ) |
close all open save files
lgFinal | - close ALL files, regardless of "no clobber" status when true |
References DEBUG_ENTRY, fprintf(), grid, gv, ioMAP, ioQQQ, NULL, and save.
Referenced by cdClosePunchFiles(), cdPrepareExit(), and cloudy().
void ParseSave | ( | Parser & | p | ) |
ParseSave parse the save command
*chCard |
code printed log quantities, historically. Maintain backwards compatibility
References addUniqueSpeciesBand(), cdEXIT, cdGetLineList(), ChkUnits(), DEBUG_ENTRY, elementnames, EXIT_FAILURE, exp10(), Parser::FFmtRead(), fprintf(), Parser::GetElem(), Parser::getNumberCheck(), Parser::GetQuote(), grid, gv, h2, hcmap, hd, input, Singleton< t_version >::Inst(), ioMAP, ioQQQ, ipCARBON, ipHELIUM, ipHYDROGEN, ipOXYGEN, is_odd(), iterations, Parser::lgEOL(), LIMELM, LIMPUN, makeChemical(), MAX2, MIN2, Parser::nMatch(), Parser::nMatchErase(), Parser::NoNumb(), NULL, NUM_OUTPUT_TYPES, open_data(), parse_save_average(), parse_save_line(), Parse_Save_Line_RT(), prt, Parser::readList(), rfield, Energy::Ryd(), save, saveXSPEC(), Energy::set(), sncatf(), Parser::StandardEnergyUnit(), Parser::StringError(), and trimTrailingWhiteSpace().
Referenced by ParseCommands().
void SaveFilesInit | ( | void | ) |
initialize save file pointers
References DEBUG_ENTRY, grid, gv, ioMAP, LIMPUN, NULL, save, and TotalInsanity().
Referenced by InitCoreload().
|
inline |
References ASSERT, grid, NUM_OUTPUT_TYPES, and save.
Referenced by ParseSave().