queso-0.57.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
QUESO::GPMSAOptions Class Reference

This class defines the options that specify the behaviour of the Gaussian process emulator. More...

#include <GPMSAOptions.h>

Public Member Functions

 GPMSAOptions (const BaseEnvironment &env, const char *prefix)
 Given prefix, read the input file for parameters named "prefix"+*. More...
 
 GPMSAOptions ()
 Construct with default parameters. More...
 
void set_prefix (const char *prefix)
 Set parameter option names to begin with prefix. More...
 
void set_defaults ()
 Set default values for parameter options. More...
 
void parse (const BaseEnvironment &env, const char *prefix)
 Given prefix, read the input file for parameters named "prefix"+*. More...
 
virtual ~GPMSAOptions ()
 Destructor. More...
 
void print (std::ostream &os) const
 Prints this to os. More...
 
void set_autoscale_minmax_uncertain_parameter (unsigned int i)
 Do automatic normalization, using minimum and maximum values in. More...
 
void set_autoscale_minmax_scenario_parameter (unsigned int i)
 Do automatic normalization, using minimum and maximum values in. More...
 
void set_autoscale_minmax ()
 Do automatic normalization, using minimum and maximum values in. More...
 
void set_autoscale_meanvar_uncertain_parameter (unsigned int i)
 Do automatic normalization, using mean and variance of the. More...
 
void set_autoscale_meanvar_scenario_parameter (unsigned int i)
 Do automatic normalization, using mean and variance of the. More...
 
void set_autoscale_meanvar ()
 Do automatic normalization, using mean and variance of the. More...
 
void set_uncertain_parameter_scaling (unsigned int i, double range_min, double range_max)
 Set a value, for uncertain parameter i in simulation inputs, of. More...
 
void set_scenario_parameter_scaling (unsigned int i, double range_min, double range_max)
 Set a value, for scenario parameter i in simulation and. More...
 
void set_output_scaling (unsigned int i, double range_min, double range_max)
 Set a value, for output value i in simulation and. More...
 
template<typename V >
void set_final_scaling (const std::vector< typename SharedPtr< V >::Type > &m_simulationScenarios, const std::vector< typename SharedPtr< V >::Type > &m_simulationParameters, const std::vector< typename SharedPtr< V >::Type > &m_simulationOutputs, const std::vector< typename SharedPtr< V >::Type > &m_experimentScenarios, const std::vector< typename SharedPtr< V >::Type > &m_experimentOutputs)
 Determine the physical parameter ranges (range_min, range_max) More...
 
double normalized_scenario_parameter (unsigned int i, double physical_param) const
 Calculate a normalized value from a physical value for the. More...
 
double normalized_uncertain_parameter (unsigned int i, double physical_param) const
 Calculate a normalized value from a physical value for the. More...
 
const BaseEnvironmentenv () const
 Returns the QUESO environment. More...
 

Public Attributes

std::string m_prefix
 The prefix to look for in the input file. More...
 
std::string m_help
 If this string is non-empty, print the options object to the output file. More...
 
int m_maxEmulatorBasisVectors
 The maximum number of basis vectors to use for approximating. More...
 
double m_emulatorBasisVarianceToCapture
 The minimum fraction of the variance in simulation output to. More...
 
double m_emulatorPrecisionShape
 The shape parameter for the Gamma hyperprior for the emulator precision. More...
 
double m_emulatorPrecisionScale
 The scale parameter for the Gamma hyperprior for the emulator precision. More...
 
bool m_calibrateObservationalPrecision
 Whether to use an observational error precision hyperparameter. More...
 
double m_observationalPrecisionShape
 The shape parameter for the Gamma hyperprior for the observational precision. More...
 
double m_observationalPrecisionScale
 The scale parameter for the Gamma hyperprior for the observational precision. More...
 
double m_emulatorCorrelationStrengthAlpha
 The alpha paramter for the Beta hyperprior for the emulator correlation strength. More...
 
double m_emulatorCorrelationStrengthBeta
 The beta paramter for the Beta hyperprior for the emulator correlation strength. More...
 
double m_discrepancyPrecisionShape
 The shape parameter for the Gamma hyperprior for the discrepancy precision. More...
 
double m_discrepancyPrecisionScale
 The scale parameter for the Gamma hyperprior for the discrepancy precision. More...
 
double m_discrepancyCorrelationStrengthAlpha
 The alpha paramter for the Beta hyperprior for the discrepancy correlation strength. More...
 
double m_discrepancyCorrelationStrengthBeta
 The beta paramter for the Beta hyperprior for the discrepancy correlation strength. More...
 
double m_emulatorDataPrecisionShape
 The shape parameter for the Gamma hyperprior for the emulator data precision. More...
 
double m_emulatorDataPrecisionScale
 The scale parameter for the Gamma hyperprior for the emulator data precision. More...
 

Private Member Functions

void checkOptions ()
 

Private Attributes

const BaseEnvironmentm_env
 
QUESO::ScopedPtr
< BoostInputOptionsParser >
::Type 
m_parser
 
bool m_autoscaleMinMaxAll
 
bool m_autoscaleMeanVarAll
 
std::set< unsigned int > m_autoscaleMinMaxUncertain
 
std::set< unsigned int > m_autoscaleMeanVarUncertain
 
std::set< unsigned int > m_autoscaleMinMaxScenario
 
std::set< unsigned int > m_autoscaleMeanVarScenario
 
std::vector< double > m_uncertainScaleMin
 
std::vector< double > m_uncertainScaleRange
 
std::vector< double > m_scenarioScaleMin
 
std::vector< double > m_scenarioScaleRange
 
std::string m_option_help
 
std::string m_option_maxEmulatorBasisVectors
 
std::string m_option_emulatorBasisVarianceToCapture
 
std::string m_option_emulatorPrecisionShape
 
std::string m_option_emulatorPrecisionScale
 
std::string m_option_calibrateObservationalPrecision
 
std::string m_option_observationalPrecisionShape
 
std::string m_option_observationalPrecisionScale
 
std::string m_option_emulatorCorrelationStrengthAlpha
 
std::string m_option_emulatorCorrelationStrengthBeta
 
std::string m_option_discrepancyPrecisionShape
 
std::string m_option_discrepancyPrecisionScale
 
