queso-0.53.0
|
This class provides options for a Statistical Inverse Problem if no input file is available. More...
#include <StatisticalInverseProblemOptions.h>
Public Member Functions | |
Constructor/Destructor methods | |
SipOptionsValues () | |
Default constructor. More... | |
SipOptionsValues (const BaseEnvironment *env, const char *prefix) | |
SipOptionsValues (const SipOptionsValues &src) | |
Copy constructor. More... | |
virtual | ~SipOptionsValues () |
Destructor. More... | |
Set methods | |
SipOptionsValues & | operator= (const SipOptionsValues &rhs) |
Assignment operator; it copies rhs to this . More... | |
Public Attributes | |
std::string | m_prefix |
std::string | m_help |
If this string is non-empty, options are print to the output file. More... | |
bool | m_computeSolution |
std::string | m_dataOutputFileName |
std::set< unsigned int > | m_dataOutputAllowedSet |
Private Member Functions | |
void | copy (const SipOptionsValues &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_dataOutputFileName |
std::string | m_option_dataOutputAllowedSet |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SipOptionsValues &obj) |
This class provides options for a Statistical Inverse Problem if no input file is available.
In order to solve a Statistical Inverse Problem (SIP), 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 66 of file StatisticalInverseProblemOptions.h.
QUESO::SipOptionsValues::SipOptionsValues | ( | ) |
Default constructor.
Assigns the default suite of options to the Statistical Inverse Problem.
Definition at line 38 of file StatisticalInverseProblemOptions.C.
QUESO::SipOptionsValues::SipOptionsValues | ( | const BaseEnvironment * | env, |
const char * | prefix | ||
) |
Definition at line 57 of file StatisticalInverseProblemOptions.C.
References checkOptions(), QUESO::BoostInputOptionsParser::getOption(), m_computeSolution, m_dataOutputAllowedSet, m_dataOutputFileName, m_help, m_option_computeSolution, m_option_dataOutputAllowedSet, m_option_dataOutputFileName, m_option_help, m_parser, QUESO::BoostInputOptionsParser::registerOption(), QUESO::BoostInputOptionsParser::scanInputFile(), UQ_SIP_COMPUTE_SOLUTION_ODV, UQ_SIP_DATA_OUTPUT_ALLOWED_SET_ODV, UQ_SIP_DATA_OUTPUT_FILE_NAME_ODV, and UQ_SIP_HELP.
QUESO::SipOptionsValues::SipOptionsValues | ( | const SipOptionsValues & | src | ) |
Copy constructor.
It assigns the same options values from src
to this
.
Definition at line 96 of file StatisticalInverseProblemOptions.C.
References copy().
|
virtual |
|
private |
Definition at line 114 of file StatisticalInverseProblemOptions.C.
Referenced by SipOptionsValues().
|
private |
Copies the option values from src
to this
.
Definition at line 120 of file StatisticalInverseProblemOptions.C.
References m_computeSolution, m_dataOutputAllowedSet, and m_dataOutputFileName.
Referenced by operator=(), and SipOptionsValues().
SipOptionsValues & QUESO::SipOptionsValues::operator= | ( | const SipOptionsValues & | rhs | ) |
Assignment operator; it copies rhs
to this
.
Definition at line 107 of file StatisticalInverseProblemOptions.C.
References copy().
|
friend |
Definition at line 134 of file StatisticalInverseProblemOptions.C.
bool QUESO::SipOptionsValues::m_computeSolution |
Definition at line 95 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::operator<<(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().
std::set<unsigned int> QUESO::SipOptionsValues::m_dataOutputAllowedSet |
Definition at line 97 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::operator<<(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().
std::string QUESO::SipOptionsValues::m_dataOutputFileName |
Definition at line 96 of file StatisticalInverseProblemOptions.h.
Referenced by copy(), QUESO::StatisticalInverseProblemOptions::getMyOptionValues(), QUESO::operator<<(), QUESO::StatisticalInverseProblemOptions::print(), and SipOptionsValues().
std::string QUESO::SipOptionsValues::m_help |
If this string is non-empty, options are print to the output file.
Definition at line 93 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues(), and QUESO::StatisticalInverseProblem< P_V, P_M >::StatisticalInverseProblem().
|
private |
Definition at line 109 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::operator<<(), and SipOptionsValues().
|
private |
Definition at line 111 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::operator<<(), and SipOptionsValues().
|
private |
Definition at line 110 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::operator<<(), and SipOptionsValues().
|
private |
Definition at line 108 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
|
private |
Definition at line 105 of file StatisticalInverseProblemOptions.h.
Referenced by SipOptionsValues().
std::string QUESO::SipOptionsValues::m_prefix |
Definition at line 90 of file StatisticalInverseProblemOptions.h.
Referenced by QUESO::StatisticalInverseProblem< P_V, P_M >::StatisticalInverseProblem().