t_save Struct Reference

#include <save.h>

Collaboration diagram for t_save:
[legend]

Data Fields

long int * nLineList
char *** chLineListLabel
realnum ** wlLineList
bool * lgLineListRatio
long int * nAverageList
char *** chAverageType
char *** chAverageSpeciesLabel
int ** nAverageIonList
int ** nAverage2ndPar
FILE * ipPnunit [LIMPUN]
bool lgRealSave [LIMPUN]
bool lgEmergent [LIMPUN]
long int nsave
char chSave [LIMPUN][5]
char chOpcTyp [LIMPUN][5]
char chHeader [LIMPUN][MAX_HEADER_SIZE]
const char * chNONSENSE
bool lgSaveToSeparateFiles [LIMPUN]
bool lg_separate_iterations [LIMPUN]
bool lgPunHeader [LIMPUN]
bool lgPunContinuum
realnum punarg [LIMPUN][3]
string optname [LIMPUN]
bool lgSaveEveryZone [LIMPUN]
long int nSaveEveryZone [LIMPUN]
char chSaveArgs [LIMPUN][5]
bool lgPunLstIter [LIMPUN]
bool lgFITS [LIMPUN]
int FITStype [LIMPUN]
bool lgPunchFits
const char * chConPunEnr [LIMPUN]
long int ipConPun
bool lgHashEndIter [LIMPUN]
char chHashString [INPUT_LINE_LENGTH]
bool lgFLUSH
string chGridPrefix
string chFilenamePrefix
string chRedirectPrefix
char chPunRltType [7]
FILE * ipPoint
bool lgPunPoint
bool lgPunConv
FILE * ipPunConv
FILE * ipDRout
bool lgDROn
bool lgDRPLst
bool lgDRHash
bool lgTraceConvergeBase
bool lgTraceConvergeBaseHash
FILE * ipTraceConvergeBase
FILE * ioRecom
bool lgioRecom
long int LinEvery
bool lgLinEvery
long int ncSaveSkip
realnum WeakHeatCool
realnum Resolution
realnum ResolutionAbs
Energy emisfreq
long ipEmisFreq

Detailed Description

Definition at line 116 of file save.h.


Field Documentation

chAverageSpeciesLabel is label for species

Definition at line 134 of file save.h.

Referenced by parse_save_average(), ParseSave(), and save_average().

chAverageType is label for type of average

Definition at line 132 of file save.h.

Referenced by parse_save_average(), ParseSave(), and save_average().

chConPunEnr - units of continuum in save output

Definition at line 210 of file save.h.

Referenced by AnuUnit(), ChkUnits(), ParseSave(), and Save1Line().

this is a prefix that will be set at the start of all save file names normally an empty string, set with PUNCH PREFIX command or -p flag

Definition at line 232 of file save.h.

Referenced by cdMain(), ParseSave(), ParseSet(), and process_output().

this is a prefix that will be used at the start of all file names when doing an MPI grid run, normally an empty string, set with -g flag

Definition at line 228 of file save.h.

Referenced by cdMain(), and ParseSave().

this is the hash string, normally a set of hash marks, can be reset with set save hash command

Definition at line 221 of file save.h.

Referenced by ConvBase(), InitDefaultsPreparse(), ParseSet(), radius_first(), SaveDo(), and SaveLineStuff().

Definition at line 159 of file save.h.

Referenced by ParseSave(), SaveDo(), and SaveFilesInit().

chLineListLabel is label for line list

Definition at line 122 of file save.h.

Referenced by ParseSave(), and SaveDo().

const char* t_save::chNONSENSE

Definition at line 161 of file save.h.

Referenced by ParseSave(), SaveDo(), and SaveFilesInit().

which opacity to save out

Definition at line 157 of file save.h.

Referenced by ParseSave(), and save_opacity().

set with save line intensities and save results commands, says whether results arrays produced by routine PunResults1Line should be column or array

