queso-0.57.1
|
This class reads option values for a Statistical Forward Problem from an input file. More...
#include <StatisticalForwardProblemOptions.h>
Public Member Functions | |
Constructor/Destructor methods | |
StatisticalForwardProblemOptions (const BaseEnvironment &env, const char *prefix) | |
Constructor: reads options from the input file. More... | |
StatisticalForwardProblemOptions (const BaseEnvironment &env, const char *prefix, const SfpOptionsValues &alternativeOptionsValues) | |
Constructor: with alternative option values. More... | |
~StatisticalForwardProblemOptions () | |
Destructor. More... | |
I/O methods | |
void | scanOptionsValues () |
It scans the option values from the options input file. More... | |
void | print (std::ostream &os) const |
It prints the option values. More... | |
Public Attributes | |
SfpOptionsValues | m_ov |
std::string | m_prefix |
Private Member Functions | |
void | defineMyOptions (boost::program_options::options_description &optionsDesc) const |
Define my SFP options as the default options. More... | |
void | getMyOptionValues (boost::program_options::options_description &optionsDesc) |
Gets the option values of the SFP. More... | |
Private Attributes | |
const BaseEnvironment & | m_env |
boost::program_options::options_description * | m_optionsDesc |
std::string | m_option_help |
std::string | m_option_computeSolution |
std::string | m_option_computeCovariances |
std::string | m_option_computeCorrelations |
std::string | m_option_dataOutputFileName |
std::string | m_option_dataOutputAllowedSet |
std::string | m_option_solver |
This class reads option values for a Statistical Forward Problem from an input file.
This class reads the option values for the Statistical Forward Problem (SFP) from an input file provided by the user. The class expects the prefix '<prefix>_fp_'. For instance, if 'prefix' is 'foo_775_', then the constructor will read all options that begin with 'foo_775_fp_'. If the options request data to be written in the output file (MATLAB .m format only, for now), the user can run 'grep zeros <OUTPUT FILE NAME>' after the solution procedure ends in order to check which MATLAB variables are defined and set. The names of the variables are self explanatory.
Definition at line 146 of file StatisticalForwardProblemOptions.h.
QUESO::StatisticalForwardProblemOptions::StatisticalForwardProblemOptions | ( | const BaseEnvironment & | env, |
const char * | prefix | ||
) |
Constructor: reads options from the input file.
QUESO::StatisticalForwardProblemOptions::StatisticalForwardProblemOptions | ( | const BaseEnvironment & | env, |
const char * | prefix, | ||
const SfpOptionsValues & | alternativeOptionsValues | ||
) |
Constructor: with alternative option values.
In this constructor, the input options are given by alternativeOptionsValues
, rather than the options input file
QUESO::StatisticalForwardProblemOptions::~StatisticalForwardProblemOptions | ( | ) |
Destructor.
Definition at line 265 of file StatisticalForwardProblemOptions.C.
|
private |
Define my SFP options as the default options.
Definition at line 323 of file StatisticalForwardProblemOptions.C.
|
private |
Gets the option values of the SFP.
Definition at line 346 of file StatisticalForwardProblemOptions.C.
References QUESO::MiscReadDoublesFromString().
void QUESO::StatisticalForwardProblemOptions::print | ( | std::ostream & | os | ) | const |
It prints the option values.
Definition at line 300 of file StatisticalForwardProblemOptions.C.
Referenced by QUESO::operator<<().
void QUESO::StatisticalForwardProblemOptions::scanOptionsValues | ( | ) |
It scans the option values from the options input file.
Definition at line 276 of file StatisticalForwardProblemOptions.C.
|
private |
Definition at line 184 of file StatisticalForwardProblemOptions.h.
|
private |
Definition at line 192 of file StatisticalForwardProblemOptions.h.
|
private |
Definition at line 191 of file StatisticalForwardProblemOptions.h.
|
private |
Definition at line 190 of file StatisticalForwardProblemOptions.h.
|
private |
Definition at line 194 of file StatisticalForwardProblemOptions.h.
|
private |
Definition at line 193 of file StatisticalForwardProblemOptions.h.
|
private |
Definition at line 189 of file StatisticalForwardProblemOptions.h.
|
private |
Definition at line 196 of file StatisticalForwardProblemOptions.h.
|
private |
Definition at line 187 of file StatisticalForwardProblemOptions.h.
SfpOptionsValues QUESO::StatisticalForwardProblemOptions::m_ov |
Definition at line 172 of file StatisticalForwardProblemOptions.h.
std::string QUESO::StatisticalForwardProblemOptions::m_prefix |
Definition at line 173 of file StatisticalForwardProblemOptions.h.