cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Fields
t_optimize Struct Reference

#include <optimize.h>

Collaboration diagram for t_optimize:
Collaboration graph
[legend]

Data Fields

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< string > chLineLabel
 
vector< realnumwavelength
 
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'

Definition at line 170 of file optimize.h.

Field Documentation

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]
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]
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
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]
bool t_optimize::lgOptimr

flag set true if optimize command entered

Definition at line 178 of file optimize.h.

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

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
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
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
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]
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]
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().

realnum t_optimize::OptIncrm[LIMPAR]

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().

realnum t_optimize::varang[LIMPAR][2]
realnum t_optimize::varmax[LIMPAR]

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().

realnum t_optimize::varmin[LIMPAR]

Definition at line 188 of file optimize.h.

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

realnum t_optimize::vincr[LIMPAR]
realnum t_optimize::vparm[LIMEXT][LIMPAR]
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().


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