cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields
t_grid Struct Reference

#include <grid.h>

Collaboration diagram for t_grid:
Collaboration graph
[legend]

Public Member Functions

 t_grid ()
 

Data Fields

multi_arr< realnum, 3 > Spectra
 
char ** paramNames
 
long * paramMethods
 
realnum ** paramRange
 
realnum ** paramData
 
realnum ** 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 lgParseOnly
 
bool lgStrictRepeat
 
bool lgParallel
 
unsigned int useCPU
 
bool lgKeepMainOutputSeparate
 
long int nGridCommands
 
long nintparm
 
long naddparm
 
long numParamValues [LIMPAR]
 
long totNumModels
 
long nCycle
 
bool lgOutputTypeOn [NUM_OUTPUT_TYPES]
 
FILE * pnunit
 
long seqNum
 

Detailed Description

Definition at line 24 of file grid.h.

Constructor & Destructor Documentation

t_grid::t_grid ( )
inline

Definition at line 71 of file grid.h.

References lgGridDone, lgInsideGrid, lgParseOnly, lgStrictRepeat, and seqNum.

Field Documentation

realnum** t_grid::interpParameters

Definition at line 31 of file grid.h.

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

bool t_grid::lgGrid
bool t_grid::lgGridDone

Definition at line 42 of file grid.h.

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

bool t_grid::lgInsideGrid

Definition at line 43 of file grid.h.

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

Definition at line 53 of file grid.h.

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

bool t_grid::lgLinearIncrements[LIMPAR]

Definition at line 36 of file grid.h.

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

bool t_grid::lgNegativeIncrements

Definition at line 37 of file grid.h.

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

bool t_grid::lgOutputTypeOn[NUM_OUTPUT_TYPES]

Definition at line 66 of file grid.h.

Referenced by cdInit(), GridRetrieveXSPECData(), SaveDo(), and saveXSPEC().

bool t_grid::lgParallel

option to run the grid in parallel mode

Definition at line 47 of file grid.h.

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

bool t_grid::lgParseOnly

Definition at line 44 of file grid.h.

Referenced by cdMain(), cloudy(), main(), and t_grid().

bool t_grid::lgSaveXspec

Definition at line 38 of file grid.h.

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

bool t_grid::lgStrictRepeat

Definition at line 45 of file grid.h.

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

long t_grid::naddparm

Definition at line 59 of file grid.h.

Referenced by gridXspec(), and saveFITSfile().

long t_grid::nCycle

number of times the grid is executed, default is 1

Definition at line 64 of file grid.h.

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

long int t_grid::nGridCommands

number of grid commands entered

Definition at line 56 of file grid.h.

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

long t_grid::nintparm

Definition at line 58 of file grid.h.

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

long t_grid::numParamValues[LIMPAR]

Definition at line 60 of file grid.h.

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

realnum** t_grid::paramData

Definition at line 30 of file grid.h.

Referenced by gridXspec(), and saveFITSfile().

realnum t_grid::paramIncrements[LIMPAR]

Definition at line 34 of file grid.h.

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

realnum t_grid::paramLimits[LIMPAR][2]

Definition at line 33 of file grid.h.

Referenced by grid_do(), and ParseGrid().

long* t_grid::paramMethods

Definition at line 28 of file grid.h.

Referenced by gridXspec(), and saveFITSfile().

char** t_grid::paramNames

Definition at line 27 of file grid.h.

Referenced by gridXspec(), and saveFITSfile().

realnum** t_grid::paramRange

Definition at line 29 of file grid.h.

Referenced by gridXspec(), and saveFITSfile().

vector<realnum> t_grid::paramValuesFromList[LIMPAR]

Definition at line 35 of file grid.h.

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

FILE* t_grid::pnunit

Definition at line 68 of file grid.h.

Referenced by cdPrepareExit(), CloseSaveFiles(), and SaveFilesInit().

long t_grid::seqNum

Definition at line 69 of file grid.h.

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

multi_arr<realnum,3> t_grid::Spectra

Definition at line 26 of file grid.h.

Referenced by GridRetrieveXSPECData(), process_output(), and saveFITSfile().

long t_grid::totNumModels

Definition at line 61 of file grid.h.

Referenced by GridRetrieveXSPECData(), gridXspec(), main(), process_output(), and saveFITSfile().

unsigned int t_grid::useCPU

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

Definition at line 50 of file grid.h.

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


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