Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <grid.h>
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< realnum > | paramValuesFromList [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 |
|
inline |
References lgGridDone, lgInsideGrid, lgStrictRepeat, and seqNum.
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::lgGrid |
set true when grid command entered
Referenced by cdInit(), cdMain(), cdPrepareExit(), cdRead(), grid_do(), GridRetrieveXSPECData(), main(), optimize_func(), ParseCommands(), ParseGrid(), SaveDo(), SaveFilesInit(), and vary_input().
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 |
Referenced by InitDefaultsPreparse(), ParseCommands(), and ParseGrid().
bool t_grid::lgOutputTypeOn[NUM_OUTPUT_TYPES] |
Referenced by cdInit(), GridRetrieveXSPECData(), SaveDo(), and saveXSPEC().
bool t_grid::lgParallel |
option to run the grid in parallel mode
Referenced by grid_do(), InitDefaultsPreparse(), main(), and ParseGrid().
bool t_grid::lgSaveXspec |
Referenced by gridXspec(), InitDefaultsPreparse(), and ParseCommands().
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] |
Referenced by grid_do(), gridXspec(), ParseGrid(), and saveFITSfile().
Referenced by gridXspec(), and saveFITSfile().
Referenced by grid_do(), gridXspec(), ParseGrid(), and vary_input().
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().
Referenced by gridXspec(), and saveFITSfile().
Referenced by grid_do(), gridXspec(), and ParseGrid().
FILE* t_grid::pnunit |
Referenced by cdPrepareExit(), CloseSaveFiles(), and SaveFilesInit().
long t_grid::seqNum |
Referenced by main(), SaveGrid(), and t_grid().
Referenced by GridRetrieveXSPECData(), process_output(), and saveFITSfile().
long t_grid::totNumModels |
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)
Referenced by grid_do(), InitDefaultsPreparse(), main(), and ParseGrid().