std::string m_option_discrepancyCorrelationStrengthAlpha
 
std::string m_option_discrepancyCorrelationStrengthBeta
 
std::string m_option_emulatorDataPrecisionShape
 
std::string m_option_emulatorDataPrecisionScale
 
std::string m_option_autoscaleMinMaxAll
 
std::string m_option_autoscaleMeanVarAll
 

Friends

std::ostream & operator<< (std::ostream &os, const GPMSAOptions &obj)
 

Detailed Description

This class defines the options that specify the behaviour of the Gaussian process emulator.

Definition at line 45 of file GPMSAOptions.h.

Constructor & Destructor Documentation

QUESO::GPMSAOptions::GPMSAOptions ( const BaseEnvironment env,
const char *  prefix 
)

Given prefix, read the input file for parameters named "prefix"+*.

Definition at line 96 of file GPMSAOptions.C.

References parse(), and set_defaults().

99 {
100  this->set_defaults();
101  this->parse(env, prefix);
102 }
void parse(const BaseEnvironment &env, const char *prefix)
Given prefix, read the input file for parameters named &quot;prefix&quot;+*.
Definition: GPMSAOptions.C:172
const BaseEnvironment & env() const
Returns the QUESO environment.
void set_defaults()
Set default values for parameter options.
Definition: GPMSAOptions.C:145
QUESO::GPMSAOptions::GPMSAOptions ( )

Construct with default parameters.

Definition at line 105 of file GPMSAOptions.C.

References set_defaults(), and set_prefix().

106  :
107  m_env(NULL)
108 #ifndef QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
109  ,m_parser(new BoostInputOptionsParser())
110 #endif // QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
111 {
112  this->set_defaults();
113  this->set_prefix("");
114 }
void set_prefix(const char *prefix)
Set parameter option names to begin with prefix.
Definition: GPMSAOptions.C:118
QUESO::ScopedPtr< BoostInputOptionsParser >::Type m_parser
Definition: GPMSAOptions.h:240
const BaseEnvironment * m_env
Definition: GPMSAOptions.h:237
void set_defaults()
Set default values for parameter options.
Definition: GPMSAOptions.C:145
QUESO::GPMSAOptions::~GPMSAOptions ( )
virtual

Destructor.

Definition at line 335 of file GPMSAOptions.C.

336 {
337 }

Member Function Documentation

void QUESO::GPMSAOptions::checkOptions ( )
private

Definition at line 580 of file GPMSAOptions.C.

References m_env, m_help, and QUESO::BaseEnvironment::subDisplayFile().

Referenced by parse(), and set_defaults().

581 {
582  if (m_help != "") {
583  if (m_env && m_env->subDisplayFile()) {
584  *m_env->subDisplayFile() << (*this) << std::endl;
585  }
586  }
587 }
const BaseEnvironment * m_env
Definition: GPMSAOptions.h:237
std::string m_help
If this string is non-empty, print the options object to the output file.
Definition: GPMSAOptions.h:73
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).
Definition: Environment.C:320
const BaseEnvironment& QUESO::GPMSAOptions::env ( ) const

Returns the QUESO environment.

Referenced by parse().

double QUESO::GPMSAOptions::normalized_scenario_parameter ( unsigned int  i,
double  physical_param 
) const

Calculate a normalized value from a physical value for the.

Definition at line 556 of file GPMSAOptions.C.

References m_scenarioScaleMin, and m_scenarioScaleRange.

559 {
560  if (i < m_scenarioScaleMin.size())
561  return (physical_param - m_scenarioScaleMin[i]) /
563  return physical_param;
564 }
std::vector< double > m_scenarioScaleMin
Definition: GPMSAOptions.h:268
std::vector< double > m_scenarioScaleRange
Definition: GPMSAOptions.h:273
double QUESO::GPMSAOptions::normalized_uncertain_parameter ( unsigned int  i,
double  physical_param 
) const

Calculate a normalized value from a physical value for the.

Definition at line 568 of file GPMSAOptions.C.

References m_uncertainScaleMin, and m_uncertainScaleRange.

571 {
572  if (i < m_uncertainScaleMin.size())
573  return (physical_param - m_uncertainScaleMin[i]) /
575  return physical_param;
576 }
std::vector< double > m_uncertainScaleMin
Definition: GPMSAOptions.h:259
std::vector< double > m_uncertainScaleRange
Definition: GPMSAOptions.h:264
void QUESO::GPMSAOptions::parse ( const BaseEnvironment env,
const char *  prefix 
)

Given prefix, read the input file for parameters named "prefix"+*.

Definition at line 172 of file GPMSAOptions.C.

References checkOptions(), env(), QUESO::BaseEnvironment::input(), m_autoscaleMeanVarAll, m_autoscaleMinMaxAll, m_calibrateObservationalPrecision, m_discrepancyCorrelationStrengthAlpha, m_discrepancyCorrelationStrengthBeta, m_discrepancyPrecisionScale, m_discrepancyPrecisionShape, m_emulatorCorrelationStrengthAlpha, m_emulatorCorrelationStrengthBeta, m_emulatorDataPrecisionScale, m_emulatorDataPrecisionShape, m_emulatorPrecisionScale, m_emulatorPrecisionShape, m_env, m_help, m_observationalPrecisionScale, m_observationalPrecisionShape, m_option_autoscaleMeanVarAll, m_option_autoscaleMinMaxAll, m_option_calibrateObservationalPrecision, m_option_discrepancyCorrelationStrengthAlpha, m_option_discrepancyCorrelationStrengthBeta, m_option_discrepancyPrecisionScale, m_option_discrepancyPrecisionShape, m_option_emulatorCorrelationStrengthAlpha, m_option_emulatorCorrelationStrengthBeta, m_option_emulatorDataPrecisionScale, m_option_emulatorDataPrecisionShape, m_option_emulatorPrecisionScale, m_option_emulatorPrecisionShape, m_option_help, m_option_observationalPrecisionScale, m_option_observationalPrecisionShape, m_parser, QUESO::BaseEnvironment::optionsInputFileName(), and set_prefix().

Referenced by GPMSAOptions().

