Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
t_grid Struct Reference

#include <grid.h>

Collaboration diagram for t_grid:

Public Member Functions

 t_grid ()
 

Public Attributes

multi_arr< realnum, 3 > Spectra
 
vector< string > paramNames
 
vector< long > paramMethods
 
multi_arr< realnum, 2 > paramRange
 
multi_arr< realnum, 2 > paramData
 
multi_arr< realnum, 2 > interpParameters
 
realnum paramLimits [LIMPAR][2]
 
realnum paramIncrements [LIMPAR]
 
vector< realnumparamValuesFromList [LIMPAR]
 
bool lgLinearIncrements [LIMPAR]
 
bool lgNegativeIncrements
 
bool lgSaveXspec
 
bool lgGrid
 
bool lgGridDone
 
bool lgInsideGrid
 
bool lgStrictRepeat
 
bool lgParallel
 
unsigned int useCPU
 
bool lgKeepMainOutputSeparate
 
bool lgCrash
 
bool lgCrashEval
 
long int nGridCommands
 
long nintparm
 
long naddparm
 
long numParamValues [LIMPAR]
 
long totNumModels
 
long nCycle
 
bool lgOutputTypeOn [NUM_OUTPUT_TYPES]
 
FILE * pnunit
 
long seqNum
 

Constructor & Destructor Documentation

t_grid::t_grid ( )
inline

Member Data Documentation

multi_arr<realnum,2> t_grid::interpParameters

Referenced by gridXspec(), saveFITSfile(), and SaveGrid().

bool t_grid::lgCrash

randomly crash some grid points, used for testing

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

bool t_grid::lgCrashEval

has crashing this grid point already been attempted before?

Referenced by ConvBase(), and InitDefaultsPreparse().

bool t_grid::lgGridDone

Referenced by gridXspec(), main(), saveFITSfile(), and t_grid().

bool t_grid::lgInsideGrid

Referenced by cdDrive(), main(), ParseSave(), and t_grid().

bool t_grid::lgKeepMainOutputSeparate

option to not gather the main output for each grid point into a single file

Referenced by InitDefaultsPreparse(), ParseGrid(), and process_output().

bool t_grid::lgLinearIncrements[LIMPAR]

Referenced by grid_do(), gridXspec(), and ParseGrid().

bool t_grid::lgNegativeIncrements
bool t_grid::lgOutputTypeOn[NUM_OUTPUT_TYPES]
bool t_grid::lgParallel

option to run the grid in parallel mode

Referenced by grid_do(), InitDefaultsPreparse(), main(), and ParseGrid().

bool t_grid::lgSaveXspec
bool t_grid::lgStrictRepeat

Referenced by gridXspec(), ParseGrid(), and t_grid().

long t_grid::naddparm

Referenced by gridXspec(), and saveFITSfile().

long t_grid::nCycle

number of times the grid is executed, default is 1

Referenced by gridXspec(), InitDefaultsPreparse(), and ParseGrid().

long int t_grid::nGridCommands

number of grid commands entered

Referenced by cdInit(), cdRead(), and ParseCommands().

long t_grid::nintparm

Referenced by gridXspec(), saveFITSfile(), and SaveGrid().

long t_grid::numParamValues[LIMPAR]
multi_arr<realnum,2> t_grid::paramData

Referenced by gridXspec(), and saveFITSfile().

realnum t_grid::paramIncrements[LIMPAR]
realnum t_grid::paramLimits[LIMPAR][2]

Referenced by grid_do(), and ParseGrid().

vector<long> t_grid::paramMethods

Referenced by gridXspec(), and saveFITSfile().

vector<string> t_grid::paramNames

Referenced by gridXspec(), and saveFITSfile().

multi_arr<realnum,2> t_grid::paramRange

Referenced by gridXspec(), and saveFITSfile().

vector<realnum> t_grid::paramValuesFromList[LIMPAR]

Referenced by grid_do(), gridXspec(), and ParseGrid().

FILE* t_grid::pnunit
long t_grid::seqNum

Referenced by main(), SaveGrid(), and t_grid().

multi_arr<realnum,3> t_grid::Spectra
long t_grid::totNumModels
unsigned int t_grid::useCPU

number of CPUs to be used in parallel grid runs (ignored in MPI mode)

Referenced by grid_do(), InitDefaultsPreparse(), main(), and ParseGrid().


The documentation for this struct was generated from the following file: