cloudy
trunk
|
#include <optimize.h>
logical variable says whether current line image has vary option
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<BR> this specifies the optimization routine<BR> 'amoe', 'powe', 'bubr'
Definition at line 170 of file optimize.h.
vector<string> t_optimize::chColDen_label |
parameters for the OPTIMIZE COLUMN DENSITY command
Definition at line 212 of file optimize.h.
Referenced by GetOptColDen(), InitDefaultsPreparse(), and optimize_func().
vector<string> t_optimize::chLineLabel |
Definition at line 219 of file optimize.h.
Referenced by GetOptLineInt(), InitDefaultsPreparse(), and optimize_func().
char t_optimize::chOptRtn[5] |
Definition at line 268 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), lgOptimize_do(), optimize_func(), ParseGrid(), and ParseOptimize().
vector<string> t_optimize::chTempLab |
parameters for the OPTIMIZE TEMPERATURE command
Definition at line 229 of file optimize.h.
Referenced by GetOptTemp(), InitDefaultsPreparse(), and optimize_func().
vector<string> t_optimize::chTempWeight |
Definition at line 233 of file optimize.h.
Referenced by GetOptTemp(), InitDefaultsPreparse(), and optimize_func().
char t_optimize::chVarFmt[LIMPAR][FILENAME_PATH_LENGTH_2] |
Definition at line 267 of file optimize.h.
Referenced by abund_starburst(), grid_do(), lgOptimize_do(), optimize_func(), ParseAgn(), ParseBlackbody(), ParseBremsstrahlung(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseDarkMatter(), ParseDatabaseISO(), ParseDistance(), ParseDLaw(), ParseEden(), ParseElement(), ParseEnergy(), ParseFill(), ParseFudge(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseHExtra(), ParseIlluminate(), ParseIntensity(), ParseIonPar(), ParseLuminosity(), ParseMagnet(), ParseMetal(), ParsePhi(), ParsePowerlawContinuum(), ParseQH(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), ParseTable(), ParseTLaw(), ParseTurbulence(), SaveGrid(), and vary_input().
vector<realnum> t_optimize::ColDen_error |
Definition at line 215 of file optimize.h.
Referenced by GetOptColDen(), InitDefaultsPreparse(), and optimize_func().
vector<realnum> t_optimize::ColDen_Obs |
Definition at line 214 of file optimize.h.
Referenced by GetOptColDen(), grid_do(), InitDefaultsPreparse(), and optimize_func().
vector<Energy> t_optimize::ContEner |
Definition at line 243 of file optimize.h.
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
vector<long> t_optimize::ContIndex |
parameters for the OPTIMIZE CONTINUUM FLUX command
Definition at line 242 of file optimize.h.
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
vector<Flux> t_optimize::ContNFnu |
Definition at line 244 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
vector<chi2_type> t_optimize::ContNFnuErr |
Definition at line 245 of file optimize.h.
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
vector<realnum> t_optimize::errorwave |
error on the wavelength
Definition at line 223 of file optimize.h.
Referenced by GetOptLineInt(), and InitDefaultsPreparse().
vector<long> t_optimize::ion_ColDen |
Definition at line 213 of file optimize.h.
Referenced by GetOptColDen(), InitDefaultsPreparse(), and optimize_func().
vector<long> t_optimize::ionTemp |
Definition at line 230 of file optimize.h.
Referenced by GetOptTemp(), InitDefaultsPreparse(), and optimize_func().
vector<long> t_optimize::ipobs |
Definition at line 224 of file optimize.h.
Referenced by InitDefaultsPreparse(), and optimize_func().
bool t_optimize::lgDiamInCM |
Definition at line 237 of file optimize.h.
Referenced by optimize_func(), and ParseOptimize().
bool t_optimize::lgInitialParse |
flag to indicate that we are doing the initial parsing in grid_do() rather than parsing an individual model during the optimization
Definition at line 182 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), and ParseOptimize().
bool t_optimize::lgNoVary |
flag set true if no vary command entered
Definition at line 175 of file optimize.h.
Referenced by cdDrive(), cdInit(), cdRead(), and ParseCommands().
bool t_optimize::lgOptCont |
Definition at line 264 of file optimize.h.
Referenced by InitDefaultsPreparse(), optimize_phymir(), and ParseOptimize().
bool t_optimize::lgOptDiam |
parameters for the OPTIMIZE DIAMETER command
Definition at line 236 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
bool t_optimize::lgOptimFlow |
Definition at line 252 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), lgOptimize_do(), optimize_func(), and ParseOptimize().
bool t_optimize::lgOptimize |
Definition at line 257 of file optimize.h.
Referenced by InitDefaultsPreparse(), lgCheckMonitors(), optimize_func(), and ParseOptimize().
bool t_optimize::lgOptimizeAsLinear[LIMPAR] |
Definition at line 184 of file optimize.h.
Referenced by gridXspec(), InitCoreload(), ParseDLaw(), ParseFudge(), ParseIlluminate(), ParseRatio(), and vary_input().
bool t_optimize::lgOptimr |
flag set true if optimize command entered
Definition at line 178 of file optimize.h.
bool t_optimize::lgOptLum |
this flag says we are optimizing on luminosity
Definition at line 259 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
bool t_optimize::lgParallel |
the following is needed by PHYMIR
Definition at line 263 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), optimize_phymir(), and ParseOptimize().
bool t_optimize::lgTrOpt |
Definition at line 256 of file optimize.h.
Referenced by GetOptColDen(), InitDefaultsPreparse(), ParseCommands(), and ParseOptimize().
bool t_optimize::lgVarOn |
Definition at line 207 of file optimize.h.
Referenced by abund_starburst(), ParseAgn(), ParseBlackbody(), ParseBremsstrahlung(), ParseCommands(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseDarkMatter(), ParseDatabaseISO(), ParseDistance(), ParseDLaw(), ParseEden(), ParseElement(), ParseEnergy(), ParseFill(), ParseFudge(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseHExtra(), ParseIlluminate(), ParseIntensity(), ParseIonPar(), ParseLuminosity(), ParseMagnet(), ParseMetal(), ParsePhi(), ParsePowerlawContinuum(), ParseQH(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), ParseTable(), ParseTLaw(), ParseTurbulence(), and SetLimits().
bool t_optimize::lgVaryOn |
flag set true if vary option used
Definition at line 173 of file optimize.h.
Referenced by cdDrive(), cdInit(), cdMain(), cdRead(), and ParseOptimize().
int t_optimize::nEmergent |
parameters for the OPTIMIZE LINES command
Definition at line 218 of file optimize.h.
Referenced by GetOptLineInt(), InitDefaultsPreparse(), and optimize_func().
long int t_optimize::nIterOptim |
Definition at line 209 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), lgOptimize_do(), optimize_phymir(), and ParseOptimize().
long int t_optimize::nOptimiz |
counter for number of models in a grid - zero for first simulation
Definition at line 250 of file optimize.h.
Referenced by cdMain(), grid_do(), GridRetrieveXSPECData(), gridXspec(), lgOptimize_do(), main(), optimize_func(), optimize_phymir(), ParseCommands(), ParseMonitorResults(), SaveDo(), saveFITSfile(), and SaveGrid().
int t_optimize::nOptLum |
Definition at line 260 of file optimize.h.
Referenced by optimize_func(), and ParseOptimize().
long int t_optimize::nparm |
Definition at line 204 of file optimize.h.
Referenced by abund_starburst(), grid_do(), ParseAgn(), ParseBlackbody(), ParseBremsstrahlung(), ParseCommands(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseDarkMatter(), ParseDatabaseISO(), ParseDistance(), ParseDLaw(), ParseEden(), ParseElement(), ParseEnergy(), ParseFill(), ParseFudge(), ParseGlobule(), ParseGrain(), ParseGrid(), ParseHDEN(), ParseHExtra(), ParseIlluminate(), ParseIntensity(), ParseIonPar(), ParseLuminosity(), ParseMagnet(), ParseMetal(), ParseOptimize(), ParsePhi(), ParsePowerlawContinuum(), ParseQH(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), ParseTable(), ParseTLaw(), and ParseTurbulence().
long int t_optimize::nRangeSet |
Definition at line 204 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), ParseGrid(), and ParseOptimize().
long int t_optimize::nTrOpt |
Definition at line 255 of file optimize.h.
Referenced by ParseCommands(), and ParseOptimize().
long int t_optimize::nvarxt[LIMPAR] |
the number of numbers on the command line
Definition at line 198 of file optimize.h.
Referenced by abund_starburst(), grid_do(), lgOptimize_do(), optimize_func(), ParseAgn(), ParseBlackbody(), ParseBremsstrahlung(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseDarkMatter(), ParseDatabaseISO(), ParseDistance(), ParseDLaw(), ParseEden(), ParseElement(), ParseEnergy(), ParseFill(), ParseFudge(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseHExtra(), ParseIlluminate(), ParseIntensity(), ParseIonPar(), ParseLuminosity(), ParseMagnet(), ParseMetal(), ParsePhi(), ParsePowerlawContinuum(), ParseQH(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), ParseTable(), ParseTLaw(), ParseTurbulence(), and vary_input().
long int t_optimize::nvary |
Definition at line 204 of file optimize.h.
Referenced by grid_do(), lgOptimize_do(), optimize_func(), and vary_input().
long int t_optimize::nvfpnt[LIMPAR] |
Definition at line 198 of file optimize.h.
Referenced by abund_starburst(), grid_do(), lgOptimize_do(), optimize_func(), ParseAgn(), ParseBlackbody(), ParseBremsstrahlung(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseDarkMatter(), ParseDatabaseISO(), ParseDistance(), ParseDLaw(), ParseEden(), ParseElement(), ParseEnergy(), ParseFill(), ParseFudge(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseHExtra(), ParseIlluminate(), ParseIntensity(), ParseIonPar(), ParseLuminosity(), ParseMagnet(), ParseMetal(), ParsePhi(), ParsePowerlawContinuum(), ParseQH(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), ParseTable(), ParseTLaw(), ParseTurbulence(), and vary_input().
chi2_type t_optimize::optDiam |
Definition at line 238 of file optimize.h.
Referenced by optimize_func(), and ParseOptimize().
chi2_type t_optimize::optDiamErr |
Definition at line 239 of file optimize.h.
Referenced by optimize_func(), and ParseOptimize().
realnum t_optimize::OptGlobalErr |
Definition at line 247 of file optimize.h.
Referenced by InitDefaultsPreparse(), lgOptimize_do(), and ParseOptimize().
realnum t_optimize::optier |
Definition at line 254 of file optimize.h.
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
Definition at line 201 of file optimize.h.
Referenced by grid_do(), and ParseOptimize().
realnum t_optimize::optint |
Definition at line 253 of file optimize.h.
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
double t_optimize::SavGenericData[10] |
Definition at line 270 of file optimize.h.
Referenced by optimize_func().
vector<realnum> t_optimize::temp_error |
Definition at line 232 of file optimize.h.
Referenced by GetOptTemp(), InitDefaultsPreparse(), and optimize_func().
vector<realnum> t_optimize::temp_obs |
Definition at line 231 of file optimize.h.
Referenced by GetOptTemp(), grid_do(), InitDefaultsPreparse(), and optimize_func().
long t_optimize::useCPU |
Definition at line 265 of file optimize.h.
Referenced by grid_do(), InitDefaultsPreparse(), optimize_phymir(), and ParseOptimize().
Definition at line 201 of file optimize.h.
Referenced by abund_starburst(), grid_do(), lgOptimize_do(), optimize_func(), optimize_phymir(), ParseConstant(), ParseCoronal(), ParseEden(), ParseFill(), ParseGrid(), ParseIlluminate(), ParseOptimize(), ParsePowerlawContinuum(), ParseSet(), ParseTable(), and vary_input().
min and max of range of variation
Definition at line 187 of file optimize.h.
Referenced by grid_do(), lgOptimize_do(), optimize_func(), and optimize_phymir().
Definition at line 188 of file optimize.h.
Referenced by grid_do(), lgOptimize_do(), optimize_func(), and optimize_phymir().
the increment
Definition at line 195 of file optimize.h.
Referenced by abund_starburst(), grid_do(), lgOptimize_do(), ParseAgn(), ParseBlackbody(), ParseBremsstrahlung(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseDarkMatter(), ParseDatabaseISO(), ParseDistance(), ParseDLaw(), ParseEden(), ParseElement(), ParseEnergy(), ParseFill(), ParseFudge(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseHExtra(), ParseIlluminate(), ParseIntensity(), ParseIonPar(), ParseLuminosity(), ParseMagnet(), ParseMetal(), ParsePhi(), ParsePowerlawContinuum(), ParseQH(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), ParseTable(), ParseTLaw(), and ParseTurbulence().
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 192 of file optimize.h.
Referenced by abund_starburst(), grid_do(), lgOptimize_do(), optimize_func(), ParseAgn(), ParseBlackbody(), ParseBremsstrahlung(), ParseConstant(), ParseCoronal(), ParseCosmicRays(), ParseDarkMatter(), ParseDatabaseISO(), ParseDistance(), ParseDLaw(), ParseEden(), ParseElement(), ParseEnergy(), ParseFill(), ParseFudge(), ParseGlobule(), ParseGrain(), ParseHDEN(), ParseHExtra(), ParseIlluminate(), ParseIntensity(), ParseIonPar(), ParseLuminosity(), ParseMagnet(), ParseMetal(), ParsePhi(), ParsePowerlawContinuum(), ParseQH(), ParseRadius(), ParseRatio(), ParseSet(), ParseStop(), ParseTable(), ParseTLaw(), ParseTurbulence(), and vary_input().
vector<realnum> t_optimize::wavelength |
line wavelengths
Definition at line 221 of file optimize.h.
Referenced by GetOptLineInt(), InitDefaultsPreparse(), and optimize_func().
vector<realnum> t_optimize::xLineInt_error |
Definition at line 226 of file optimize.h.
Referenced by GetOptLineInt(), InitDefaultsPreparse(), and optimize_func().
vector<realnum> t_optimize::xLineInt_Obs |
Definition at line 225 of file optimize.h.
Referenced by GetOptLineInt(), grid_do(), InitDefaultsPreparse(), and optimize_func().