25 #ifndef UQ_SIP_OPTIONS_H
26 #define UQ_SIP_OPTIONS_H
28 #include <queso/Environment.h>
31 #undef UQ_SIP_READS_SOLVER_OPTION
33 #define UQ_SIP_FILENAME_FOR_NO_FILE "."
36 #define UQ_SIP_COMPUTE_SOLUTION_ODV 1
37 #define UQ_SIP_DATA_OUTPUT_FILE_NAME_ODV UQ_SIP_FILENAME_FOR_NO_FILE
38 #define UQ_SIP_DATA_OUTPUT_ALLOWED_SET_ODV ""
39 #ifdef UQ_SIP_READS_SOLVER_OPTION
40 #define UQ_SIP_SOLVER_ODV "bayes_mc" // Bayesian formula + Metropolis-Hastings
85 #ifdef UQ_SIP_READS_SOLVER_OPTION
86 std::string m_solverString;
133 void print (std::ostream& os)
const;
153 #ifdef UQ_SIP_READS_SOLVER_OPTION
154 std::string m_option_solver;
163 #endif // UQ_SIP_OPTIONS_H
void getMyOptionValues(po::options_description &optionsDesc)
Gets the option values of the SIP.
std::string m_option_computeSolution
std::string m_option_help
void print(std::ostream &os) const
It prints the option values.
std::string m_option_dataOutputFileName
void scanOptionsValues()
It scans the option values from the options input file.
SipOptionsValues()
Default constructor.
std::string m_dataOutputFileName
SipOptionsValues & operator=(const SipOptionsValues &rhs)
Assignment operator; it copies rhs to this.
void defineMyOptions(po::options_description &optionsDesc) const
Define my SIP options as the default options.
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
std::ostream & operator<<(std::ostream &os, const BaseEnvironment &obj)
std::set< unsigned int > m_dataOutputAllowedSet
std::string m_option_dataOutputAllowedSet
void copy(const SipOptionsValues &src)
Copies the option values from src to this.
~SipOptionsValues()
Destructor.
This class reads option values for a Statistical Inverse Problem from an input file.
StatisticalInverseProblemOptions(const BaseEnvironment &env, const char *prefix)
Constructor: reads options from the input file.
const BaseEnvironment & m_env
~StatisticalInverseProblemOptions()
Destructor.
po::options_description * m_optionsDesc
This class provides options for a Statistical Inverse Problem if no input file is available...