#include <optimize.h>
Collaboration diagram for t_optimize:
optimize increments, deltas for changing optimized variables range for optimize command io unit for final best parameters from optimizer limit to number of iterations for optimizer, set with optimize iterations command set with optimize tolerance command, used for global match to fit default set in scalar to 0.10 current counter for the number of calls to the optimizer
lgTrOpt flag set with optimization trace command
nTrOpt is which call to cloudy to turn on trace
flags set if we are to optimize lines, luminosity, or colums
labels for column densities on vary command
this specifies the optimization routine
'amoe', 'powe', 'bubr'
Definition at line 86 of file optimize.h.
realnum t_optimize::chColDen_error[NCOLLM] |
char t_optimize::chColDen_label[NCOLLM][5] |
char t_optimize::chLineLabel[NOBSLM][5] |
char t_optimize::chOptRtn[5] |
Definition at line 170 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), lgOptimize_do(), ParseGrid(), and ParseOptimize().
char t_optimize::chTempLab[NOBSLM][5] |
char t_optimize::chTempWeight[NOBSLM][7] |
char t_optimize::chVarFmt[LIMPAR][FILENAME_PATH_LENGTH_2] |
Definition at line 170 of file optimize.h.
Referenced by abund_starburst(), grid_do(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseIonPar(), ParseMagnet(), ParsePowerlawContinuum(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), and vary_input().
realnum t_optimize::ColDen_Obs[NCOLLM] |
realnum t_optimize::errorwave[NOBSLM] |
long int t_optimize::ion_ColDen[NCOLLM] |
long int t_optimize::ionTemp[NCOLLM] |
FILE* t_optimize::ioOptim |
following will be file where best values will go
Definition at line 145 of file optimize.h.
Referenced by InitDefaultsPreparse(), and ParseOptimize().
bool t_optimize::lgNoVary |
flag set true if no vary command entered
Definition at line 89 of file optimize.h.
bool t_optimize::lgOptCol |
Definition at line 157 of file optimize.h.
Referenced by InitDefaultsPreparse(), and ParseOptimize().
Definition at line 166 of file optimize.h.
Referenced by InitDefaultsPreparse(), optimize_phymir(), and ParseOptimize().
Definition at line 152 of file optimize.h.
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
Definition at line 157 of file optimize.h.
Referenced by InitDefaultsPreparse(), lgCheckAsserts(), optimize_func(), and ParseOptimize().
bool t_optimize::lgOptimr |
flag set true if optimize command entered
Definition at line 94 of file optimize.h.
Referenced by cdDrive(), cdInit(), cdRead(), and ParsePunch().
bool t_optimize::lgOptLin |
these flags say we are optimizing on line intensity, luminosity, column density, or temperature
Definition at line 157 of file optimize.h.
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
bool t_optimize::lgOptLum |
Definition at line 157 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), and ParseOptimize().
Definition at line 157 of file optimize.h.
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
the following is needed by PHYMIR
Definition at line 166 of file optimize.h.
Referenced by InitDefaultsPreparse(), and ParseOptimize().
bool t_optimize::lgTrOpt |
Definition at line 156 of file optimize.h.
Referenced by GetOptColDen(), InitDefaultsPreparse(), ParseCommands(), and ParseOptimize().
bool t_optimize::lgVarOn |
Definition at line 119 of file optimize.h.
Referenced by abund_starburst(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseIonPar(), ParseMagnet(), ParsePowerlawContinuum(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), and SetLimits().
bool t_optimize::lgVaryOn |
flag set true if vary option used
Definition at line 89 of file optimize.h.
long int t_optimize::ncobs |
Definition at line 122 of file optimize.h.
Referenced by GetOptColDen(), grid_do(), and InitDefaultsPreparse().
long int t_optimize::nIterOptim |
number of temps entered
Definition at line 134 of file optimize.h.
Referenced by InitDefaultsPreparse(), and ParseOptimize().
long int t_optimize::nlobs |
Definition at line 134 of file optimize.h.
Referenced by GetOptLineInt(), grid_do(), InitDefaultsPreparse(), and optimize_func().
long int t_optimize::nOptimiz |
Definition at line 150 of file optimize.h.
Referenced by GridGatherAfterCloudy(), gridXspec(), optimize_func(), optimize_phymir(), ParseAssertResults(), ParseCommands(), and ParsePunch().
long int t_optimize::nparm |
Definition at line 116 of file optimize.h.
Referenced by abund_starburst(), grid_do(), ParseCommands(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseGlobule(), ParseGrain(), ParseGrid(), ParseHDEN(), ParseIonPar(), ParseMagnet(), ParseOptimize(), ParsePowerlawContinuum(), ParseRadius(), ParseRatio(), ParseSet(), and ParseStop().
long int t_optimize::nRangeSet |
Definition at line 116 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), ParseGrid(), and ParseOptimize().
long int t_optimize::nTempObs |
Definition at line 134 of file optimize.h.
Referenced by GetOptTemp(), grid_do(), InitDefaultsPreparse(), and optimize_func().
long int t_optimize::nTrOpt |
long int t_optimize::nvarxt[LIMPAR] |
the number of numbers on the command line
Definition at line 109 of file optimize.h.
Referenced by abund_starburst(), grid_do(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseIonPar(), ParseMagnet(), ParsePowerlawContinuum(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), and vary_input().
long int t_optimize::nvary |
Definition at line 116 of file optimize.h.
Referenced by grid_do(), lgOptimize_do(), optimize_func(), and vary_input().
long int t_optimize::nvfpnt[LIMPAR] |
Definition at line 109 of file optimize.h.
Referenced by abund_starburst(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseIonPar(), ParseMagnet(), ParsePowerlawContinuum(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), and vary_input().
Definition at line 146 of file optimize.h.
Referenced by InitDefaultsPreparse(), lgOptimize_do(), and ParseOptimize().
Definition at line 153 of file optimize.h.
Referenced by InitDefaultsPreparse(), and ParseOptimize().
realnum t_optimize::OptIncrm[LIMPAR] |
Definition at line 153 of file optimize.h.
Referenced by InitDefaultsPreparse(), and ParseOptimize().
double t_optimize::SavGenericData[10] |
realnum t_optimize::temp_error[NOBSLM] |
realnum t_optimize::temp_obs[NOBSLM] |
long t_optimize::useCPU |
realnum t_optimize::varang[LIMPAR][2] |
Definition at line 112 of file optimize.h.
Referenced by abund_starburst(), grid_do(), ParseGrid(), ParseOptimize(), and vary_input().
realnum t_optimize::varmax[LIMPAR] |
min and max of range of variation
Definition at line 98 of file optimize.h.
Referenced by optimize_func().
realnum t_optimize::varmin[LIMPAR] |
realnum t_optimize::vincr[LIMPAR] |
the increment
Definition at line 98 of file optimize.h.
Referenced by abund_starburst(), lgOptimize_do(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseIonPar(), ParseMagnet(), ParsePowerlawContinuum(), ParseRadius(), ParseRatio(), ParseSet(), and ParseStop().
realnum t_optimize::vparm[LIMEXT][LIMPAR] |
vparm is the value of the parameters on the line , there can be as many as LIMEXT parameters - only first is varied
Definition at line 98 of file optimize.h.
Referenced by abund_starburst(), grid_do(), lgOptimize_do(), optimize_func(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseIonPar(), ParseMagnet(), ParsePowerlawContinuum(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), and vary_input().
realnum t_optimize::vpused[LIMPAR] |
realnum t_optimize::wavelength[NOBSLM] |
line wavelengths
Definition at line 140 of file optimize.h.
Referenced by GetOptLineInt(), and optimize_func().
realnum t_optimize::xLineInt_error[NOBSLM] |
realnum t_optimize::xLineInt_Obs[NOBSLM] |