25 #include <boost/program_options.hpp> 
   27 #include <queso/ExperimentModelOptions.h> 
   28 #include <queso/Miscellaneous.h> 
   43     m_option_help(m_prefix + 
"help"),
 
   44     m_option_Gvalues(m_prefix + 
"Gvalues"),
 
   45     m_option_a_v(m_prefix + 
"a_v"),
 
   46     m_option_b_v(m_prefix + 
"b_v"),
 
   47     m_option_a_rho_v(m_prefix + 
"a_rho_v"),
 
   48     m_option_b_rho_v(m_prefix + 
"b_rho_v"),
 
   49     m_option_a_y(m_prefix + 
"a_y"),
 
   50     m_option_b_y(m_prefix + 
"b_y")
 
   57     m_prefix((std::string)(prefix) + 
"em_"),
 
   66     m_option_help(m_prefix + 
"help"),
 
   67     m_option_Gvalues(m_prefix + 
"Gvalues"),
 
   68     m_option_a_v(m_prefix + 
"a_v"),
 
   69     m_option_b_v(m_prefix + 
"b_v"),
 
   70     m_option_a_rho_v(m_prefix + 
"a_rho_v"),
 
   71     m_option_b_rho_v(m_prefix + 
"b_rho_v"),
 
   72     m_option_a_y(m_prefix + 
"a_y"),
 
   73     m_option_b_y(m_prefix + 
"b_y")
 
  199   m_prefix        ((std::string)(prefix) + 
"em_"),
 
  201   m_optionsDesc   (new boost::program_options::options_description(
"Experiment model options")),
 
  202   m_option_help   (m_prefix + 
"help"   ),
 
  203   m_option_Gvalues(m_prefix + 
"Gvalues"),
 
  204   m_option_a_v    (m_prefix + 
"a_v"    ),
 
  205   m_option_b_v    (m_prefix + 
"b_v"    ),
 
  206   m_option_a_rho_v(m_prefix + 
"a_rho_v"),
 
  207   m_option_b_rho_v(m_prefix + 
"b_rho_v"),
 
  208   m_option_a_y    (m_prefix + 
"a_y"    ),
 
  209   m_option_b_y    (m_prefix + 
"b_y"    )
 
  221   m_ov            (alternativeOptionsValues),
 
  222   m_prefix        ((std::string)(prefix) + 
"em_"),
 
  224   m_optionsDesc   (NULL),
 
  225   m_option_help   (m_prefix + 
"help"   ),
 
  226   m_option_Gvalues(m_prefix + 
"Gvalues"),
 
  227   m_option_a_v    (m_prefix + 
"a_v"    ),
 
  228   m_option_b_v    (m_prefix + 
"b_v"    ),
 
  229   m_option_a_rho_v(m_prefix + 
"a_rho_v"),
 
  230   m_option_b_rho_v(m_prefix + 
"b_rho_v"),
 
  231   m_option_a_y    (m_prefix + 
"a_y"    ),
 
  232   m_option_b_y    (m_prefix + 
"b_y"    )
 
  240                             << 
": after setting values of options with prefix '" << 
m_prefix 
  241                             << 
"', state of object is:" 
  267                             << 
": after reading values of options with prefix '" << 
m_prefix 
  268                             << 
"', state of  object is:" 
  281   optionsDesc.add_options()
 
  282     (
m_option_help.c_str(),                                                                                
"produce help message for experiment model options")
 
  307   std::vector<double> tmpValues(0,0.);
 
  318     unsigned int tmpSize = tmpValues.size();
 
  321     for (
unsigned int i = 0; i < tmpSize; ++i) {
 
std::string m_option_b_rho_v
 
#define UQ_EXPERIMENT_MODEL_B_Y_ODV
 
std::string m_option_b_rho_v
 
std::vector< unsigned int > m_Gvalues
 
void scanInputFileForMyOptions(const boost::program_options::options_description &optionsDesc) const 
This method scans the input file provided by the user to QUESO. 
 
EmOptionsValues & operator=(const EmOptionsValues &rhs)
 
#define UQ_EXPERIMENT_MODEL_A_Y_ODV
 
#define UQ_EXPERIMENT_MODEL_G_VALUES_ODV
 
std::string m_option_help
 
void defineMyOptions(boost::program_options::options_description &optionsDesc) const 
 
std::string m_option_Gvalues
 
void getMyOptionValues(boost::program_options::options_description &optionsDesc)
 
std::string m_option_a_rho_v
 
#define queso_require_not_equal_to_msg(expr1, expr2, msg)
 
#define UQ_EXPERIMENT_MODEL_B_RHO_V_ODV
 
~ExperimentModelOptions()
 
virtual ~EmOptionsValues()
 
#define queso_deprecated()
 
boost::program_options::options_description * m_optionsDesc
 
boost::program_options::variables_map & allOptionsMap() const 
 
#define queso_require_msg(asserted, msg)
 
#define queso_require_equal_to_msg(expr1, expr2, msg)
 
#define UQ_EXPERIMENT_MODEL_A_V_ODV
 
std::ostream & operator<<(std::ostream &os, const BaseEnvironment &obj)
 
std::string optionsInputFileName() const 
Access to the attribute m_optionsInputFileName, which stores the name of the input file passed by the...
 
void scanInputFile()
This is the method that parses the input file. 
 
std::ofstream * subDisplayFile() const 
Access function for m_subDisplayFile (displays file on stream). 
 
#define UQ_EXPERIMENT_MODEL_B_V_ODV
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
void registerOption(std::string name, T defaultValue, std::string description)
Call this to register an option with the parser. 
 
BoostInputOptionsParser * m_parser
 
void copy(const EmOptionsValues &src)
 
void print(std::ostream &os) const 
 
#define UQ_EXPERIMENT_MODEL_A_RHO_V_ODV
 
std::string m_option_help
 
const BaseEnvironment & m_env
 
std::string m_option_a_rho_v
 
std::string m_option_Gvalues
 
void getOption(std::string &name, T &value)
Get option name from the parser and set value to the parsed value. 
 
void MiscReadDoublesFromString(const std::string &inputString, std::vector< double > &outputDoubles)
 
ExperimentModelOptions(const BaseEnvironment &env, const char *prefix)