25 #include <queso/BoostInputOptionsParser.h> 
   26 #include <queso/Environment.h> 
   28 #ifndef UQ_SFP_OPTIONS_H 
   29 #define UQ_SFP_OPTIONS_H 
   31 #undef UQ_SFP_READS_SOLVER_OPTION 
   33 #define UQ_SFP_FILENAME_FOR_NO_FILE "." 
   36 #define UQ_SFP_HELP        "" 
   37 #define UQ_SFP_COMPUTE_SOLUTION_ODV        1 
   38 #define UQ_SFP_COMPUTE_COVARIANCES_ODV     1 
   39 #define UQ_SFP_COMPUTE_CORRELATIONS_ODV    1 
   40 #define UQ_SFP_DATA_OUTPUT_FILE_NAME_ODV   UQ_SFP_FILENAME_FOR_NO_FILE 
   41 #define UQ_SFP_DATA_OUTPUT_ALLOWED_SET_ODV "" 
   42 #ifdef UQ_SFP_READS_SOLVER_OPTION 
   43 #define UQ_SFP_SOLVER_ODV                  "mc" // Monte Carlo 
   47   namespace program_options {
 
   48     class options_description;
 
   98 #ifdef UQ_SFP_READS_SOLVER_OPTION 
   99   std::string            m_solverString;
 
  114 #ifdef UQ_SFP_READS_SOLVER_OPTION 
  115   std::string                   m_option_solver;
 
  123   friend std::ostream & 
operator<<(std::ostream & os,
 
  161   void print            (std::ostream& os) 
const;
 
  169   void   defineMyOptions  (boost::program_options::options_description& optionsDesc) 
const;
 
  172   void   getMyOptionValues(boost::program_options::options_description& optionsDesc);
 
  183 #ifdef UQ_SFP_READS_SOLVER_OPTION 
  184   std::string                   m_option_solver;
 
  192 #endif // UQ_SFP_OPTIONS_H 
bool m_computeCorrelations
 
bool m_computeCovariances
 
void copy(const SfpOptionsValues &src)
Copies the option values from src to this. 
 
std::set< unsigned int > m_dataOutputAllowedSet
 
This class provides options for a Statistical Forward Problem if no input file is available...
 
void scanOptionsValues()
It scans the option values from the options input file. 
 
void getMyOptionValues(boost::program_options::options_description &optionsDesc)
Gets the option values of the SFP. 
 
std::string m_option_help
 
std::string m_option_computeSolution
 
std::string m_option_computeCorrelations
 
SfpOptionsValues()
Constructor/Destructor methods. 
 
void print(std::ostream &os) const 
It prints the option values. 
 
std::string m_option_computeCorrelations
 
std::string m_option_dataOutputFileName
 
std::string m_help
If non-empty string, options and values are printed to the output file. 
 
std::string m_option_dataOutputAllowedSet
 
This class reads option values for a Statistical Forward Problem from an input file. 
 
BoostInputOptionsParser * m_parser
 
std::ostream & operator<<(std::ostream &os, const BaseEnvironment &obj)
 
std::string m_option_dataOutputFileName
 
std::string m_option_computeCovariances
 
SfpOptionsValues & operator=(const SfpOptionsValues &rhs)
Assignment operator; it copies rhs to this. 
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
boost::program_options::options_description * m_optionsDesc
 
std::string m_option_dataOutputAllowedSet
 
friend std::ostream & operator<<(std::ostream &os, const SfpOptionsValues &obj)
 
StatisticalForwardProblemOptions(const BaseEnvironment &env, const char *prefix)
Constructor: reads options from the input file. 
 
const BaseEnvironment & m_env
 
std::string m_option_help
 
std::string m_option_computeSolution
 
std::string m_dataOutputFileName
 
~StatisticalForwardProblemOptions()
Destructor. 
 
void defineMyOptions(boost::program_options::options_description &optionsDesc) const 
Define my SFP options as the default options. 
 
std::string m_option_computeCovariances
 
virtual ~SfpOptionsValues()
Destructor.