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 
  104   std::string            m_solverString;
 
  110 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS 
  112 #endif  // DISABLE_BOOST_PROGRAM_OPTIONS 
  121 #ifdef UQ_SFP_READS_SOLVER_OPTION 
  122   std::string                   m_option_solver;
 
  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 
  195   std::string                   m_option_solver;
 
  203 #endif // UQ_SFP_OPTIONS_H 
SfpOptionsValues()
Constructor/Destructor methods. 
 
StatisticalForwardProblemOptions(const BaseEnvironment &env, const char *prefix)
Constructor: reads options from the input file. 
 
const BaseEnvironment & m_env
 
std::string m_option_computeSolution
 
std::string m_help
If non-empty string, options and values are printed to the output file. 
 
std::ostream & operator<<(std::ostream &os, const BaseEnvironment &obj)
 
void defineMyOptions(boost::program_options::options_description &optionsDesc) const 
Define my SFP options as the default options. 
 
std::string m_option_computeCovariances
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
bool m_computeCorrelations
 
bool m_computeCovariances
 
std::string m_option_help
 
std::string m_option_computeCorrelations
 
void scanOptionsValues()
It scans the option values from the options input file. 
 
std::string m_option_help
 
std::string m_option_dataOutputFileName
 
std::string m_dataOutputFileName
 
virtual ~SfpOptionsValues()
Destructor. 
 
~StatisticalForwardProblemOptions()
Destructor. 
 
std::string m_option_dataOutputAllowedSet
 
void print(std::ostream &os) const 
It prints the option values. 
 
std::string m_option_computeCorrelations
 
BoostInputOptionsParser * m_parser
 
This class provides options for a Statistical Forward Problem if no input file is available...
 
std::string m_option_computeCovariances
 
std::string m_option_dataOutputFileName
 
void copy(const SfpOptionsValues &src)
Copies the option values from src to this. 
 
std::set< unsigned int > m_dataOutputAllowedSet
 
void getMyOptionValues(boost::program_options::options_description &optionsDesc)
Gets the option values of the SFP. 
 
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
 
This class reads option values for a Statistical Forward Problem from an input file.