queso-0.57.1
|
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... | |
unsigned int | m_restartOutput_levelPeriod |
Period of restart output file (level). More... | |
std::string | m_restartOutput_baseNameForFiles |
Base name of restart output file. More... | |
std::string | m_restartOutput_fileType |
Type of restart output file. More... | |
std::string | m_restartInput_baseNameForFiles |
Base name of restart input file. More... | |
std::string | m_restartInput_fileType |
Type of restart input 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_restartOutput_levelPeriod |
std::string | m_option_restartOutput_baseNameForFiles |
std::string | m_option_restartOutput_fileType |
std::string | m_option_restartInput_baseNameForFiles |
std::string | m_option_restartInput_fileType |
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 72 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 31 of file MLSamplingOptions.C.
References checkOptions(), QUESO::BoostInputOptionsParser::getOption(), QUESO::BaseEnvironment::input(), m_dataOutputAllowedSet, m_dataOutputFileName, m_env, m_help, m_option_dataOutputAllowedSet, m_option_dataOutputFileName, m_option_help, m_option_restartChainSize, m_option_restartInput_baseNameForFiles, m_option_restartInput_fileType, m_option_restartInputFileName, m_option_restartInputFileType, m_option_restartOutput_baseNameForFiles, m_option_restartOutput_fileType, m_option_restartOutput_levelPeriod, m_parser, m_restartChainSize, m_restartInput_baseNameForFiles, m_restartInput_fileType, m_restartInputFileName, m_restartInputFileType, m_restartOutput_baseNameForFiles, m_restartOutput_fileType, m_restartOutput_levelPeriod, QUESO::BoostInputOptionsParser::registerOption(), QUESO::BoostInputOptionsParser::scanInputFile(), and QUESO::size.
|
virtual |
|
private |
Definition at line 134 of file MLSamplingOptions.C.
References m_help, m_restartOutput_baseNameForFiles, m_restartOutput_levelPeriod, QUESO::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 150 of file MLSamplingOptions.C.
References m_dataOutputAllowedSet, m_dataOutputFileName, m_option_dataOutputAllowedSet, m_option_dataOutputFileName, m_option_restartChainSize, m_option_restartInput_baseNameForFiles, m_option_restartInput_fileType, m_option_restartInputFileName, m_option_restartInputFileType, m_option_restartOutput_baseNameForFiles, m_option_restartOutput_fileType, m_option_restartOutput_levelPeriod, m_restartChainSize, m_restartInput_baseNameForFiles, m_restartInput_fileType, m_restartInputFileName, m_restartInputFileType, m_restartOutput_baseNameForFiles, m_restartOutput_fileType, and m_restartOutput_levelPeriod.
Referenced by QUESO::operator<<().
|
friend |
Definition at line 173 of file MLSamplingOptions.C.
bool QUESO::MLSamplingOptions::m_dataOutputAllowAll |
subEnvs that will write to generic output file
Definition at line 126 of file MLSamplingOptions.h.
std::set<unsigned int> QUESO::MLSamplingOptions::m_dataOutputAllowedSet |
Definition at line 127 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
std::string QUESO::MLSamplingOptions::m_dataOutputFileName |
Name of generic output file.
Definition at line 123 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 130 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions().
std::string QUESO::MLSamplingOptions::m_help |
If non-empty string, options and values are printed to the output file.
Definition at line 95 of file MLSamplingOptions.h.
Referenced by checkOptions(), and MLSamplingOptions().
|
private |
Definition at line 149 of file MLSamplingOptions.h.
|
private |
Definition at line 150 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 148 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 136 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions().
|
private |
Definition at line 146 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 141 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 142 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 144 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 145 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 138 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
|
private |
Definition at line 133 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and QUESO::operator<<().
std::string QUESO::MLSamplingOptions::m_prefix |
Class prefix. (ml)
Definition at line 92 of file MLSamplingOptions.h.
unsigned int QUESO::MLSamplingOptions::m_restartChainSize |
Size of restart chain.
Definition at line 120 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
std::string QUESO::MLSamplingOptions::m_restartInput_baseNameForFiles |
Base name of restart input file.
Definition at line 108 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
std::string QUESO::MLSamplingOptions::m_restartInput_fileType |
Type of restart input file.
Definition at line 111 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
std::string QUESO::MLSamplingOptions::m_restartInputFileName |
Name of restart input file.
Definition at line 114 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
std::string QUESO::MLSamplingOptions::m_restartInputFileType |
Type of restart input file.
Definition at line 117 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
std::string QUESO::MLSamplingOptions::m_restartOutput_baseNameForFiles |
Base name of restart output file.
Definition at line 102 of file MLSamplingOptions.h.
Referenced by checkOptions(), MLSamplingOptions(), and print().
std::string QUESO::MLSamplingOptions::m_restartOutput_fileType |
Type of restart output file.
Definition at line 105 of file MLSamplingOptions.h.
Referenced by MLSamplingOptions(), and print().
unsigned int QUESO::MLSamplingOptions::m_restartOutput_levelPeriod |
Period of restart output file (level).
Definition at line 99 of file MLSamplingOptions.h.
Referenced by checkOptions(), MLSamplingOptions(), and print().