queso-0.53.0
|
This class provides options for the Multilevel sequence generator if no input file is available. More...
#include <MLSamplingOptions.h>
Public Member Functions | |
Constructor/Destructor methods | |
MLSamplingOptions (const BaseEnvironment &env, const char *prefix) | |
Default constructor. More... | |
virtual | ~MLSamplingOptions () |
Destructor. More... | |
I/O methods | |
void | print (std::ostream &os) const |
It prints the option values. More... | |
Public Attributes | |
std::string | m_prefix |
Class prefix. (ml) More... | |
std::string | m_help |
If non-empty string, options and values are printed to the output file. More... | |
std::string | m_restartInputFileName |
Name of restart input file. More... | |
std::string | m_restartInputFileType |
Type of restart input file. More... | |
unsigned int | m_restartChainSize |
Size of restart chain. More... | |
std::string | m_dataOutputFileName |
Name of generic output file. More... | |
bool | m_dataOutputAllowAll |
subEnvs that will write to generic output file More... | |
std::set< unsigned int > | m_dataOutputAllowedSet |
Private Member Functions | |
void | checkOptions (const BaseEnvironment *env) |
Private Attributes | |
const BaseEnvironment & | m_env |
BoostInputOptionsParser * | m_parser |
std::string | m_option_help |
std::string | m_option_restartInputFileName |
std::string | m_option_restartInputFileType |
std::string | m_option_restartChainSize |
std::string | m_option_dataOutputFileName |
std::string | m_option_dataOutputAllowAll |
std::string | m_option_dataOutputAllowedSet |
Friends | |
std::ostream & | operator<< (std::ostream &os, const MLSamplingOptions &obj) |
This class provides options for the Multilevel sequence generator if no input file is available.
Multilevel sequence generator expects options for its methods. This class provides default values for such options if no input file is available.
Definition at line 69 of file MLSamplingOptions.h.
QUESO::MLSamplingOptions::MLSamplingOptions | ( | const BaseEnvironment & | env, |
const char * | prefix | ||
) |
Default constructor.
Assigns the default suite of options to the Multilevel sequence generator.
Definition at line 32 of file MLSamplingOptions.C.
References checkOptions(), QUESO::BoostInputOptionsParser::getOption(), m_dataOutputAllowedSet, m_dataOutputFileName, m_help, m_option_dataOutputAllowedSet, m_option_dataOutputFileName, m_option_help, m_option_restartChainSize, m_option_restartInputFileName, m_option_restartInputFileType, m_parser, m_restartChainSize, m_restartInputFileName, m_restartInputFileType, QUESO::BoostInputOptionsParser::registerOption(), QUESO::BoostInputOptionsParser::scanInputFile(), UQ_ML_SAMPLING_DATA_OUTPUT_ALLOWED_SET_ODV, UQ_ML_SAMPLING_DATA_OUTPUT_FILE_NAME_ODV, UQ_ML_SAMPLING_RESTART_CHAIN_SIZE_ODV, UQ_ML_SAMPLING_RESTART_INPUT_FILE_NAME_ODV, and UQ_ML_SAMPLING_RESTART_INPUT_FILE_TYPE_ODV.
|
virtual |
|
private |
Definition at line 106 of file MLSamplingOptions.C.
References m_help, queso_require_not_equal_to_msg, and QUESO::BaseEnvironment::subDisplayFile().
Referenced by MLSamplingOptions().
void QUESO::MLSamplingOptions::print | ( | std::ostream & | os | ) | const |
It prints the option values.
Definition at line 122 of file MLSamplingOptions.C.
References m_dataOutputAllowedSet, m_dataOutputFileName, m_option_dataOutputAllowedSet, m_option_dataOutputFileName, m_option_restartChainSize, m_option_restartInputFileName, m_option_restartInputFileType, m_restartChainSize, m_restartInputFileName, and m_restartInputFileType.
Referenced by QUESO::operator<<().
|
friend |
Definition at line 145 of file MLSamplingOptions.C.
bool QUESO::MLSamplingOptions::m_dataOutputAllowAll |
subEnvs that will write to generic output file
Definition at line 123 of file MLSamplingOptions.h.
std::set<unsigned int> QUESO::MLSamplingOptions::m_dataOutputAllowedSet |
Definition at line 124 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
std::string QUESO::MLSamplingOptions::m_dataOutputFileName |
Name of generic output file.
Definition at line 120 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 127 of file MLSamplingOptions.h.
std::string QUESO::MLSamplingOptions::m_help |
If non-empty string, options and values are printed to the output file.
Definition at line 92 of file MLSamplingOptions.h.
Referenced by checkOptions(), and MLSamplingOptions().
|
private |
Definition at line 144 of file MLSamplingOptions.h.
|
private |
Definition at line 145 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 143 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 131 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions().
|
private |
Definition at line 141 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 139 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 140 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 129 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and QUESO::operator<<().
std::string QUESO::MLSamplingOptions::m_prefix |
Class prefix. (ml)
Definition at line 89 of file MLSamplingOptions.h.
unsigned int QUESO::MLSamplingOptions::m_restartChainSize |
Size of restart chain.
Definition at line 117 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
std::string QUESO::MLSamplingOptions::m_restartInputFileName |
Name of restart input file.
Definition at line 111 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
std::string QUESO::MLSamplingOptions::m_restartInputFileType |
Type of restart input file.
Definition at line 114 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().