25 #ifndef UQ_MULTI_LEVEL_SAMPLING_OPTIONS_H
26 #define UQ_MULTI_LEVEL_SAMPLING_OPTIONS_H
28 #include <queso/Environment.h>
29 #include <queso/MLSamplingLevelOptions.h>
31 #define UQ_ML_SAMPLING_FILENAME_FOR_NO_FILE "."
35 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
37 #define UQ_ML_SAMPLING_RESTART_OUTPUT_LEVEL_PERIOD_ODV 0
38 #define UQ_ML_SAMPLING_RESTART_OUTPUT_BASE_NAME_FOR_FILES_ODV UQ_ML_SAMPLING_FILENAME_FOR_NO_FILE
39 #define UQ_ML_SAMPLING_RESTART_OUTPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
40 #define UQ_ML_SAMPLING_RESTART_INPUT_BASE_NAME_FOR_FILES_ODV UQ_ML_SAMPLING_FILENAME_FOR_NO_FILE
41 #define UQ_ML_SAMPLING_RESTART_INPUT_FILE_TYPE_ODV UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT
45 #define UQ_ML_SAMPLING_RESTART_INPUT_FILE_NAME_ODV UQ_ML_SAMPLING_FILENAME_FOR_NO_FILE
46 #define UQ_ML_SAMPLING_RESTART_INPUT_FILE_TYPE_ODV UQ_ML_SAMPLING_FILENAME_FOR_NO_FILE
47 #define UQ_ML_SAMPLING_RESTART_CHAIN_SIZE_ODV 100
51 #define UQ_ML_SAMPLING_DATA_OUTPUT_FILE_NAME_ODV UQ_ML_SAMPLING_FILENAME_FOR_NO_FILE
52 #define UQ_ML_SAMPLING_DATA_OUTPUT_ALLOW_ALL_ODV 0
53 #define UQ_ML_SAMPLING_DATA_OUTPUT_ALLOWED_SET_ODV ""
86 void print (std::ostream& os)
const;
92 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
93 unsigned int m_restartOutput_levelPeriod;
97 std::string m_restartOutput_baseNameForFiles;
100 std::string m_restartOutput_fileType;
103 std::string m_restartInput_baseNameForFiles;
106 std::string m_restartInput_fileType;
135 #ifdef ML_CODE_HAS_NEW_RESTART_CAPABILITY
136 std::string m_option_restartOutput_levelPeriod;
137 std::string m_option_restartOutput_baseNameForFiles;
138 std::string m_option_restartOutput_fileType;
139 std::string m_option_restartInput_baseNameForFiles;
140 std::string m_option_restartInput_fileType;
155 #endif // UQ_MULTI_LEVEL_SAMPLING_OPTIONS_H
bool m_dataOutputAllowAll
subEnvs that will write to generic output file
const BaseEnvironment & m_env
unsigned int m_restartChainSize
Size of restart chain.
std::string m_option_dataOutputAllowAll
po::options_description * m_optionsDesc
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
std::ostream & operator<<(std::ostream &os, const BaseEnvironment &obj)
std::string m_dataOutputFileName
Name of generic output file.
std::string m_restartInputFileType
Type of restart input file.
MLSamplingOptions(const BaseEnvironment &env, const char *prefix)
Default constructor.
std::string m_option_restartInputFileName
std::set< unsigned int > m_dataOutputAllowedSet
std::string m_option_restartInputFileType
std::string m_option_help
std::string m_prefix
Class prefix. (ml)
void scanOptionsValues()
It scans the option values from the options input file.
This class provides options for the Multilevel sequence generator if no input file is available...
void getMyOptionValues(po::options_description &optionsDesc)
Gets the sequence options defined to the Multilevel algorithm.
std::string m_option_dataOutputFileName
void print(std::ostream &os) const
It prints the option values.
~MLSamplingOptions()
Destructor.
std::string m_option_dataOutputAllowedSet
std::string m_option_restartChainSize
void defineMyOptions(po::options_description &optionsDesc) const
Defines the options for the Multilevel generator of samples as the default options.
std::string m_restartInputFileName
Name of restart input file.