queso-0.53.0
|
This class provides options for a Statistical Forward Problem if no input file is available. More...
#include <StatisticalForwardProblemOptions.h>
Public Member Functions | |
SfpOptionsValues () | |
Constructor/Destructor methods. More... | |
SfpOptionsValues (const BaseEnvironment *env, const char *prefix) | |
SfpOptionsValues (const SfpOptionsValues &src) | |
Copy constructor. More... | |
virtual | ~SfpOptionsValues () |
Destructor. More... | |
Set methods | |
SfpOptionsValues & | operator= (const SfpOptionsValues &rhs) |
Assignment operator; it copies rhs to this . More... | |
Public Attributes | |
std::string | m_prefix |
std::string | m_help |
If non-empty string, options and values are printed to the output file. More... | |
bool | m_computeSolution |
bool | m_computeCovariances |
bool | m_computeCorrelations |
std::string | m_dataOutputFileName |
std::set< unsigned int > | m_dataOutputAllowedSet |
Private Member Functions | |
void | copy (const SfpOptionsValues &src) |
Copies the option values from src to this . More... | |
void | checkOptions () |
Private Attributes | |
BoostInputOptionsParser * | m_parser |
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 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SfpOptionsValues &obj) |
This class provides options for a Statistical Forward Problem if no input file is available.
In order to solve a Statistical Forward Problem (SFP), QUESO expects some options for its methods to be fully defined. This class provides default values for such options if no input file is available.
Definition at line 64 of file StatisticalForwardProblemOptions.h.
QUESO::SfpOptionsValues::SfpOptionsValues | ( | ) |
Constructor/Destructor methods.
Default constructor.
Assigns the default suite of options to the Statistical Forward Problem.
Definition at line 38 of file StatisticalForwardProblemOptions.C.
QUESO::SfpOptionsValues::SfpOptionsValues | ( | const BaseEnvironment * | env, |
const char * | prefix | ||
) |
Definition at line 61 of file StatisticalForwardProblemOptions.C.
References checkOptions(), QUESO::BoostInputOptionsParser::getOption(), m_computeCorrelations, m_computeCovariances, m_computeSolution, m_dataOutputAllowedSet, m_dataOutputFileName, m_help, m_option_computeCorrelations, m_option_computeCovariances, m_option_computeSolution, m_option_dataOutputAllowedSet, m_option_dataOutputFileName, m_option_help, m_parser, QUESO::BoostInputOptionsParser::registerOption(), QUESO::BoostInputOptionsParser::scanInputFile(), UQ_SFP_COMPUTE_CORRELATIONS_ODV, UQ_SFP_COMPUTE_COVARIANCES_ODV, UQ_SFP_COMPUTE_SOLUTION_ODV, UQ_SFP_DATA_OUTPUT_ALLOWED_SET_ODV, UQ_SFP_DATA_OUTPUT_FILE_NAME_ODV, and UQ_SFP_HELP.
QUESO::SfpOptionsValues::SfpOptionsValues | ( | const SfpOptionsValues & | src | ) |
Copy constructor.
It assigns the same options values from src
to this
.
Definition at line 109 of file StatisticalForwardProblemOptions.C.
References copy().
|
virtual |
|
private |
Definition at line 126 of file StatisticalForwardProblemOptions.C.
Referenced by SfpOptionsValues().
|
private |
Copies the option values from src
to this
.
Definition at line 133 of file StatisticalForwardProblemOptions.C.
References m_computeCorrelations, m_computeCovariances, m_computeSolution, m_dataOutputAllowedSet, and m_dataOutputFileName.
Referenced by operator=(), and SfpOptionsValues().
SfpOptionsValues & QUESO::SfpOptionsValues::operator= | ( | const SfpOptionsValues & | rhs | ) |
Assignment operator; it copies rhs
to this
.
Definition at line 119 of file StatisticalForwardProblemOptions.C.
References copy().
|
friend |
Definition at line 150 of file StatisticalForwardProblemOptions.C.
bool QUESO::SfpOptionsValues::m_computeCorrelations |
Definition at line 95 of file StatisticalForwardProblemOptions.h.
Referenced by copy(), QUESO::StatisticalForwardProblemOptions::getMyOptionValues(), QUESO::operator<<(), QUESO::StatisticalForwardProblemOptions::print(), and SfpOptionsValues().
bool QUESO::SfpOptionsValues::m_computeCovariances |
Definition at line 94 of file StatisticalForwardProblemOptions.h.
Referenced by copy(), QUESO::StatisticalForwardProblemOptions::getMyOptionValues(), QUESO::operator<<(), QUESO::StatisticalForwardProblemOptions::print(), and SfpOptionsValues().
bool QUESO::SfpOptionsValues::m_computeSolution |
Definition at line 93 of file StatisticalForwardProblemOptions.h.
Referenced by copy(), QUESO::StatisticalForwardProblemOptions::getMyOptionValues(), QUESO::operator<<(), QUESO::StatisticalForwardProblemOptions::print(), and SfpOptionsValues().
std::set<unsigned int> QUESO::SfpOptionsValues::m_dataOutputAllowedSet |
Definition at line 97 of file StatisticalForwardProblemOptions.h.
Referenced by copy(), QUESO::StatisticalForwardProblemOptions::getMyOptionValues(), QUESO::operator<<(), QUESO::StatisticalForwardProblemOptions::print(), and SfpOptionsValues().
std::string QUESO::SfpOptionsValues::m_dataOutputFileName |
Definition at line 96 of file StatisticalForwardProblemOptions.h.
Referenced by copy(), QUESO::StatisticalForwardProblemOptions::getMyOptionValues(), QUESO::operator<<(), QUESO::StatisticalForwardProblemOptions::print(), and SfpOptionsValues().
std::string QUESO::SfpOptionsValues::m_help |
If non-empty string, options and values are printed to the output file.
Definition at line 91 of file StatisticalForwardProblemOptions.h.
Referenced by SfpOptionsValues().
|
private |
Definition at line 111 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
|
private |
Definition at line 110 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
|
private |
Definition at line 109 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
|
private |
Definition at line 113 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
|
private |
Definition at line 112 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
|
private |
Definition at line 108 of file StatisticalForwardProblemOptions.h.
Referenced by SfpOptionsValues().
|
private |
Definition at line 105 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
std::string QUESO::SfpOptionsValues::m_prefix |
Definition at line 88 of file StatisticalForwardProblemOptions.h.