174 {
175  m_env = &env;
176 
177  if (m_env->optionsInputFileName() == "") {
178  queso_error_msg("Missing input file is required");
179  }
180 
181  this->set_prefix(prefix);
182 
183 #ifndef QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
184  m_parser.reset(new BoostInputOptionsParser(env.optionsInputFileName()));
185 
186  m_parser->registerOption<std::string>
187  (m_option_help,
188  m_help,
189  "produce help message Gaussian process emulator");
190 
191  m_parser->registerOption
194  "shape hyperprior (Gamma) parameter for emulator precision");
195  m_parser->registerOption
198  "scale hyperprior (Gamma) parameter for emulator precision");
199 
200  m_parser->registerOption
203  "whether to use a calibrated hyperparameter for observational precision");
204 
205  m_parser->registerOption
208  "shape hyperprior (Gamma) parameter for observational precision");
209  m_parser->registerOption
212  "scale hyperprior (Gamma) parameter for observational precision");
213 
214  m_parser->registerOption
217  "alpha hyperprior (Beta) parameter for emulator correlation strength");
218  m_parser->registerOption
221  "beta hyperprior (Beta) parameter for emulator correlation strength");
222 
223  m_parser->registerOption
226  "shape hyperprior (Gamma) parameter for discrepancy precision");
227  m_parser->registerOption
230  "scale hyperprior (Gamma) parameter for discrepancy precision");
231 
232  m_parser->registerOption
235  "alpha hyperprior (Beta) parameter for discrepancy correlation strength");
236  m_parser->registerOption
239  "beta hyperprior (Beta) parameter for discrepancy correlation strength");
240 
241  m_parser->registerOption
244  "shape hyperprior (Gamma) parameter for emulator data precision");
245  m_parser->registerOption
248  "scale hyperprior (Gamma) parameter for emulator data precision");
249 
250  m_parser->registerOption
253  "option to autoscale all parameters and outputs based on data range");
254  m_parser->registerOption
257  "option to autoscale all parameters and outputs based on data statistics");
258 
259  m_parser->scanInputFile();
260 
261  m_parser->getOption<std::string>(m_option_help, m_help);
277 #else
278  m_help = env.input()(m_option_help, UQ_GPMSA_HELP);
285 
295 
302 
309 
316 
323 
330 #endif // QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
331 
332  checkOptions();
333 }
std::string m_option_observationalPrecisionShape
Definition: GPMSAOptions.h:281
std::string m_option_discrepancyPrecisionShape
Definition: GPMSAOptions.h:285
std::string m_option_emulatorDataPrecisionShape
Definition: GPMSAOptions.h:289
double m_emulatorDataPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:232
double m_emulatorCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the emulator correlation strength.
Definition: GPMSAOptions.h:211
double m_emulatorPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:192
std::string m_option_discrepancyPrecisionScale
Definition: GPMSAOptions.h:286
std::string m_option_observationalPrecisionScale
Definition: GPMSAOptions.h:282
std::string m_option_autoscaleMeanVarAll
Definition: GPMSAOptions.h:293
const GetPot & input() const
The GetPot input file parser.
Definition: Environment.C:1149
std::string m_option_discrepancyCorrelationStrengthBeta
Definition: GPMSAOptions.h:288
std::string optionsInputFileName() const
Access to the attribute m_optionsInputFileName, which stores the name of the input file passed by the...
Definition: Environment.C:354
void set_prefix(const char *prefix)
Set parameter option names to begin with prefix.
Definition: GPMSAOptions.C:118
double m_discrepancyCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the discrepancy correlation strength.
Definition: GPMSAOptions.h:223
std::string m_option_discrepancyCorrelationStrengthAlpha
Definition: GPMSAOptions.h:287
std::string m_option_emulatorDataPrecisionScale
Definition: GPMSAOptions.h:290
std::string m_option_calibrateObservationalPrecision
Definition: GPMSAOptions.h:280
QUESO::ScopedPtr< BoostInputOptionsParser >::Type m_parser
Definition: GPMSAOptions.h:240
const BaseEnvironment * m_env
Definition: GPMSAOptions.h:237
std::string m_help
If this string is non-empty, print the options object to the output file.
Definition: GPMSAOptions.h:73
double m_emulatorCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the emulator correlation strength. ...
Definition: GPMSAOptions.h:208
std::string m_option_emulatorPrecisionShape
Definition: GPMSAOptions.h:278
double m_discrepancyPrecisionScale
The scale parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:217
double m_emulatorPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:189
std::string m_option_emulatorCorrelationStrengthAlpha
Definition: GPMSAOptions.h:283
double m_discrepancyPrecisionShape
The shape parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:214
std::string m_option_help
Definition: GPMSAOptions.h:275
double m_emulatorDataPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:229
bool m_calibrateObservationalPrecision
Whether to use an observational error precision hyperparameter.
Definition: GPMSAOptions.h:198
double m_discrepancyCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the discrepancy correlation strength.
Definition: GPMSAOptions.h:220
const BaseEnvironment & env() const
Returns the QUESO environment.
double m_observationalPrecisionScale
The scale parameter for the Gamma hyperprior for the observational precision.
Definition: GPMSAOptions.h:204
std::string m_option_emulatorPrecisionScale
Definition: GPMSAOptions.h:279
std::string m_option_autoscaleMinMaxAll
Definition: GPMSAOptions.h:292
double m_observationalPrecisionShape
The shape parameter for the Gamma hyperprior for the observational precision.
Definition: GPMSAOptions.h:201
std::string m_option_emulatorCorrelationStrengthBeta
Definition: GPMSAOptions.h:284
void QUESO::GPMSAOptions::print ( std::ostream &  os) const

Prints this to os.

Definition at line 590 of file GPMSAOptions.C.

References m_autoscaleMeanVarAll, m_autoscaleMinMaxAll, m_calibrateObservationalPrecision, m_discrepancyCorrelationStrengthAlpha, m_discrepancyCorrelationStrengthBeta, m_discrepancyPrecisionScale, m_discrepancyPrecisionShape, m_emulatorCorrelationStrengthAlpha, m_emulatorCorrelationStrengthBeta, m_emulatorDataPrecisionScale, m_emulatorDataPrecisionShape, m_emulatorPrecisionScale, m_emulatorPrecisionShape, m_observationalPrecisionScale, m_observationalPrecisionShape, m_option_autoscaleMeanVarAll, m_option_autoscaleMinMaxAll, m_option_calibrateObservationalPrecision, m_option_discrepancyCorrelationStrengthAlpha, m_option_discrepancyCorrelationStrengthBeta, m_option_discrepancyPrecisionScale, m_option_discrepancyPrecisionShape, m_option_emulatorCorrelationStrengthAlpha, m_option_emulatorCorrelationStrengthBeta, m_option_emulatorDataPrecisionScale, m_option_emulatorDataPrecisionShape, m_option_emulatorPrecisionScale, m_option_emulatorPrecisionShape, m_option_observationalPrecisionScale, and m_option_observationalPrecisionShape.

