Cloudy
Spectral Synthesis Code for Astrophysics
|
#include <optimize.h>
Public Member Functions | |
t_optimize () | |
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'
|
inline |
References lgOptimizeAsLinear, and LIMPAR.
vector<string> t_optimize::chColDen_label |
parameters for the OPTIMIZE COLUMN DENSITY command
Referenced by GetOptColDen(), InitDefaultsPreparse(), and optimize_func().
char t_optimize::chOptRtn[5] |
Referenced by grid_do(), InitDefaultsPreparse(), optimize_do(), optimize_func(), ParseGrid(), and ParseOptimize().
vector<string> t_optimize::chTempLab |
parameters for the OPTIMIZE TEMPERATURE command
Referenced by GetOptTemp(), InitDefaultsPreparse(), and optimize_func().
vector<string> t_optimize::chTempWeight |
Referenced by GetOptTemp(), InitDefaultsPreparse(), and optimize_func().
char t_optimize::chVarFmt[LIMPAR][FILENAME_PATH_LENGTH_2] |
Referenced by abund_starburst(), grid_do(), MakeInputLine(), 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 |
Referenced by GetOptColDen(), InitDefaultsPreparse(), and optimize_func().
vector<realnum> t_optimize::ColDen_Obs |
Referenced by GetOptColDen(), grid_do(), InitDefaultsPreparse(), and optimize_func().
vector<Energy> t_optimize::ContEner |
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
vector<long> t_optimize::ContIndex |
parameters for the OPTIMIZE CONTINUUM FLUX command
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
vector<Flux> t_optimize::ContNFnu |
Referenced by grid_do(), InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
vector<chi2_type> t_optimize::ContNFnuErr |
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
vector<realnum> t_optimize::errorwave |
error on the wavelength
Referenced by GetOptLineInt(), and InitDefaultsPreparse().
vector<long> t_optimize::ion_ColDen |
Referenced by GetOptColDen(), InitDefaultsPreparse(), and optimize_func().
vector<long> t_optimize::ionTemp |
Referenced by GetOptTemp(), InitDefaultsPreparse(), and optimize_func().
vector<long> t_optimize::ipobs |
Referenced by InitDefaultsPreparse(), and optimize_func().
bool t_optimize::lgDiamInCM |
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
Referenced by grid_do(), InitDefaultsPreparse(), and ParseOptimize().
bool t_optimize::lgNoVary |
flag set true if no vary command entered
Referenced by cdDrive(), cdInit(), cdRead(), and ParseCommands().
bool t_optimize::lgOptCont |
Referenced by InitDefaultsPreparse(), optimize_phymir(), and ParseOptimize().
bool t_optimize::lgOptDiam |
parameters for the OPTIMIZE DIAMETER command
Referenced by grid_do(), InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
bool t_optimize::lgOptimFlow |
Referenced by grid_do(), InitDefaultsPreparse(), optimize_do(), optimize_func(), and ParseOptimize().
bool t_optimize::lgOptimize |
Referenced by InitDefaultsPreparse(), lgCheckMonitors(), optimize_func(), and ParseOptimize().
bool t_optimize::lgOptimizeAsLinear[LIMPAR] |
Referenced by gridXspec(), ParseDLaw(), ParseFudge(), ParseIlluminate(), ParseRatio(), t_optimize(), and vary_input().
bool t_optimize::lgOptimr |
bool t_optimize::lgOptLum |
this flag says we are optimizing on luminosity
Referenced by grid_do(), InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
bool t_optimize::lgParallel |
the following is needed by PHYMIR
Referenced by grid_do(), InitDefaultsPreparse(), optimize_phymir(), and ParseOptimize().
bool t_optimize::lgTrOpt |
Referenced by GetOptColDen(), InitDefaultsPreparse(), ParseCommands(), and ParseOptimize().
bool t_optimize::lgVarOn |
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
Referenced by cdDrive(), cdInit(), cdMain(), cdRead(), and ParseOptimize().
vector<LineID> t_optimize::lineids |
Referenced by GetOptLineInt(), InitDefaultsPreparse(), and optimize_func().
int t_optimize::nEmergent |
parameters for the OPTIMIZE LINES command
Referenced by GetOptLineInt(), InitDefaultsPreparse(), and optimize_func().
long int t_optimize::nIterOptim |
Referenced by grid_do(), InitDefaultsPreparse(), optimize_do(), optimize_phymir(), and ParseOptimize().
long int t_optimize::nOptimiz |
counter for number of models in a grid - zero for first simulation
Referenced by cdMain(), grid_do(), GridRetrieveXSPECData(), gridXspec(), main(), optimize_do(), optimize_func(), optimize_phymir(), ParseCommands(), ParseMonitorResults(), SaveDo(), saveFITSfile(), and SaveGrid().
int t_optimize::nOptLum |
Referenced by optimize_func(), and ParseOptimize().
long int t_optimize::nparm |
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 |
Referenced by grid_do(), InitDefaultsPreparse(), ParseGrid(), and ParseOptimize().
long int t_optimize::nTrOpt |
Referenced by ParseCommands(), and ParseOptimize().
long int t_optimize::nvarxt[LIMPAR] |
the number of numbers on the command line
Referenced by abund_starburst(), grid_do(), MakeInputLine(), optimize_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().
long int t_optimize::nvary |
Referenced by grid_do(), MakeInputLine(), optimize_do(), optimize_func(), and vary_input().
long int t_optimize::nvfpnt[LIMPAR] |
Referenced by abund_starburst(), grid_do(), optimize_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 |
Referenced by optimize_func(), and ParseOptimize().
chi2_type t_optimize::optDiamErr |
Referenced by optimize_func(), and ParseOptimize().
realnum t_optimize::OptGlobalErr |
Referenced by InitDefaultsPreparse(), optimize_do(), and ParseOptimize().
realnum t_optimize::optier |
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
Referenced by grid_do(), and ParseOptimize().
realnum t_optimize::optint |
Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().
double t_optimize::SavGenericData[10] |
Referenced by optimize_func().
vector<realnum> t_optimize::temp_error |
Referenced by GetOptTemp(), InitDefaultsPreparse(), and optimize_func().
vector<realnum> t_optimize::temp_obs |
Referenced by GetOptTemp(), grid_do(), InitDefaultsPreparse(), and optimize_func().
long t_optimize::useCPU |
Referenced by grid_do(), InitDefaultsPreparse(), optimize_phymir(), and ParseOptimize().
min and max of range of variation
Referenced by grid_do(), optimize_do(), optimize_func(), and optimize_phymir().
Referenced by grid_do(), optimize_do(), optimize_func(), and optimize_phymir().
the increment
Referenced by abund_starburst(), grid_do(), optimize_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
Referenced by abund_starburst(), grid_do(), MakeInputLine(), optimize_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::xLineInt_error |
Referenced by GetOptLineInt(), InitDefaultsPreparse(), and optimize_func().
vector<realnum> t_optimize::xLineInt_Obs |
Referenced by GetOptLineInt(), grid_do(), InitDefaultsPreparse(), and optimize_func().