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

#include <grid.h>

Collaboration diagram for t_grid:
Collaboration graph
[legend]

Data Fields

vector< realnumEnergies
 
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 lgStrictRepeat
 
bool lgParallel
 
unsigned int useCPU
 
bool lgKeepMainOutputSeparate
 
long int nGridCommands
 
long nintparm
 
long naddparm
 
long numEnergies
 
long numParamValues [LIMPAR]
 
long totNumModels
 
long nCycle
 
bool lgOutputTypeOn [NUM_OUTPUT_TYPES]
 
long ipLoEnergy
 
long ipHiEnergy
 
realnum LoEnergy_keV
 
realnum HiEnergy_keV
 
FILE * pnunit
 
long seqNum
 

Detailed Description

Definition at line 24 of file grid.h.

Field Documentation

vector<realnum> t_grid::Energies

Definition at line 26 of file grid.h.

Referenced by GridGatherInCloudy(), and saveFITSfile().

realnum t_grid::HiEnergy_keV

Definition at line 69 of file grid.h.

Referenced by GridGatherInCloudy(), and InitCoreload().

realnum** t_grid::interpParameters

Definition at line 32 of file grid.h.

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

long t_grid::ipHiEnergy

Definition at line 68 of file grid.h.

Referenced by GridGatherInCloudy(), and InitCoreload().

long t_grid::ipLoEnergy

Definition at line 68 of file grid.h.

Referenced by GridGatherInCloudy(), InitCoreload(), and saveFITSfile().

bool t_grid::lgGrid

set true when grid command entered

Definition at line 42 of file grid.h.

Referenced by BadStart(), cdInit(), cdMain(), cdPrepareExit(), cdRead(), grid_do(), GridGatherInCloudy(), main(), optimize_func(), ParseCommands(), ParseGrid(), SaveDo(), SaveFilesInit(), and vary_input().

bool t_grid::lgGridDone

Definition at line 43 of file grid.h.

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

bool t_grid::lgKeepMainOutputSeparate

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

Definition at line 52 of file grid.h.

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

bool t_grid::lgLinearIncrements[LIMPAR]

Definition at line 37 of file grid.h.

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

bool t_grid::lgNegativeIncrements

Definition at line 38 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(), GridGatherInCloudy(), and SaveDo().

bool t_grid::lgParallel

option to run the grid in parallel mode

Definition at line 46 of file grid.h.

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

bool t_grid::lgSaveXspec

Definition at line 39 of file grid.h.

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

bool t_grid::lgStrictRepeat

Definition at line 44 of file grid.h.

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

realnum t_grid::LoEnergy_keV

Definition at line 69 of file grid.h.

Referenced by GridGatherInCloudy(), and InitCoreload().

long t_grid::naddparm

Definition at line 58 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 55 of file grid.h.

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

long t_grid::nintparm

Definition at line 57 of file grid.h.

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

long t_grid::numEnergies

Definition at line 59 of file grid.h.

Referenced by GridGatherInCloudy(), and saveFITSfile().

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 31 of file grid.h.

Referenced by gridXspec(), and saveFITSfile().

realnum t_grid::paramIncrements[LIMPAR]

Definition at line 35 of file grid.h.

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

realnum t_grid::paramLimits[LIMPAR][2]

Definition at line 34 of file grid.h.

Referenced by grid_do(), and ParseGrid().

long* t_grid::paramMethods

Definition at line 29 of file grid.h.

Referenced by gridXspec(), and saveFITSfile().

char** t_grid::paramNames

Definition at line 28 of file grid.h.

Referenced by gridXspec(), and saveFITSfile().

realnum** t_grid::paramRange

Definition at line 30 of file grid.h.

Referenced by gridXspec(), and saveFITSfile().

vector<realnum> t_grid::paramValuesFromList[LIMPAR]

Definition at line 36 of file grid.h.

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

FILE* t_grid::pnunit

Definition at line 71 of file grid.h.

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

long t_grid::seqNum

Definition at line 72 of file grid.h.

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

multi_arr<realnum,3> t_grid::Spectra

Definition at line 27 of file grid.h.

Referenced by GridGatherInCloudy(), and saveFITSfile().

long t_grid::totNumModels

Definition at line 61 of file grid.h.

Referenced by GridGatherInCloudy(), 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 49 of file grid.h.

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


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