Referenced by QUESO::operator<<().

591 {
592  os << "\n" << m_option_emulatorPrecisionShape << " = " << this->m_emulatorPrecisionShape
593  << "\n" << m_option_emulatorPrecisionScale << " = " << this->m_emulatorPrecisionScale
605  << "\n" << m_option_autoscaleMinMaxAll << " = " << this->m_autoscaleMinMaxAll
606  << "\n" << m_option_autoscaleMeanVarAll << " = " << this->m_autoscaleMeanVarAll
607  << std::endl;
608 }
std::string m_option_observationalPrecisionShape
Definition: GPMSAOptions.h:281
std::string m_option_discrepancyPrecisionShape
Definition: GPMSAOptions.h:285
std::string m_option_emulatorDataPrecisionShape
Definition: GPMSAOptions.h:289
double m_emulatorDataPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:232
double m_emulatorCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the emulator correlation strength.
Definition: GPMSAOptions.h:211
double m_emulatorPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:192
std::string m_option_discrepancyPrecisionScale
Definition: GPMSAOptions.h:286
std::string m_option_observationalPrecisionScale
Definition: GPMSAOptions.h:282
std::string m_option_autoscaleMeanVarAll
Definition: GPMSAOptions.h:293
std::string m_option_discrepancyCorrelationStrengthBeta
Definition: GPMSAOptions.h:288
double m_discrepancyCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the discrepancy correlation strength.
Definition: GPMSAOptions.h:223
std::string m_option_discrepancyCorrelationStrengthAlpha
Definition: GPMSAOptions.h:287
std::string m_option_emulatorDataPrecisionScale
Definition: GPMSAOptions.h:290
std::string m_option_calibrateObservationalPrecision
Definition: GPMSAOptions.h:280
double m_emulatorCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the emulator correlation strength. ...
Definition: GPMSAOptions.h:208
std::string m_option_emulatorPrecisionShape
Definition: GPMSAOptions.h:278
double m_discrepancyPrecisionScale
The scale parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:217
double m_emulatorPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:189
std::string m_option_emulatorCorrelationStrengthAlpha
Definition: GPMSAOptions.h:283
double m_discrepancyPrecisionShape
The shape parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:214
double m_emulatorDataPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:229
bool m_calibrateObservationalPrecision
Whether to use an observational error precision hyperparameter.
Definition: GPMSAOptions.h:198
double m_discrepancyCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the discrepancy correlation strength.
Definition: GPMSAOptions.h:220
double m_observationalPrecisionScale
The scale parameter for the Gamma hyperprior for the observational precision.
Definition: GPMSAOptions.h:204
std::string m_option_emulatorPrecisionScale
Definition: GPMSAOptions.h:279
std::string m_option_autoscaleMinMaxAll
Definition: GPMSAOptions.h:292
double m_observationalPrecisionShape
The shape parameter for the Gamma hyperprior for the observational precision.
Definition: GPMSAOptions.h:201
std::string m_option_emulatorCorrelationStrengthBeta
Definition: GPMSAOptions.h:284
void QUESO::GPMSAOptions::set_autoscale_meanvar ( )

Do automatic normalization, using mean and variance of the.

Definition at line 362 of file GPMSAOptions.C.

References m_autoscaleMeanVarAll.

363 {
364  this->m_autoscaleMeanVarAll = true;
365 }
void QUESO::GPMSAOptions::set_autoscale_meanvar_scenario_parameter ( unsigned int  i)

Do automatic normalization, using mean and variance of the.

Definition at line 376 of file GPMSAOptions.C.

References m_autoscaleMeanVarScenario.

377 {
378  m_autoscaleMeanVarScenario.insert(i);
379 }
std::set< unsigned int > m_autoscaleMeanVarScenario
Definition: GPMSAOptions.h:255
void QUESO::GPMSAOptions::set_autoscale_meanvar_uncertain_parameter ( unsigned int  i)

Do automatic normalization, using mean and variance of the.

Definition at line 369 of file GPMSAOptions.C.

References m_autoscaleMeanVarUncertain.

370 {
371  m_autoscaleMeanVarUncertain.insert(i);
372 }
std::set< unsigned int > m_autoscaleMeanVarUncertain
Definition: GPMSAOptions.h:250
void QUESO::GPMSAOptions::set_autoscale_minmax ( )

Do automatic normalization, using minimum and maximum values in.

Definition at line 341 of file GPMSAOptions.C.

References m_autoscaleMinMaxAll.

342 {
343  this->m_autoscaleMinMaxAll = true;
344 }
void QUESO::GPMSAOptions::set_autoscale_minmax_scenario_parameter ( unsigned int  i)

Do automatic normalization, using minimum and maximum values in.

Definition at line 355 of file GPMSAOptions.C.

References m_autoscaleMinMaxScenario.

356 {
357  m_autoscaleMinMaxScenario.insert(i);
358 }
std::set< unsigned int > m_autoscaleMinMaxScenario
Definition: GPMSAOptions.h:254
void QUESO::GPMSAOptions::set_autoscale_minmax_uncertain_parameter ( unsigned int  i)

Do automatic normalization, using minimum and maximum values in.

Definition at line 348 of file GPMSAOptions.C.

References m_autoscaleMinMaxUncertain.

349 {
350  m_autoscaleMinMaxUncertain.insert(i);
351 }
std::set< unsigned int > m_autoscaleMinMaxUncertain
Definition: GPMSAOptions.h:249
void QUESO::GPMSAOptions::set_defaults ( )

Set default values for parameter options.

Definition at line 145 of file GPMSAOptions.C.