Definition at line 241 of file save.h.

Referenced by ParseSave(), and SaveResults1Line().

this is the prefix that will be set at the start of the input and output file normally an empty string, set with -p or -r flag

Definition at line 236 of file save.h.

Referenced by cdMain(), main(), process_output(), and vary_input().

chSave - what is it we want to save? set in GetPunch, used in DoPunch

Definition at line 154 of file save.h.

Referenced by H2_ParseSave(), ParseSave(), and SaveDo().

set of optional arguments for save command, but as a string

Definition at line 193 of file save.h.

Referenced by ParseSave(), and SaveDo().

the frequency at which the continuum volume emissivity should be saved

Definition at line 291 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSave(), and SaveDo().

which FITS type is in this file

Definition at line 203 of file save.h.

Referenced by ParseSave(), and process_output().

option to save recombination coefficients to external file

Definition at line 267 of file save.h.

Referenced by atmdat_3body(), atmdat_DielSupres(), CloseSaveFiles(), ion_recomb(), IonCarbo(), iso_radiative_recomb(), ParseSave(), and SaveFilesInit().

long int t_save::ipConPun

this global variable is index of save command loop in dopunch

Definition at line 213 of file save.h.

Referenced by AnuUnit(), Save1Line(), and SaveDo().

these control saving choice of dr - this is not really a save command ipDRout is io unit, lgDROn says saving dr logic has been set, and lgDRPLst says to save the last iteration

Definition at line 256 of file save.h.

Referenced by CloseSaveFiles(), ParseSave(), radius_first(), radius_next(), and SaveFilesInit().

Definition at line 292 of file save.h.

Referenced by InitDefaultsPreparse(), and SaveDo().

this is the file where we will direct the output

Definition at line 141 of file save.h.

Referenced by CloseSaveFiles(), parse_save_average(), ParseSave(), save_average(), SaveDo(), and SaveFilesInit().

option to save out pointers with save pointers command ipPoint is save file handle, lgPunPoint says whether we will do it

Definition at line 246 of file save.h.

Referenced by CloseSaveFiles(), OpacityCreate1Element(), ParseSave(), and SaveFilesInit().

Definition at line 251 of file save.h.

Referenced by CloseSaveFiles(), ConvIterCheck(), ParseSave(), and SaveFilesInit().

Definition at line 264 of file save.h.

Referenced by CloseSaveFiles(), ConvBase(), ParseSave(), and SaveFilesInit().

option to not insert end-of-iteration separator - used for save files that create one line per iteration

Definition at line 170 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSave(), and SaveDo().

Definition at line 257 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSave(), and radius_first().

Definition at line 257 of file save.h.

Referenced by CloseSaveFiles(), ParseSave(), radius_first(), radius_next(), and SaveFilesInit().

Definition at line 257 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSave(), and radius_next().

Definition at line 148 of file save.h.

Referenced by ParseSave(), SaveDo(), and SaveLineIntensity().

flag saying that this save file is in FITS format

Definition at line 200 of file save.h.

Referenced by CloseSaveFiles(), ParseSave(), and SaveDo().

flush file after every iteration

Definition at line 224 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSet(), and SaveDo().

should hash marks be printed after every iteration? default is yes, set no with no hash option on save command

Definition at line 217 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSave(), and SaveDo().

flag saying whether to take ratio (true) of pairs

Definition at line 126 of file save.h.

Referenced by ParseSave(), and SaveDo().

Definition at line 273 of file save.h.

Referenced by ParseSave(), and SaveDo().

option to say whether any FITS output should be punched, initialized to false, but turned to true after last grid exec.

Definition at line 207 of file save.h.

flag saying whether any save continuum commands were entered set true in parsecontinuum when save continuum entered, used in PrtComment to warn if continuum punched with no iterations

Definition at line 179 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSave(), and PrtComment().

unit number, and flag, for saving reason for continued iterations

