Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
t_optimize Struct Reference

#include <optimize.h>

Public Member Functions

 t_optimize ()
 

Public Attributes

bool lgVaryOn
 
bool lgNoVary
 
bool lgOptimr
 
bool lgInitialParse
 
bool lgOptimizeAsLinear [LIMPAR]
 
realnum varmax [LIMPAR]
 
realnum varmin [LIMPAR]
 
realnum vparm [LIMEXT][LIMPAR]
 
realnum vincr [LIMPAR]
 
long int nvarxt [LIMPAR]
 
long int nvfpnt [LIMPAR]
 
realnum OptIncrm [LIMPAR]
 
realnum varang [LIMPAR][2]
 
long int nvary
 
long int nparm
 
long int nRangeSet
 
bool lgVarOn
 
long int nIterOptim
 
vector< string > chColDen_label
 
vector< long > ion_ColDen
 
vector< realnumColDen_Obs
 
vector< realnumColDen_error
 
int nEmergent
 
vector< LineIDlineids
 
vector< realnumerrorwave
 
vector< long > ipobs
 
vector< realnumxLineInt_Obs
 
vector< realnumxLineInt_error
 
vector< string > chTempLab
 
vector< long > ionTemp
 
vector< realnumtemp_obs
 
vector< realnumtemp_error
 
vector< string > chTempWeight
 
bool lgOptDiam
 
bool lgDiamInCM
 
chi2_type optDiam
 
chi2_type optDiamErr
 
vector< long > ContIndex
 
vector< EnergyContEner
 
vector< FluxContNFnu
 
vector< chi2_typeContNFnuErr
 
realnum OptGlobalErr
 
long int nOptimiz
 
bool lgOptimFlow
 
realnum optint
 
realnum optier
 
long int nTrOpt
 
bool lgTrOpt
 
bool lgOptimize
 
bool lgOptLum
 
int nOptLum
 
bool lgParallel
 
bool lgOptCont
 
long useCPU
 
char chVarFmt [LIMPAR][FILENAME_PATH_LENGTH_2]
 
char chOptRtn [5]
 
double SavGenericData [10]
 

Detailed Description

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'

Constructor & Destructor Documentation

t_optimize::t_optimize ( )
inline

References lgOptimizeAsLinear, and LIMPAR.

Member Data Documentation

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]
vector<string> t_optimize::chTempLab

parameters for the OPTIMIZE TEMPERATURE command

Referenced by GetOptTemp(), InitDefaultsPreparse(), and optimize_func().

vector<string> t_optimize::chTempWeight
vector<realnum> t_optimize::ColDen_error
vector<realnum> t_optimize::ColDen_Obs
vector<Energy> t_optimize::ContEner
vector<long> t_optimize::ContIndex

parameters for the OPTIMIZE CONTINUUM FLUX command

Referenced by InitDefaultsPreparse(), optimize_func(), and ParseOptimize().

vector<Flux> t_optimize::ContNFnu
vector<chi2_type> t_optimize::ContNFnuErr
vector<realnum> t_optimize::errorwave

error on the wavelength

Referenced by GetOptLineInt(), and InitDefaultsPreparse().

vector<long> t_optimize::ion_ColDen
vector<long> t_optimize::ionTemp
vector<long> t_optimize::ipobs
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
bool t_optimize::lgOptDiam

parameters for the OPTIMIZE DIAMETER command

Referenced by grid_do(), InitDefaultsPreparse(), optimize_func(), and ParseOptimize().

bool t_optimize::lgOptimFlow
bool t_optimize::lgOptimize
bool t_optimize::lgOptimizeAsLinear[LIMPAR]
bool t_optimize::lgOptimr

flag set true if optimize command entered

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

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
bool t_optimize::lgVaryOn

flag set true if vary option used

Referenced by cdDrive(), cdInit(), cdMain(), cdRead(), and ParseOptimize().

vector<LineID> t_optimize::lineids
int t_optimize::nEmergent

parameters for the OPTIMIZE LINES command

Referenced by GetOptLineInt(), InitDefaultsPreparse(), and optimize_func().

long int t_optimize::nIterOptim
long int t_optimize::nOptimiz
int t_optimize::nOptLum

Referenced by optimize_func(), and ParseOptimize().

long int t_optimize::nRangeSet
long int t_optimize::nTrOpt

Referenced by ParseCommands(), and ParseOptimize().

long int t_optimize::nvary
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
realnum t_optimize::optier
realnum t_optimize::OptIncrm[LIMPAR]

Referenced by grid_do(), and ParseOptimize().

realnum t_optimize::optint
double t_optimize::SavGenericData[10]

Referenced by optimize_func().

vector<realnum> t_optimize::temp_error
vector<realnum> t_optimize::temp_obs
long t_optimize::useCPU
realnum t_optimize::varmax[LIMPAR]

min and max of range of variation

Referenced by grid_do(), optimize_do(), optimize_func(), and optimize_phymir().

realnum t_optimize::varmin[LIMPAR]
vector<realnum> t_optimize::xLineInt_error
vector<realnum> t_optimize::xLineInt_Obs

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