25 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS 
   26 #include <boost/program_options.hpp> 
   27 #endif  // DISABLE_BOOST_PROGRAM_OPTIONS 
   29 #include <queso/GPMSAOptions.h> 
   32 #define UQ_GPMSA_HELP "" 
   33 #define UQ_GPMSA_EMULATOR_PRECISION_SHAPE_ODV 5.0 
   34 #define UQ_GPMSA_EMULATOR_PRECISION_SCALE_ODV 0.2 
   35 #define UQ_GPMSA_OBSERVATIONAL_PRECISION_SHAPE_ODV 5.0 
   36 #define UQ_GPMSA_OBSERVATIONAL_PRECISION_SCALE_ODV 0.2 
   37 #define UQ_GPMSA_EMULATOR_CORRELATION_STRENGTH_ALPHA_ODV 1.0 
   38 #define UQ_GPMSA_EMULATOR_CORRELATION_STRENGTH_BETA_ODV 0.1 
   39 #define UQ_GPMSA_DISCREPANCY_PRECISION_SHAPE_ODV 1.0 
   40 #define UQ_GPMSA_DISCREPANCY_PRECISION_SCALE_ODV 1e4 
   41 #define UQ_GPMSA_DISCREPANCY_CORRELATION_STRENGTH_ALPHA_ODV 1.0 
   42 #define UQ_GPMSA_DISCREPANCY_CORRELATION_STRENGTH_BETA_ODV 0.1 
   43 #define UQ_GPMSA_EMULATOR_DATA_PRECISION_SHAPE_ODV 3.0 
   44 #define UQ_GPMSA_EMULATOR_DATA_PRECISION_SCALE_ODV 333.333 
   52   m_prefix((std::string)(prefix) + 
"gpmsa_"),
 
   67 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
 
   70   m_option_help(m_prefix + 
"help"),
 
   71   m_option_emulatorPrecisionShape(m_prefix + 
"emulator_precision_shape"),
 
   72   m_option_emulatorPrecisionScale(m_prefix + 
"emulator_precision_scale"),
 
   73   m_option_observationalPrecisionShape(m_prefix + 
"observational_precision_shape"),
 
   74   m_option_observationalPrecisionScale(m_prefix + 
"observational_precision_scale"),
 
   75   m_option_emulatorCorrelationStrengthAlpha(m_prefix + 
"emulator_correlation_strength_alpha"),
 
   76   m_option_emulatorCorrelationStrengthBeta(m_prefix + 
"emulator_correlation_strength_beta"),
 
   77   m_option_discrepancyPrecisionShape(m_prefix + 
"discrepancy_precision_shape"),
 
   78   m_option_discrepancyPrecisionScale(m_prefix + 
"discrepancy_precision_scale"),
 
   79   m_option_discrepancyCorrelationStrengthAlpha(m_prefix + 
"discrepancy_correlation_strength_alpha"),
 
   80   m_option_discrepancyCorrelationStrengthBeta(m_prefix + 
"discrepancy_correlation_strength_beta"),
 
   81   m_option_emulatorDataPrecisionShape(m_prefix + 
"emulator_data_precision_shape"),
 
   82   m_option_emulatorDataPrecisionScale(m_prefix + 
"emulator_data_precision_scale")
 
   88 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS 
  132 #endif  // DISABLE_BOOST_PROGRAM_OPTIONS 
  172 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS 
  173   os << (*(obj.
m_parser)) << std::endl;
 
  174 #endif  // DISABLE_BOOST_PROGRAM_OPTIONS 
double m_emulatorCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the emulator correlation strength. ...
 
std::string m_option_observationalPrecisionShape
 
virtual ~GPMSAOptions()
Destructor. 
 
std::string m_option_help
 
#define UQ_GPMSA_DISCREPANCY_CORRELATION_STRENGTH_ALPHA_ODV
 
const GetPot & input() const 
The GetPot input file parser. 
 