References checkOptions(), m_autoscaleMeanVarAll, m_autoscaleMinMaxAll, m_calibrateObservationalPrecision, m_discrepancyCorrelationStrengthAlpha, m_discrepancyCorrelationStrengthBeta, m_discrepancyPrecisionScale, m_discrepancyPrecisionShape, m_emulatorBasisVarianceToCapture, m_emulatorCorrelationStrengthAlpha, m_emulatorCorrelationStrengthBeta, m_emulatorDataPrecisionScale, m_emulatorDataPrecisionShape, m_emulatorPrecisionScale, m_emulatorPrecisionShape, m_help, m_maxEmulatorBasisVectors, m_observationalPrecisionScale, and m_observationalPrecisionShape.

Referenced by GPMSAOptions().

146 {
147  m_help = UQ_GPMSA_HELP;
148  m_maxEmulatorBasisVectors = UQ_GPMSA_MAX_SIMULATOR_BASIS_VECTORS_ODV;
149  m_emulatorBasisVarianceToCapture = UQ_GPMSA_SIMULATOR_BASIS_VARIANCE_TO_CAPTURE;
150  m_emulatorPrecisionShape = UQ_GPMSA_EMULATOR_PRECISION_SHAPE_ODV;
151  m_emulatorPrecisionScale = UQ_GPMSA_EMULATOR_PRECISION_SCALE_ODV;
153  m_observationalPrecisionShape = UQ_GPMSA_OBSERVATIONAL_PRECISION_SHAPE_ODV;
154  m_observationalPrecisionScale = UQ_GPMSA_OBSERVATIONAL_PRECISION_SCALE_ODV;
155  m_emulatorCorrelationStrengthAlpha = UQ_GPMSA_EMULATOR_CORRELATION_STRENGTH_ALPHA_ODV;
156  m_emulatorCorrelationStrengthBeta = UQ_GPMSA_EMULATOR_CORRELATION_STRENGTH_BETA_ODV;
157  m_discrepancyPrecisionShape = UQ_GPMSA_DISCREPANCY_PRECISION_SHAPE_ODV;
158  m_discrepancyPrecisionScale = UQ_GPMSA_DISCREPANCY_PRECISION_SCALE_ODV;
159  m_discrepancyCorrelationStrengthAlpha = UQ_GPMSA_DISCREPANCY_CORRELATION_STRENGTH_ALPHA_ODV;
160  m_discrepancyCorrelationStrengthBeta = UQ_GPMSA_DISCREPANCY_CORRELATION_STRENGTH_BETA_ODV;
161  m_emulatorDataPrecisionShape = UQ_GPMSA_EMULATOR_DATA_PRECISION_SHAPE_ODV;
162  m_emulatorDataPrecisionScale = UQ_GPMSA_EMULATOR_DATA_PRECISION_SCALE_ODV;
163 
164  m_autoscaleMinMaxAll = false;
165  m_autoscaleMeanVarAll = false;
166 
167  checkOptions();
168 }
double m_emulatorDataPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:232
double m_emulatorCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the emulator correlation strength.
Definition: GPMSAOptions.h:211
double m_emulatorPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:192
int m_maxEmulatorBasisVectors
The maximum number of basis vectors to use for approximating.
Definition: GPMSAOptions.h:80
double m_discrepancyCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the discrepancy correlation strength.
Definition: GPMSAOptions.h:223
std::string m_help
If this string is non-empty, print the options object to the output file.
Definition: GPMSAOptions.h:73
double m_emulatorCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the emulator correlation strength. ...
Definition: GPMSAOptions.h:208
double m_discrepancyPrecisionScale
The scale parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:217
double m_emulatorPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator precision.
Definition: GPMSAOptions.h:189
double m_discrepancyPrecisionShape
The shape parameter for the Gamma hyperprior for the discrepancy precision.
Definition: GPMSAOptions.h:214
double m_emulatorDataPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator data precision.
Definition: GPMSAOptions.h:229
bool m_calibrateObservationalPrecision
Whether to use an observational error precision hyperparameter.
Definition: GPMSAOptions.h:198
double m_discrepancyCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the discrepancy correlation strength.
Definition: GPMSAOptions.h:220
double m_emulatorBasisVarianceToCapture
The minimum fraction of the variance in simulation output to.
Definition: GPMSAOptions.h:88
double m_observationalPrecisionScale
The scale parameter for the Gamma hyperprior for the observational precision.
Definition: GPMSAOptions.h:204
double m_observationalPrecisionShape
The shape parameter for the Gamma hyperprior for the observational precision.
Definition: GPMSAOptions.h:201
template<typename V >
template void QUESO::GPMSAOptions::set_final_scaling< GslVector > ( const std::vector< typename SharedPtr< V >::Type > &  m_simulationScenarios,
const std::vector< typename SharedPtr< V >::Type > &  m_simulationParameters,
const std::vector< typename SharedPtr< V >::Type > &  m_simulationOutputs,
const std::vector< typename SharedPtr< V >::Type > &  m_experimentScenarios,
const std::vector< typename SharedPtr< V >::Type > &  m_experimentOutputs 
)

Determine the physical parameter ranges (range_min, range_max)

Definition at line 415 of file GPMSAOptions.C.

