25 #ifndef UQ_SFP_OPTIONS_H
26 #define UQ_SFP_OPTIONS_H
28 #include <queso/Environment.h>
31 #undef UQ_SFP_READS_SOLVER_OPTION
33 #define UQ_SFP_FILENAME_FOR_NO_FILE "."
36 #define UQ_SFP_COMPUTE_SOLUTION_ODV 1
37 #define UQ_SFP_COMPUTE_COVARIANCES_ODV 1
38 #define UQ_SFP_COMPUTE_CORRELATIONS_ODV 1
39 #define UQ_SFP_DATA_OUTPUT_FILE_NAME_ODV UQ_SFP_FILENAME_FOR_NO_FILE
40 #define UQ_SFP_DATA_OUTPUT_ALLOWED_SET_ODV ""
41 #ifdef UQ_SFP_READS_SOLVER_OPTION
42 #define UQ_SFP_SOLVER_ODV "mc" // Monte Carlo
85 #ifdef UQ_SFP_READS_SOLVER_OPTION
86 std::string m_solverString;
130 void print (std::ostream& os)
const;
152 #ifdef UQ_SFP_READS_SOLVER_OPTION
153 std::string m_option_solver;
161 #endif // UQ_SFP_OPTIONS_H
std::string m_option_computeCovariances
std::string m_option_computeSolution
void copy(const SfpOptionsValues &src)
Copies the option values from src to this.
void scanOptionsValues()
It scans the option values from the options input file.
StatisticalForwardProblemOptions(const BaseEnvironment &env, const char *prefix)
Constructor: reads options from the input file.
bool m_computeCovariances
This class provides options for a Statistical Forward Problem if no input file is available...
std::string m_option_computeCorrelations
void defineMyOptions(po::options_description &optionsDesc) const
Define my SFP options as the default options.
This class reads option values for a Statistical Forward Problem from an input file.
po::options_description * m_optionsDesc
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)
const BaseEnvironment & m_env
bool m_computeCorrelations
SfpOptionsValues()
Constructor/Destructor methods.
std::string m_option_dataOutputFileName
std::string m_option_dataOutputAllowedSet
std::set< unsigned int > m_dataOutputAllowedSet
SfpOptionsValues & operator=(const SfpOptionsValues &rhs)
Assignment operator; it copies rhs to this.
std::string m_dataOutputFileName
~StatisticalForwardProblemOptions()
Destructor.
std::string m_option_help
void getMyOptionValues(po::options_description &optionsDesc)
Gets the option values of the SFP.
~SfpOptionsValues()
Destructor.
void print(std::ostream &os) const
It prints the option values.