Definition at line 250 of file save.h.

Referenced by CloseSaveFiles(), ConvIterCheck(), ParseSave(), and SaveFilesInit().

flag saying whether we should save headers. Used in grid punches so that the header only gets punched once.

Definition at line 174 of file save.h.

Referenced by ParseSave(), SaveDo(), and SaveFilesInit().

lg flag lgPunLstIter for this save option, do we only want to save on last iteration?

Definition at line 197 of file save.h.

Referenced by ParseSave(), and SaveDo().

Definition at line 247 of file save.h.

Referenced by CloseSaveFiles(), OpacityCreate1Element(), ParseSave(), and SaveFilesInit().

is this a real save command, or one of the similar options like save dr, which is not done in save files

Definition at line 145 of file save.h.

Referenced by ParseSave(), SaveDo(), and SaveFilesInit().

implement save every option - lgSaveEveryZone true if want to save every zone, nSaveEveryZone is number of zones to save

Definition at line 189 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSave(), and SaveDo().

this flag tells us whether to save results of a grid to separate files for each grid point or all to the same file. Different for different save commands

Definition at line 166 of file save.h.

Referenced by ParseSave(), and process_output().

Definition at line 262 of file save.h.

Referenced by CloseSaveFiles(), ConvBase(), ParseSave(), and SaveFilesInit().

Definition at line 262 of file save.h.

Referenced by ConvBase(), InitDefaultsPreparse(), and ParseSave().

long int t_save::LinEvery

option to save line intensities every for every zone logical variable says whether LinEvery was set

Definition at line 272 of file save.h.

Referenced by ParseSave(), and SaveDo().

nAverage2ndPar is set of second parameters for averages

Definition at line 138 of file save.h.

Referenced by parse_save_average(), ParseSave(), and save_average().

nAverageIonList is set of ions for averages

Definition at line 136 of file save.h.

Referenced by parse_save_average(), ParseSave(), and save_average().

following are for save averages option nAverageList is number of averages, -1 if not defined

Definition at line 130 of file save.h.

Referenced by parse_save_average(), ParseSave(), and save_average().

set skip sets this variable, which says how many cells to skip in save

Definition at line 276 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSet(), and SaveDo().

long int* t_save::nLineList

following are for save LineList option nLineList is number of em lines, -1 if not defined

Definition at line 120 of file save.h.

Referenced by ParseSave(), and SaveDo().

long int t_save::nsave

number of save commands entered

Definition at line 151 of file save.h.

Referenced by ChkUnits(), CloseSaveFiles(), H2_ParseSave(), InitDefaultsPreparse(), ParseSave(), process_output(), and SaveDo().

Definition at line 190 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSave(), and SaveDo().

punarg is set of optional arguments for the save command

Definition at line 185 of file save.h.

Referenced by ParseSave(), and SaveDo().

punarg is set of optional arguments for the save command

Definition at line 182 of file save.h.

Referenced by H2_ParseSave(), H2_PunchDo(), ParseSave(), save_opacity(), SaveDo(), and SaveLineIntensity().

contrast factor for lines to continuum in save output default is 1 (gives correct line intensities) and changed with set width command (enters width in km/sec)

Definition at line 285 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSet(), and SaveDo().

same thing but for absorption lines - default is unity, set to SaveLWidth if ABSORPTION keyword occurs on save line width command

Definition at line 288 of file save.h.

Referenced by InitDefaultsPreparse(), ParseSet(), and PrettyTranmission().

threshold for faintest cooling or heating to be punched default is set to 0.05 in scalar, can be reset with 'set weakheatcool'

Definition at line 280 of file save.h.

Referenced by CoolSave(), InitDefaultsPreparse(), ParseSet(), and SaveHeat().

wlLineList is set of emission lines for LineList

Definition at line 124 of file save.h.

Referenced by ParseSave(), and SaveDo().


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1