25 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
26 #include <queso/BoostInputOptionsParser.h>
27 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
29 #include <queso/Environment.h>
31 #ifndef UQ_SFP_OPTIONS_H
32 #define UQ_SFP_OPTIONS_H
34 #undef UQ_SFP_READS_SOLVER_OPTION
36 #define UQ_SFP_FILENAME_FOR_NO_FILE "."
39 #define UQ_SFP_HELP ""
40 #define UQ_SFP_COMPUTE_SOLUTION_ODV 1
41 #define UQ_SFP_COMPUTE_COVARIANCES_ODV 1
42 #define UQ_SFP_COMPUTE_CORRELATIONS_ODV 1
43 #define UQ_SFP_DATA_OUTPUT_FILE_NAME_ODV UQ_SFP_FILENAME_FOR_NO_FILE
44 #define UQ_SFP_DATA_OUTPUT_ALLOWED_SET_ODV ""
45 #ifdef UQ_SFP_READS_SOLVER_OPTION
46 #define UQ_SFP_SOLVER_ODV "mc" // Monte Carlo
49 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
51 namespace program_options {
52 class options_description;
55 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
103 #ifdef UQ_SFP_READS_SOLVER_OPTION
110 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
112 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
121 #ifdef UQ_SFP_READS_SOLVER_OPTION
130 friend std::ostream &
operator<<(std::ostream & os,
168 void print (std::ostream& os)
const;
175 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
176 void defineMyOptions (boost::program_options::options_description& optionsDesc)
const;
180 void getMyOptionValues(boost::program_options::options_description& optionsDesc);
181 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
185 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
187 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
194 #ifdef UQ_SFP_READS_SOLVER_OPTION
203 #endif // UQ_SFP_OPTIONS_H
SfpOptionsValues()
Constructor/Destructor methods.
std::ostream & operator<<(std::ostream &os, const SequenceStatisticalOptions &obj)
void getMyOptionValues(boost::program_options::options_description &optionsDesc)
Gets the option values of the SFP.
std::string m_help
If non-empty string, options and values are printed to the output file.
std::string m_option_computeCovariances
std::string m_option_computeSolution
StatisticalForwardProblemOptions(const BaseEnvironment &env, const char *prefix)
Constructor: reads options from the input file.
bool m_computeCorrelations
std::string m_solverString
This class reads option values for a Statistical Forward Problem from an input file.
bool m_computeCovariances
std::string m_option_help
std::string m_option_solver
void scanOptionsValues()
It scans the option values from the options input file.
std::string m_option_dataOutputFileName
std::string m_dataOutputFileName
virtual ~SfpOptionsValues()
Destructor.
std::string m_option_computeCorrelations
BoostInputOptionsParser * m_parser
~StatisticalForwardProblemOptions()
Destructor.
std::string m_option_dataOutputAllowedSet
This class provides options for a Statistical Forward Problem if no input file is available...
void print(std::ostream &os) const
It prints the option values.
std::string m_option_computeCovariances
std::string m_option_dataOutputFileName
std::string m_option_computeCorrelations
std::string m_option_help
void copy(const SfpOptionsValues &src)
Copies the option values from src to this.
const BaseEnvironment & m_env
std::set< unsigned int > m_dataOutputAllowedSet
std::string m_option_dataOutputAllowedSet
std::string m_option_computeSolution
friend std::ostream & operator<<(std::ostream &os, const SfpOptionsValues &obj)
SfpOptionsValues & operator=(const SfpOptionsValues &rhs)
Assignment operator; it copies rhs to this.
boost::program_options::options_description * m_optionsDesc
void defineMyOptions(boost::program_options::options_description &optionsDesc) const
Define my SFP options as the default options.
std::string m_option_solver
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...