420 {
423  (!m_autoscaleMinMaxUncertain.empty() ||
424  !m_autoscaleMeanVarUncertain.empty() ||
425  !m_autoscaleMinMaxScenario.empty() ||
426  !m_autoscaleMeanVarScenario.empty())))
427  queso_error_msg("Cannot autoscale based on incompatible criteria");
428 
429  unsigned int dimScenario = m_simulationScenarios.size() ?
430  m_simulationScenarios[0]->sizeGlobal() : 0;
431 
432  unsigned int dimParameter = m_simulationParameters.size() ?
433  m_simulationParameters[0]->sizeGlobal() : 0;
434 
436  {
437  V maxScenario(*m_simulationScenarios[0]);
438 
439  V minScenario(*m_simulationScenarios[0]);
440 
441  for (unsigned int i=1; i < m_simulationScenarios.size(); ++i)
442  min_max_update(minScenario, maxScenario,
443  (*m_simulationScenarios[i]));
444 
445  for (unsigned int i=0; i < m_experimentScenarios.size(); ++i)
446  min_max_update(minScenario, maxScenario,
447  (*m_experimentScenarios[i]));
448 
449  for (unsigned int p=0; p != dimScenario; ++p)
450  if (m_autoscaleMinMaxAll ||
451  m_autoscaleMinMaxScenario.count(p))
452  {
453  if ((m_scenarioScaleMin.size() > p) &&
454  ((m_scenarioScaleMin[p] != 0) ||
455  (m_scenarioScaleRange[p] != 1)))
456  queso_error_msg("Cannot autoscale and manually scale the same scenario parameter");
457 
458  this->set_scenario_parameter_scaling(p, minScenario[p],
459  maxScenario[p]);
460  }
461  }
462 
464  {
465  V maxUncertain(*m_simulationParameters[0]);
466 
467  V minUncertain(*m_simulationParameters[0]);
468 
469  for (unsigned int i=1; i < m_simulationParameters.size(); ++i)
470  min_max_update(minUncertain, maxUncertain,
471  (*m_simulationParameters[i]));
472 
473  for (unsigned int p=0; p != dimParameter; ++p)
474  if (m_autoscaleMinMaxAll ||
476  {
477  if ((m_uncertainScaleMin.size() > p) &&
478  ((m_uncertainScaleMin[p] != 0) ||
479  (m_uncertainScaleRange[p] != 1)))
480  queso_error_msg("Cannot autoscale and manually scale the same uncertain parameter");
481 
482  this->set_uncertain_parameter_scaling(p, minUncertain[p],
483  maxUncertain[p]);
484  }
485  }
486 
487 
489  {
490  unsigned int n=0;
491 
492  V meanScenario(*m_simulationScenarios[0]);
493 
494  V varScenario(m_simulationScenarios[0]->env(),
495  m_simulationScenarios[0]->map());
496 
497  for (unsigned int i=0; i < m_simulationScenarios.size(); ++i)
498  mean_var_update(n, meanScenario, varScenario,
499  *m_simulationScenarios[i]);
500 
501  for (unsigned int i=0; i < m_experimentScenarios.size(); ++i)
502  mean_var_update(n, meanScenario, varScenario,
503  *m_experimentScenarios[i]);
504 
505  varScenario /= n;
506 
507  for (unsigned int p=0; p != dimScenario; ++p)
508  if (m_autoscaleMeanVarAll ||
510  {
511  if ((m_scenarioScaleMin.size() > p) &&
512  ((m_scenarioScaleMin[p] != 0) ||
513  (m_scenarioScaleRange[p] != 1)))
514  queso_error_msg("Cannot autoscale and manually scale the same scenario parameter");
515 
516  this->set_scenario_parameter_scaling(p, meanScenario[p],
517  meanScenario[p] +
518  std::sqrt(varScenario[p]));
519  }
520  }
521 
522 
524  {
525  unsigned int n=0;
526 
527  V meanUncertain(*m_simulationParameters[0]);
528 
529  V varUncertain(m_simulationParameters[0]->env(),
530  m_simulationParameters[0]->map());
531 
532  for (unsigned int i=0; i < m_simulationParameters.size(); ++i)
533  mean_var_update(n, meanUncertain, varUncertain,
534  *m_simulationParameters[i]);
535 
536  varUncertain /= n;
537 
538  for (unsigned int p=0; p != dimScenario; ++p)
539  if (m_autoscaleMeanVarAll ||
541  {
542  if ((m_uncertainScaleMin.size() > p) &&
543  ((m_uncertainScaleMin[p] != 0) ||
544  (m_uncertainScaleRange[p] != 1)))
545  queso_error_msg("Cannot autoscale and manually scale the same uncertain parameter");
546 
547  this->set_uncertain_parameter_scaling(p, meanUncertain[p],
548  meanUncertain[p] +
549  std::sqrt(varUncertain[p]));
550  }
551  }
552 }
std::vector< double > m_uncertainScaleMin
Definition: GPMSAOptions.h:259
std::vector< double > m_scenarioScaleMin
Definition: GPMSAOptions.h:268
void set_uncertain_parameter_scaling(unsigned int i, double range_min, double range_max)
Set a value, for uncertain parameter i in simulation inputs, of.
Definition: GPMSAOptions.C:383
void set_scenario_parameter_scaling(unsigned int i, double range_min, double range_max)
Set a value, for scenario parameter i in simulation and.
Definition: GPMSAOptions.C:398
std::vector< double > m_scenarioScaleRange
Definition: GPMSAOptions.h:273
std::set< unsigned int > m_autoscaleMinMaxScenario
Definition: GPMSAOptions.h:254
std::set< unsigned int > m_autoscaleMinMaxUncertain
Definition: GPMSAOptions.h:249
std::set< unsigned int > m_autoscaleMeanVarUncertain
Definition: GPMSAOptions.h:250
const BaseEnvironment & env() const
Returns the QUESO environment.
std::set< unsigned int > m_autoscaleMeanVarScenario
Definition: GPMSAOptions.h:255
std::vector< double > m_uncertainScaleRange
Definition: GPMSAOptions.h:264
void QUESO::GPMSAOptions::set_output_scaling ( unsigned int  i,
double  range_min,
double  range_max 
)

Set a value, for output value i in simulation and.

void QUESO::GPMSAOptions::set_prefix ( const char *  prefix)

Set parameter option names to begin with prefix.

Definition at line 118 of file GPMSAOptions.C.

References m_option_autoscaleMeanVarAll, m_option_autoscaleMinMaxAll, m_option_calibrateObservationalPrecision, m_option_discrepancyCorrelationStrengthAlpha, m_option_discrepancyCorrelationStrengthBeta, m_option_discrepancyPrecisionScale, m_option_discrepancyPrecisionShape, m_option_emulatorBasisVarianceToCapture, m_option_emulatorCorrelationStrengthAlpha, m_option_emulatorCorrelationStrengthBeta, m_option_emulatorDataPrecisionScale, m_option_emulatorDataPrecisionShape, m_option_emulatorPrecisionScale, m_option_emulatorPrecisionShape, m_option_help, m_option_maxEmulatorBasisVectors, m_option_observationalPrecisionScale, m_option_observationalPrecisionShape, and m_prefix.

Referenced by GPMSAOptions(), and parse().

119 {
120  m_prefix = std::string(prefix) + "gpmsa_";
121 
122  m_option_help = m_prefix + "help";
123  m_option_maxEmulatorBasisVectors = m_prefix + "max_emulator_basis_vectors";
124  m_option_emulatorBasisVarianceToCapture = m_prefix + "emulator_basis_variance_to_capture";
125  m_option_emulatorPrecisionShape = m_prefix + "emulator_precision_shape";
126  m_option_emulatorPrecisionScale = m_prefix + "emulator_precision_scale";
127  m_option_calibrateObservationalPrecision = m_prefix + "calibrate_observational_precision";
128  m_option_observationalPrecisionShape = m_prefix + "observational_precision_shape";
129  m_option_observationalPrecisionScale = m_prefix + "observational_precision_scale";
130  m_option_emulatorCorrelationStrengthAlpha = m_prefix + "emulator_correlation_strength_alpha";
131  m_option_emulatorCorrelationStrengthBeta = m_prefix + "emulator_correlation_strength_beta";
132  m_option_discrepancyPrecisionShape = m_prefix + "discrepancy_precision_shape";
133  m_option_discrepancyPrecisionScale = m_prefix + "discrepancy_precision_scale";
134  m_option_discrepancyCorrelationStrengthAlpha = m_prefix + "discrepancy_correlation_strength_alpha";
135  m_option_discrepancyCorrelationStrengthBeta = m_prefix + "discrepancy_correlation_strength_beta";
136  m_option_emulatorDataPrecisionShape = m_prefix + "emulator_data_precision_shape";
137  m_option_emulatorDataPrecisionScale = m_prefix + "emulator_data_precision_scale";
138  m_option_autoscaleMinMaxAll = m_prefix + "autoscale_min_max_all";
139  m_option_autoscaleMeanVarAll = m_prefix + "autoscale_mean_var_all";
140 }
std::string m_option_observationalPrecisionShape
Definition: GPMSAOptions.h:281
std::string m_option_discrepancyPrecisionShape
Definition: GPMSAOptions.h:285
std::string m_option_emulatorDataPrecisionShape
Definition: GPMSAOptions.h:289
std::string m_option_emulatorBasisVarianceToCapture
Definition: GPMSAOptions.h:277
std::string m_option_discrepancyPrecisionScale
Definition: GPMSAOptions.h:286
std::string m_option_observationalPrecisionScale
Definition: GPMSAOptions.h:282
std::string m_option_autoscaleMeanVarAll
Definition: GPMSAOptions.h:293
std::string m_option_discrepancyCorrelationStrengthBeta
Definition: GPMSAOptions.h:288
std::string m_option_discrepancyCorrelationStrengthAlpha
Definition: GPMSAOptions.h:287
std::string m_option_emulatorDataPrecisionScale
Definition: GPMSAOptions.h:290
std::string m_prefix
The prefix to look for in the input file.
Definition: GPMSAOptions.h:70
std::string m_option_calibrateObservationalPrecision
Definition: GPMSAOptions.h:280
std::string m_option_emulatorPrecisionShape
Definition: GPMSAOptions.h:278
std::string m_option_emulatorCorrelationStrengthAlpha
Definition: GPMSAOptions.h:283
std::string m_option_help
Definition: GPMSAOptions.h:275
std::string m_option_maxEmulatorBasisVectors
Definition: GPMSAOptions.h:276
std::string m_option_emulatorPrecisionScale
Definition: GPMSAOptions.h:279
std::string m_option_autoscaleMinMaxAll
Definition: GPMSAOptions.h:292
std::string m_option_emulatorCorrelationStrengthBeta
Definition: GPMSAOptions.h:284
void QUESO::GPMSAOptions::set_scenario_parameter_scaling ( unsigned int  i,
double  range_min,
double  range_max 
)

Set a value, for scenario parameter i in simulation and.

Definition at line 398 of file GPMSAOptions.C.

References m_scenarioScaleMin, and m_scenarioScaleRange.

401 {
402  if (i >= m_scenarioScaleMin.size())
403  {
404  m_scenarioScaleMin.resize(i+1, 0);
405  m_scenarioScaleRange.resize(i+1, 1);
406  }
407  m_scenarioScaleMin[i] = range_min;
408  m_scenarioScaleRange[i] = range_max - range_min;
409 }
std::vector< double > m_scenarioScaleMin
Definition: GPMSAOptions.h:268
std::vector< double > m_scenarioScaleRange
Definition: GPMSAOptions.h:273
void QUESO::GPMSAOptions::set_uncertain_parameter_scaling ( unsigned int  i,
double  range_min,
double  range_max 
)

Set a value, for uncertain parameter i in simulation inputs, of.

Definition at line 383 of file GPMSAOptions.C.

References m_uncertainScaleMin, and m_uncertainScaleRange.

386 {
387  if (i >= m_uncertainScaleMin.size())
388  {
389  m_uncertainScaleMin.resize(i+1, 0);
390  m_uncertainScaleRange.resize(i+1, 1);
391  }
392  m_uncertainScaleMin[i] = range_min;
393  m_uncertainScaleRange[i] = range_max - range_min;
394 }
std::vector< double > m_uncertainScaleMin
Definition: GPMSAOptions.h:259
std::vector< double > m_uncertainScaleRange
Definition: GPMSAOptions.h:264

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const GPMSAOptions obj 
)
friend

Definition at line 611 of file GPMSAOptions.C.

612 {
613 #ifndef QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
614  os << (*(obj.m_parser)) << std::endl;
615 #endif // QUESO_DISABLE_BOOST_PROGRAM_OPTIONS
616  obj.print(os);
617  return os;
618 }

Member Data Documentation

bool QUESO::GPMSAOptions::m_autoscaleMeanVarAll
private

Definition at line 245 of file GPMSAOptions.h.

Referenced by parse(), print(), set_autoscale_meanvar(), and set_defaults().

std::set<unsigned int> QUESO::GPMSAOptions::m_autoscaleMeanVarScenario
private

Definition at line 255 of file GPMSAOptions.h.

Referenced by set_autoscale_meanvar_scenario_parameter().

std::set<unsigned int> QUESO::GPMSAOptions::m_autoscaleMeanVarUncertain
private

Definition at line 250 of file GPMSAOptions.h.

Referenced by set_autoscale_meanvar_uncertain_parameter().

bool QUESO::GPMSAOptions::m_autoscaleMinMaxAll
private

Definition at line 244 of file GPMSAOptions.h.

Referenced by parse(), print(), set_autoscale_minmax(), and set_defaults().

std::set<unsigned int> QUESO::GPMSAOptions::m_autoscaleMinMaxScenario
private

Definition at line 254 of file GPMSAOptions.h.

Referenced by set_autoscale_minmax_scenario_parameter().

std::set<unsigned int> QUESO::GPMSAOptions::m_autoscaleMinMaxUncertain
private

Definition at line 249 of file GPMSAOptions.h.

Referenced by set_autoscale_minmax_uncertain_parameter().

bool QUESO::GPMSAOptions::m_calibrateObservationalPrecision

Whether to use an observational error precision hyperparameter.

Definition at line 198 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

double QUESO::GPMSAOptions::m_discrepancyCorrelationStrengthAlpha

The alpha paramter for the Beta hyperprior for the discrepancy correlation strength.

Definition at line 220 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

double QUESO::GPMSAOptions::m_discrepancyCorrelationStrengthBeta

The beta paramter for the Beta hyperprior for the discrepancy correlation strength.

Definition at line 223 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

double QUESO::GPMSAOptions::m_discrepancyPrecisionScale

The scale parameter for the Gamma hyperprior for the discrepancy precision.

Definition at line 217 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

double QUESO::GPMSAOptions::m_discrepancyPrecisionShape

The shape parameter for the Gamma hyperprior for the discrepancy precision.

Definition at line 214 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

double QUESO::GPMSAOptions::m_emulatorBasisVarianceToCapture

The minimum fraction of the variance in simulation output to.

Definition at line 88 of file GPMSAOptions.h.

Referenced by set_defaults().

double QUESO::GPMSAOptions::m_emulatorCorrelationStrengthAlpha

The alpha paramter for the Beta hyperprior for the emulator correlation strength.

Definition at line 208 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

double QUESO::GPMSAOptions::m_emulatorCorrelationStrengthBeta

The beta paramter for the Beta hyperprior for the emulator correlation strength.

Definition at line 211 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

double QUESO::GPMSAOptions::m_emulatorDataPrecisionScale

The scale parameter for the Gamma hyperprior for the emulator data precision.

Definition at line 232 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

double QUESO::GPMSAOptions::m_emulatorDataPrecisionShape

The shape parameter for the Gamma hyperprior for the emulator data precision.

Definition at line 229 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

double QUESO::GPMSAOptions::m_emulatorPrecisionScale

The scale parameter for the Gamma hyperprior for the emulator precision.

Definition at line 192 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

double QUESO::GPMSAOptions::m_emulatorPrecisionShape

The shape parameter for the Gamma hyperprior for the emulator precision.

Definition at line 189 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

const BaseEnvironment* QUESO::GPMSAOptions::m_env
private

Definition at line 237 of file GPMSAOptions.h.

Referenced by checkOptions(), and parse().

std::string QUESO::GPMSAOptions::m_help

If this string is non-empty, print the options object to the output file.

Definition at line 73 of file GPMSAOptions.h.

Referenced by checkOptions(), parse(), and set_defaults().

int QUESO::GPMSAOptions::m_maxEmulatorBasisVectors

The maximum number of basis vectors to use for approximating.

Definition at line 80 of file GPMSAOptions.h.

Referenced by QUESO::GPMSAEmulator< V, M >::GPMSAEmulator(), and set_defaults().

double QUESO::GPMSAOptions::m_observationalPrecisionScale

The scale parameter for the Gamma hyperprior for the observational precision.

Definition at line 204 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

double QUESO::GPMSAOptions::m_observationalPrecisionShape

The shape parameter for the Gamma hyperprior for the observational precision.

Definition at line 201 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_defaults().

std::string QUESO::GPMSAOptions::m_option_autoscaleMeanVarAll
private

Definition at line 293 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_autoscaleMinMaxAll
private

Definition at line 292 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_calibrateObservationalPrecision
private

Definition at line 280 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_discrepancyCorrelationStrengthAlpha
private

Definition at line 287 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_discrepancyCorrelationStrengthBeta
private

Definition at line 288 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_discrepancyPrecisionScale
private

Definition at line 286 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_discrepancyPrecisionShape
private

Definition at line 285 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_emulatorBasisVarianceToCapture
private

Definition at line 277 of file GPMSAOptions.h.

Referenced by set_prefix().

std::string QUESO::GPMSAOptions::m_option_emulatorCorrelationStrengthAlpha
private

Definition at line 283 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_emulatorCorrelationStrengthBeta
private

Definition at line 284 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_emulatorDataPrecisionScale
private

Definition at line 290 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_emulatorDataPrecisionShape
private

Definition at line 289 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_emulatorPrecisionScale
private

Definition at line 279 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_emulatorPrecisionShape
private

Definition at line 278 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_help
private

Definition at line 275 of file GPMSAOptions.h.

Referenced by parse(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_maxEmulatorBasisVectors
private

Definition at line 276 of file GPMSAOptions.h.

Referenced by set_prefix().

std::string QUESO::GPMSAOptions::m_option_observationalPrecisionScale
private

Definition at line 282 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

std::string QUESO::GPMSAOptions::m_option_observationalPrecisionShape
private

Definition at line 281 of file GPMSAOptions.h.

Referenced by parse(), print(), and set_prefix().

QUESO::ScopedPtr<BoostInputOptionsParser>::Type QUESO::GPMSAOptions::m_parser
private

Definition at line 240 of file GPMSAOptions.h.

Referenced by QUESO::operator<<(), and parse().

std::string QUESO::GPMSAOptions::m_prefix

The prefix to look for in the input file.

Definition at line 70 of file GPMSAOptions.h.

Referenced by set_prefix().

std::vector<double> QUESO::GPMSAOptions::m_scenarioScaleMin
private
std::vector<double> QUESO::GPMSAOptions::m_scenarioScaleRange
private
std::vector<double> QUESO::GPMSAOptions::m_uncertainScaleMin
private
std::vector<double> QUESO::GPMSAOptions::m_uncertainScaleRange
private

The documentation for this class was generated from the following files:

Generated on Tue Jun 5 2018 19:49:15 for queso-0.57.1 by  doxygen 1.8.5