std::ofstream * subDisplayFile() const 
Access function for m_subDisplayFile (displays file on stream). 
 
double m_emulatorPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator precision. 
 
std::ostream & operator<<(std::ostream &os, const BaseEnvironment &obj)
 
std::string optionsInputFileName() const 
Access to the attribute m_optionsInputFileName, which stores the name of the input file passed by the...
 
#define UQ_GPMSA_OBSERVATIONAL_PRECISION_SCALE_ODV
 
#define UQ_GPMSA_DISCREPANCY_PRECISION_SCALE_ODV
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
std::string m_option_emulatorPrecisionShape
 
double m_observationalPrecisionShape
The shape parameter for the Gamma hyperprior for the observational precision. 
 
std::string m_option_emulatorCorrelationStrengthAlpha
 
std::string m_help
If this string is non-empty, print the options object to the output file. 
 
void getOption(std::string &name, T &value)
Get option name from the parser and set value to the parsed value. 
 
std::string m_option_emulatorDataPrecisionScale
 
double m_discrepancyCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the discrepancy correlation strength. 
 
std::string m_option_emulatorDataPrecisionShape
 
std::string m_option_observationalPrecisionScale
 
std::string m_option_emulatorPrecisionScale
 
#define UQ_GPMSA_EMULATOR_DATA_PRECISION_SHAPE_ODV
 
double m_emulatorPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator precision. 
 
double m_discrepancyCorrelationStrengthAlpha
The alpha paramter for the Beta hyperprior for the discrepancy correlation strength. 
 
std::string m_option_discrepancyPrecisionScale
 
#define UQ_GPMSA_DISCREPANCY_CORRELATION_STRENGTH_BETA_ODV
 
void scanInputFile()
This is the method that parses the input file. 
 
#define UQ_GPMSA_OBSERVATIONAL_PRECISION_SHAPE_ODV
 
#define UQ_GPMSA_EMULATOR_CORRELATION_STRENGTH_ALPHA_ODV
 
std::string m_option_emulatorCorrelationStrengthBeta
 
This class defines the options that specify the behaviour of the Gaussian process emulator...
 
#define UQ_GPMSA_EMULATOR_PRECISION_SHAPE_ODV
 
const BaseEnvironment & m_env
 
std::string m_option_discrepancyPrecisionShape
 
GPMSAOptions(const BaseEnvironment &env, const char *prefix)
Given prefix, read the input file for parameters named prefix_*. 
 
#define UQ_GPMSA_EMULATOR_DATA_PRECISION_SCALE_ODV
 
double m_discrepancyPrecisionShape
The shape parameter for the Gamma hyperprior for the discrepancy precision. 
 
void registerOption(std::string name, T defaultValue, std::string description)
Call this to register an option with the parser. 
 
double m_emulatorDataPrecisionScale
The scale parameter for the Gamma hyperprior for the emulator data precision. 
 
double m_emulatorCorrelationStrengthBeta
The beta paramter for the Beta hyperprior for the emulator correlation strength. 
 
#define UQ_GPMSA_EMULATOR_CORRELATION_STRENGTH_BETA_ODV
 
std::string m_option_discrepancyCorrelationStrengthAlpha
 
#define queso_error_msg(msg)
 
BoostInputOptionsParser * m_parser
 
double m_observationalPrecisionScale
The scale parameter for the Gamma hyperprior for the observational precision. 
 
void print(std::ostream &os) const 
Prints this to os. 
 
std::string m_option_discrepancyCorrelationStrengthBeta
 
#define UQ_GPMSA_DISCREPANCY_PRECISION_SHAPE_ODV
 
double m_discrepancyPrecisionScale
The scale parameter for the Gamma hyperprior for the discrepancy precision. 
 
#define UQ_GPMSA_EMULATOR_PRECISION_SCALE_ODV
 
double m_emulatorDataPrecisionShape
The shape parameter for the Gamma hyperprior for the emulator data precision.