queso-0.56.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 69 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 40 of file StatisticalForwardProblemOptions.C.
QUESO::SfpOptionsValues::SfpOptionsValues | ( | const BaseEnvironment * | env, |
const char * | prefix | ||
) |
Definition at line 65 of file StatisticalForwardProblemOptions.C.
References checkOptions(), QUESO::BoostInputOptionsParser::getOption(), QUESO::BaseEnvironment::input(), 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, UQ_SFP_HELP, and GetPot::vector_variable_size().
QUESO::SfpOptionsValues::SfpOptionsValues | ( | const SfpOptionsValues & | src | ) |
Copy constructor.
It assigns the same options values from src
to this
.
Definition at line 136 of file StatisticalForwardProblemOptions.C.
References copy().
|
virtual |
|
private |
Definition at line 153 of file StatisticalForwardProblemOptions.C.
Referenced by SfpOptionsValues().
|
private |
Copies the option values from src
to this
.
Definition at line 160 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 146 of file StatisticalForwardProblemOptions.C.
References copy().
|
friend |
Definition at line 177 of file StatisticalForwardProblemOptions.C.
bool QUESO::SfpOptionsValues::m_computeCorrelations |
Definition at line 100 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 99 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 98 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 102 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 101 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 96 of file StatisticalForwardProblemOptions.h.
Referenced by SfpOptionsValues().
|
private |
Definition at line 118 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
|
private |
Definition at line 117 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
|
private |
Definition at line 116 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
|
private |
Definition at line 120 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
|
private |
Definition at line 119 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
|
private |
Definition at line 115 of file StatisticalForwardProblemOptions.h.
Referenced by SfpOptionsValues().
|
private |
Definition at line 111 of file StatisticalForwardProblemOptions.h.
Referenced by QUESO::operator<<(), and SfpOptionsValues().
std::string QUESO::SfpOptionsValues::m_prefix |
Definition at line 93 of file StatisticalForwardProblemOptions.h.