queso-0.56.0
Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
QUESO::EnvOptionsValues Class Reference

This class provides a suite options one can pass to a QUESO environment. More...

#include <EnvironmentOptions.h>

Collaboration diagram for QUESO::EnvOptionsValues:
Collaboration graph
[legend]

Public Member Functions

Constructor/Destructor methods
 EnvOptionsValues ()
 Default constructor. More...
 
 EnvOptionsValues (const BaseEnvironment *env, const char *prefix)
 
 EnvOptionsValues (const EnvOptionsValues &src)
 Copy constructor. More...
 
virtual ~EnvOptionsValues ()
 Destructor. More...
 
Set methods
EnvOptionsValuesoperator= (const EnvOptionsValues &rhs)
 Operator for copying the options of an environment. More...
 

Public Attributes

std::string m_prefix
 
Attributes

If this string is non-empty, print the options object to the output file

std::string m_help
 
unsigned int m_numSubEnvironments
 
std::string m_subDisplayFileName
 Output filename for sub-screen writing. More...
 
bool m_subDisplayAllowAll
 Allows (or not) all sub-environments to write to output file. More...
 
bool m_subDisplayAllowInter0
 Allows (or not) all inter0 nodes to write to output file. More...
 
std::set< unsigned int > m_subDisplayAllowedSet
 Sub-environments that will write to output. More...
 
unsigned int m_displayVerbosity
 Verbosity. More...
 
unsigned int m_syncVerbosity
 Synchronized verbosity. More...
 
unsigned int m_checkingLevel
 Checking level. More...
 
std::string m_rngType
 Type of the random number generator. More...
 
int m_seed
 Seed of the random number generator. More...
 
std::string m_platformName
 Platform name. More...
 
std::string m_identifyingString
 Identifying string. More...
 
unsigned int m_numDebugParams
 Number of debug parameters. Unused? More...
 
std::vector< double > m_debugParams
 Debug parameters. Unused? More...
 

Private Member Functions

void copy (const EnvOptionsValues &src)
 Makes an exact copy of an existing EnvOptionsValues instance. More...
 
void checkOptions ()
 Sorts out any inter-option conflicts. More...
 

Private Attributes

const BaseEnvironmentm_env
 
BoostInputOptionsParserm_parser
 
std::string m_option_help
 Input file option name for flagging helpful printing output. More...
 
std::string m_option_numSubEnvironments
 Input file option name for m_numSubEnvironments. More...
 
std::string m_option_subDisplayFileName
 Input file option name for m_subDisplayFileName. More...
 
std::string m_option_subDisplayAllowAll
 Input file option name for m_subDisplayAllowAll. More...
 
std::string m_option_subDisplayAllowInter0
 Input file option name for m_subDisplayAllowInter0. More...
 
std::string m_option_subDisplayAllowedSet
 Input file option name for m_subDisplayAllowedSet. More...
 
std::string m_option_displayVerbosity
 Input file option name for m_displayVerbosity. More...
 
std::string m_option_syncVerbosity
 Input file option name for m_syncVerbosity. More...
 
std::string m_option_checkingLevel
 Input file option name for m_checkingLevel. More...
 
std::string m_option_rngType
 Input file option name for m_rngType. More...
 
std::string m_option_seed
 Input file option name for m_seed. More...
 
std::string m_option_platformName
 Input file option name for m_platformName. More...
 
std::string m_option_identifyingString
 Input file option name for m_identifyingString. More...
 

Friends

std::ostream & operator<< (std::ostream &os, const EnvOptionsValues &obj)
 Print values of the options chosen. More...
 

Detailed Description

This class provides a suite options one can pass to a QUESO environment.

QUESO expects the user to provide an input file with environment options for the library variables. If no input file, a collection of default values is assigned to some of the variables. The class EnvOptionsValues is responsible for this task.

Definition at line 82 of file EnvironmentOptions.h.

Constructor & Destructor Documentation

QUESO::EnvOptionsValues::EnvOptionsValues ( )

Default constructor.

Definition at line 41 of file EnvironmentOptions.C.

42  :
43  m_prefix("env_"),
49  //m_subDisplayAllowedSet (),
59  m_env(NULL),
60 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
61  m_parser(NULL),
62 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
63  m_option_help(m_prefix + "help"),
64  m_option_numSubEnvironments(m_prefix + "numSubEnvironments"),
65  m_option_subDisplayFileName(m_prefix + "subDisplayFileName"),
66  m_option_subDisplayAllowAll(m_prefix + "subDisplayAllowAll"),
67  m_option_subDisplayAllowInter0(m_prefix + "subDisplayAllowInter0"),
68  m_option_subDisplayAllowedSet(m_prefix + "subDisplayAllowedSet"),
69  m_option_displayVerbosity(m_prefix + "displayVerbosity"),
70  m_option_syncVerbosity(m_prefix + "syncVerbosity"),
71  m_option_checkingLevel(m_prefix + "checkingLevel"),
72  m_option_rngType(m_prefix + "rngType"),
73  m_option_seed(m_prefix + "seed"),
74  m_option_platformName(m_prefix + "platformName"),
75  m_option_identifyingString(m_prefix + "identifyingString")
76 {
77 }
#define UQ_ENV_SEED_ODV
std::string m_option_syncVerbosity
Input file option name for m_syncVerbosity.
#define UQ_ENV_IDENTIFYING_STRING_ODV
std::string m_option_subDisplayAllowAll
Input file option name for m_subDisplayAllowAll.
bool m_subDisplayAllowAll
Allows (or not) all sub-environments to write to output file.
BoostInputOptionsParser * m_parser
std::string m_option_subDisplayAllowedSet
Input file option name for m_subDisplayAllowedSet.
#define UQ_ENV_CHECKING_LEVEL_ODV
#define UQ_ENV_RNG_TYPE_ODV
unsigned int m_syncVerbosity
Synchronized verbosity.
std::string m_platformName
Platform name.
std::string m_option_help
Input file option name for flagging helpful printing output.
std::string m_option_identifyingString
Input file option name for m_identifyingString.
#define UQ_ENV_HELP
#define UQ_ENV_SUB_DISPLAY_ALLOW_INTER0_ODV
std::string m_option_displayVerbosity
Input file option name for m_displayVerbosity.
#define UQ_ENV_SUB_DISPLAY_ALLOW_ALL_ODV
std::string m_option_checkingLevel
Input file option name for m_checkingLevel.
unsigned int m_displayVerbosity
Verbosity.
unsigned int m_numDebugParams
Number of debug parameters. Unused?
std::string m_subDisplayFileName
Output filename for sub-screen writing.
std::string m_option_rngType
Input file option name for m_rngType.
std::string m_option_subDisplayAllowInter0
Input file option name for m_subDisplayAllowInter0.
#define UQ_ENV_NUM_DEBUG_PARAMS_ODV
std::string m_option_seed
Input file option name for m_seed.
#define UQ_ENV_NUM_SUB_ENVIRONMENTS_ODV
std::string m_rngType
Type of the random number generator.
unsigned int m_checkingLevel
Checking level.
std::string m_identifyingString
Identifying string.
std::string m_option_subDisplayFileName
Input file option name for m_subDisplayFileName.
int m_seed
Seed of the random number generator.
std::vector< double > m_debugParams
Debug parameters. Unused?
#define UQ_ENV_DISPLAY_VERBOSITY_ODV
#define UQ_ENV_SYNC_VERBOSITY_ODV
std::string m_option_numSubEnvironments
Input file option name for m_numSubEnvironments.
const BaseEnvironment * m_env
std::string m_option_platformName
Input file option name for m_platformName.
#define UQ_ENV_SUB_DISPLAY_FILE_NAME_ODV
#define UQ_ENV_PLATFORM_NAME_ODV
bool m_subDisplayAllowInter0
Allows (or not) all inter0 nodes to write to output file.
QUESO::EnvOptionsValues::EnvOptionsValues ( const BaseEnvironment env,
const char *  prefix 
)

Definition at line 79 of file EnvironmentOptions.C.

References checkOptions(), QUESO::BoostInputOptionsParser::getOption(), QUESO::BaseEnvironment::input(), m_checkingLevel, m_displayVerbosity, m_env, m_help, m_identifyingString, m_numSubEnvironments, m_option_checkingLevel, m_option_displayVerbosity, m_option_help, m_option_identifyingString, m_option_numSubEnvironments, m_option_platformName, m_option_rngType, m_option_seed, m_option_subDisplayAllowAll, m_option_subDisplayAllowedSet, m_option_subDisplayAllowInter0, m_option_subDisplayFileName, m_option_syncVerbosity, m_parser, m_platformName, m_rngType, m_seed, m_subDisplayAllowAll, m_subDisplayAllowedSet, m_subDisplayAllowInter0, m_subDisplayFileName, m_syncVerbosity, QUESO::BoostInputOptionsParser::registerOption(), QUESO::BoostInputOptionsParser::scanInputFile(), UQ_ENV_CHECKING_LEVEL_ODV, UQ_ENV_DISPLAY_VERBOSITY_ODV, UQ_ENV_HELP, UQ_ENV_IDENTIFYING_STRING_ODV, UQ_ENV_NUM_SUB_ENVIRONMENTS_ODV, UQ_ENV_PLATFORM_NAME_ODV, UQ_ENV_RNG_TYPE_ODV, UQ_ENV_SEED_ODV, UQ_ENV_SUB_DISPLAY_ALLOW_ALL_ODV, UQ_ENV_SUB_DISPLAY_ALLOW_INTER0_ODV, UQ_ENV_SUB_DISPLAY_ALLOWED_SET_ODV, UQ_ENV_SUB_DISPLAY_FILE_NAME_ODV, UQ_ENV_SYNC_VERBOSITY_ODV, and GetPot::vector_variable_size().

81  :
82  m_prefix((std::string) + "env_"),
88  //m_subDisplayAllowedSet (),
98  m_env(env),
99 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
100  m_parser(new BoostInputOptionsParser(env->optionsInputFileName())),
101 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
102  m_option_help(m_prefix + "help"),
103  m_option_numSubEnvironments(m_prefix + "numSubEnvironments"),
104  m_option_subDisplayFileName(m_prefix + "subDisplayFileName"),
105  m_option_subDisplayAllowAll(m_prefix + "subDisplayAllowAll"),
106  m_option_subDisplayAllowInter0(m_prefix + "subDisplayAllowInter0"),
107  m_option_subDisplayAllowedSet(m_prefix + "subDisplayAllowedSet"),
108  m_option_displayVerbosity(m_prefix + "displayVerbosity"),
109  m_option_syncVerbosity(m_prefix + "syncVerbosity"),
110  m_option_checkingLevel(m_prefix + "checkingLevel"),
111  m_option_rngType(m_prefix + "rngType"),
112  m_option_seed(m_prefix + "seed"),
113  m_option_platformName(m_prefix + "platformName"),
114  m_option_identifyingString(m_prefix + "identifyingString")
115 {
116 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
117  // Register all options with parser
118  m_parser->registerOption<std::string >(m_option_help, UQ_ENV_HELP, "produce help message for environment");
119  m_parser->registerOption<unsigned int>(m_option_numSubEnvironments, UQ_ENV_NUM_SUB_ENVIRONMENTS_ODV, "number of subEnvironments");
120  m_parser->registerOption<std::string >(m_option_subDisplayFileName, UQ_ENV_SUB_DISPLAY_FILE_NAME_ODV, "output filename for subscreen writing");
121  m_parser->registerOption<bool >(m_option_subDisplayAllowAll, UQ_ENV_SUB_DISPLAY_ALLOW_ALL_ODV, "Allow all processors to write to output file");
122  m_parser->registerOption<bool >(m_option_subDisplayAllowInter0, UQ_ENV_SUB_DISPLAY_ALLOW_INTER0_ODV, "Allow all inter0 nodes to write to output file");
123  m_parser->registerOption<std::string >(m_option_subDisplayAllowedSet, UQ_ENV_SUB_DISPLAY_ALLOWED_SET_ODV, "subEnvs that will write to output file");
125  m_parser->registerOption<unsigned int>(m_option_syncVerbosity, UQ_ENV_SYNC_VERBOSITY_ODV, "set sync verbosity");
126  m_parser->registerOption<unsigned int>(m_option_checkingLevel, UQ_ENV_CHECKING_LEVEL_ODV, "set checking level");
127  m_parser->registerOption<std::string >(m_option_rngType, UQ_ENV_RNG_TYPE_ODV, "set rngType");
129  m_parser->registerOption<std::string >(m_option_platformName, UQ_ENV_PLATFORM_NAME_ODV, "platform name");
131 
132  // Read the input file
134 
135  m_parser->getOption<std::string >(m_option_help, m_help);
148 #else
154 
155  // UQ_ENV_SUB_DISPLAY_ALLOWED_SET_ODV is the empty set (string) by default
156  unsigned int size = m_env->input().vector_variable_size(m_option_subDisplayAllowedSet);
157  for (unsigned int i = 0; i < size; i++) {
158  // We default to empty set, so the default values are actually never
159  // used here
160  unsigned int allowed = m_env->input()(m_option_subDisplayAllowedSet, i, i);
161  m_subDisplayAllowedSet.insert(allowed);
162  }
163 
171 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
172 
173  checkOptions();
174 }
#define UQ_ENV_SEED_ODV
std::string m_option_syncVerbosity
Input file option name for m_syncVerbosity.
#define UQ_ENV_IDENTIFYING_STRING_ODV
std::string m_option_subDisplayAllowAll
Input file option name for m_subDisplayAllowAll.
const GetPot & input() const
The GetPot input file parser.
Definition: Environment.C:1148
bool m_subDisplayAllowAll
Allows (or not) all sub-environments to write to output file.
BoostInputOptionsParser * m_parser
std::string m_option_subDisplayAllowedSet
Input file option name for m_subDisplayAllowedSet.
#define UQ_ENV_CHECKING_LEVEL_ODV
#define UQ_ENV_RNG_TYPE_ODV
unsigned int m_syncVerbosity
Synchronized verbosity.
std::string m_platformName
Platform name.
std::string m_option_help
Input file option name for flagging helpful printing output.
std::string m_option_identifyingString
Input file option name for m_identifyingString.
unsigned vector_variable_size(const char *VarName) const
Definition: getpot.h:2532
void getOption(std::string &name, T &value)
Get option name from the parser and set value to the parsed value.
#define UQ_ENV_HELP
#define UQ_ENV_SUB_DISPLAY_ALLOW_INTER0_ODV
std::string m_option_displayVerbosity
Input file option name for m_displayVerbosity.
#define UQ_ENV_SUB_DISPLAY_ALLOW_ALL_ODV
#define UQ_ENV_SUB_DISPLAY_ALLOWED_SET_ODV
std::string m_option_checkingLevel
Input file option name for m_checkingLevel.
unsigned int m_displayVerbosity
Verbosity.
unsigned int m_numDebugParams
Number of debug parameters. Unused?
std::string m_subDisplayFileName
Output filename for sub-screen writing.
std::string m_option_rngType
Input file option name for m_rngType.
void scanInputFile()
This is the method that parses the input file.
std::set< unsigned int > m_subDisplayAllowedSet
Sub-environments that will write to output.
std::string m_option_subDisplayAllowInter0
Input file option name for m_subDisplayAllowInter0.
#define UQ_ENV_NUM_DEBUG_PARAMS_ODV
std::string m_option_seed
Input file option name for m_seed.
#define UQ_ENV_NUM_SUB_ENVIRONMENTS_ODV
std::string m_rngType
Type of the random number generator.
unsigned int m_checkingLevel
Checking level.
void registerOption(std::string name, T defaultValue, std::string description)
Call this to register an option with the parser.
std::string m_identifyingString
Identifying string.
std::string m_option_subDisplayFileName
Input file option name for m_subDisplayFileName.
int m_seed
Seed of the random number generator.
std::vector< double > m_debugParams
Debug parameters. Unused?
void checkOptions()
Sorts out any inter-option conflicts.
#define UQ_ENV_DISPLAY_VERBOSITY_ODV
#define UQ_ENV_SYNC_VERBOSITY_ODV
std::string m_option_numSubEnvironments
Input file option name for m_numSubEnvironments.
const BaseEnvironment * m_env
std::string m_option_platformName
Input file option name for m_platformName.
#define UQ_ENV_SUB_DISPLAY_FILE_NAME_ODV
#define UQ_ENV_PLATFORM_NAME_ODV
bool m_subDisplayAllowInter0
Allows (or not) all inter0 nodes to write to output file.
QUESO::EnvOptionsValues::EnvOptionsValues ( const EnvOptionsValues src)

Copy constructor.

Definition at line 192 of file EnvironmentOptions.C.

References copy().

193 {
194  this->copy(src);
195 }
void copy(const EnvOptionsValues &src)
Makes an exact copy of an existing EnvOptionsValues instance.
QUESO::EnvOptionsValues::~EnvOptionsValues ( )
virtual

Destructor.

Definition at line 198 of file EnvironmentOptions.C.

References m_parser.

199 {
200 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
201  if (m_parser) {
202  delete m_parser;
203  }
204 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
205 }
BoostInputOptionsParser * m_parser

Member Function Documentation

void QUESO::EnvOptionsValues::checkOptions ( )
private

Sorts out any inter-option conflicts.

Definition at line 177 of file EnvironmentOptions.C.

References m_subDisplayAllowAll, m_subDisplayAllowedSet, and m_subDisplayAllowInter0.

Referenced by EnvOptionsValues().

178 {
179  // Clear the permitted set of ranks if the user specifies that all are
180  // allowed to display or the Inter0 communicator is allowed to display
181  if (m_subDisplayAllowAll) {
182  // This will get filled by the Environment after the sub communicators are
183  // created
184  m_subDisplayAllowedSet.clear();
185  }
186  else if (m_subDisplayAllowInter0) {
187  m_subDisplayAllowedSet.clear();
188  }
189 }
bool m_subDisplayAllowAll
Allows (or not) all sub-environments to write to output file.
std::set< unsigned int > m_subDisplayAllowedSet
Sub-environments that will write to output.
bool m_subDisplayAllowInter0
Allows (or not) all inter0 nodes to write to output file.
void QUESO::EnvOptionsValues::copy ( const EnvOptionsValues src)
private

Makes an exact copy of an existing EnvOptionsValues instance.

Definition at line 216 of file EnvironmentOptions.C.

References m_checkingLevel, m_debugParams, m_displayVerbosity, m_identifyingString, m_numDebugParams, m_numSubEnvironments, m_platformName, m_rngType, m_seed, m_subDisplayAllowAll, m_subDisplayAllowedSet, m_subDisplayAllowInter0, m_subDisplayFileName, and m_syncVerbosity.

Referenced by EnvOptionsValues(), and operator=().

217 {
218  m_numSubEnvironments = src.m_numSubEnvironments;
219  m_subDisplayFileName = src.m_subDisplayFileName;
220  m_subDisplayAllowAll = src.m_subDisplayAllowAll;
221  m_subDisplayAllowInter0 = src.m_subDisplayAllowInter0;
222  m_subDisplayAllowedSet = src.m_subDisplayAllowedSet;
223  m_displayVerbosity = src.m_displayVerbosity;
224  m_syncVerbosity = src.m_syncVerbosity;
225  m_checkingLevel = src.m_checkingLevel;
226  m_rngType = src.m_rngType;
227  m_seed = src.m_seed;
228  m_platformName = src.m_platformName;
229  m_identifyingString = src.m_identifyingString;
230  m_numDebugParams = src.m_numDebugParams;
231  m_debugParams = src.m_debugParams;
232 
233  return;
234 }
bool m_subDisplayAllowAll
Allows (or not) all sub-environments to write to output file.
unsigned int m_syncVerbosity
Synchronized verbosity.
std::string m_platformName
Platform name.
unsigned int m_displayVerbosity
Verbosity.
unsigned int m_numDebugParams
Number of debug parameters. Unused?
std::string m_subDisplayFileName
Output filename for sub-screen writing.
std::set< unsigned int > m_subDisplayAllowedSet
Sub-environments that will write to output.
std::string m_rngType
Type of the random number generator.
unsigned int m_checkingLevel
Checking level.
std::string m_identifyingString
Identifying string.
int m_seed
Seed of the random number generator.
std::vector< double > m_debugParams
Debug parameters. Unused?
bool m_subDisplayAllowInter0
Allows (or not) all inter0 nodes to write to output file.
EnvOptionsValues & QUESO::EnvOptionsValues::operator= ( const EnvOptionsValues rhs)

Operator for copying the options of an environment.

Definition at line 209 of file EnvironmentOptions.C.

References copy().

210 {
211  this->copy(rhs);
212  return *this;
213 }
void copy(const EnvOptionsValues &src)
Makes an exact copy of an existing EnvOptionsValues instance.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const EnvOptionsValues obj 
)
friend

Print values of the options chosen.

Definition at line 236 of file EnvironmentOptions.C.

237 {
238  // Print the parser
239 #ifndef DISABLE_BOOST_PROGRAM_OPTIONS
240  os << (*(obj.m_parser)) << std::endl;
241 #else
242  obj.m_env->input().print(os);
243 #endif // DISABLE_BOOST_PROGRAM_OPTIONS
244 
245  // Print the option names and current values
246  os << obj.m_option_numSubEnvironments << " = " << obj.m_numSubEnvironments
247  << "\n" << obj.m_option_subDisplayFileName << " = " << obj.m_subDisplayFileName
248  << "\n" << obj.m_option_subDisplayAllowAll << " = " << obj.m_subDisplayAllowAll
249  //<< "\n" << obj.m_option_subDisplayAllowInter0 << " = " << obj.m_subDisplayAllowInter0
250  << "\n" << obj.m_option_subDisplayAllowedSet << " = ";
251  for (std::set<unsigned int>::iterator setIt = obj.m_subDisplayAllowedSet.begin(); setIt != obj.m_subDisplayAllowedSet.end(); ++setIt) {
252  os << *setIt << " ";
253  }
254  os << "\n" << obj.m_option_displayVerbosity << " = " << obj.m_displayVerbosity
255  << "\n" << obj.m_option_syncVerbosity << " = " << obj.m_syncVerbosity
256  << "\n" << obj.m_option_checkingLevel << " = " << obj.m_checkingLevel
257  << "\n" << obj.m_option_rngType << " = " << obj.m_rngType
258  << "\n" << obj.m_option_seed << " = " << obj.m_seed
259  << "\n" << obj.m_option_platformName << " = " << obj.m_platformName
260  << "\n" << obj.m_option_identifyingString << " = " << obj.m_identifyingString
261  //<< "\n" << obj.m_option_numDebugParams << " = " << obj.m_numDebugParams
262  << std::endl;
263  return os;
264 }

Member Data Documentation

unsigned int QUESO::EnvOptionsValues::m_checkingLevel
std::vector<double> QUESO::EnvOptionsValues::m_debugParams

Debug parameters. Unused?

Definition at line 167 of file EnvironmentOptions.h.

Referenced by copy().

unsigned int QUESO::EnvOptionsValues::m_displayVerbosity
const BaseEnvironment* QUESO::EnvOptionsValues::m_env
private

Definition at line 171 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

std::string QUESO::EnvOptionsValues::m_help

Definition at line 108 of file EnvironmentOptions.h.

Referenced by QUESO::FullEnvironment::construct(), and EnvOptionsValues().

std::string QUESO::EnvOptionsValues::m_identifyingString
unsigned int QUESO::EnvOptionsValues::m_numDebugParams

Number of debug parameters. Unused?

Definition at line 164 of file EnvironmentOptions.h.

Referenced by copy().

unsigned int QUESO::EnvOptionsValues::m_numSubEnvironments
std::string QUESO::EnvOptionsValues::m_option_checkingLevel
private

Input file option name for m_checkingLevel.

Definition at line 202 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

std::string QUESO::EnvOptionsValues::m_option_displayVerbosity
private

Input file option name for m_displayVerbosity.

Definition at line 196 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

std::string QUESO::EnvOptionsValues::m_option_help
private

Input file option name for flagging helpful printing output.

Definition at line 178 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues().

std::string QUESO::EnvOptionsValues::m_option_identifyingString
private

Input file option name for m_identifyingString.

Definition at line 214 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

std::string QUESO::EnvOptionsValues::m_option_numSubEnvironments
private

Input file option name for m_numSubEnvironments.

Definition at line 181 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

std::string QUESO::EnvOptionsValues::m_option_platformName
private

Input file option name for m_platformName.

Definition at line 211 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

std::string QUESO::EnvOptionsValues::m_option_rngType
private

Input file option name for m_rngType.

Definition at line 205 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

std::string QUESO::EnvOptionsValues::m_option_seed
private

Input file option name for m_seed.

Definition at line 208 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

std::string QUESO::EnvOptionsValues::m_option_subDisplayAllowAll
private

Input file option name for m_subDisplayAllowAll.

Definition at line 187 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

std::string QUESO::EnvOptionsValues::m_option_subDisplayAllowedSet
private

Input file option name for m_subDisplayAllowedSet.

Definition at line 193 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

std::string QUESO::EnvOptionsValues::m_option_subDisplayAllowInter0
private

Input file option name for m_subDisplayAllowInter0.

Definition at line 190 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues().

std::string QUESO::EnvOptionsValues::m_option_subDisplayFileName
private

Input file option name for m_subDisplayFileName.

Definition at line 184 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

std::string QUESO::EnvOptionsValues::m_option_syncVerbosity
private

Input file option name for m_syncVerbosity.

Definition at line 199 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), and QUESO::operator<<().

BoostInputOptionsParser* QUESO::EnvOptionsValues::m_parser
private

Definition at line 174 of file EnvironmentOptions.h.

Referenced by EnvOptionsValues(), QUESO::operator<<(), and ~EnvOptionsValues().

std::string QUESO::EnvOptionsValues::m_platformName
std::string QUESO::EnvOptionsValues::m_prefix

Definition at line 104 of file EnvironmentOptions.h.

std::string QUESO::EnvOptionsValues::m_rngType
int QUESO::EnvOptionsValues::m_seed

Seed of the random number generator.

If env_seed = -z, with z>=1, then each processor sets the seed to value MPI_RANK + z. It is crucial that +env_seed+ takes a {negative} value, otherwise all chain samples are going to be the same.

Definition at line 155 of file EnvironmentOptions.h.

Referenced by QUESO::FullEnvironment::construct(), copy(), EnvOptionsValues(), QUESO::EnvironmentOptions::getMyOptionValues(), QUESO::operator<<(), and QUESO::EnvironmentOptions::print().

bool QUESO::EnvOptionsValues::m_subDisplayAllowAll

Allows (or not) all sub-environments to write to output file.

If this option is true, m_subDisplayAllowedSet is ignored.

Definition at line 121 of file EnvironmentOptions.h.

Referenced by checkOptions(), QUESO::FullEnvironment::construct(), copy(), EnvOptionsValues(), QUESO::EnvironmentOptions::getMyOptionValues(), QUESO::operator<<(), and QUESO::EnvironmentOptions::print().

std::set<unsigned int> QUESO::EnvOptionsValues::m_subDisplayAllowedSet

Sub-environments that will write to output.

This option is ignored if either m_subDisplayAllowAll or m_subDisplayAllowInter0 are true.

Definition at line 134 of file EnvironmentOptions.h.

Referenced by checkOptions(), QUESO::FullEnvironment::construct(), copy(), EnvOptionsValues(), QUESO::EnvironmentOptions::getMyOptionValues(), QUESO::operator<<(), and QUESO::EnvironmentOptions::print().

bool QUESO::EnvOptionsValues::m_subDisplayAllowInter0

Allows (or not) all inter0 nodes to write to output file.

If this option is true, m_subDisplayAllowedSet is ignored.

Definition at line 127 of file EnvironmentOptions.h.

Referenced by checkOptions(), QUESO::FullEnvironment::construct(), copy(), EnvOptionsValues(), and QUESO::EnvironmentOptions::getMyOptionValues().

std::string QUESO::EnvOptionsValues::m_subDisplayFileName
unsigned int QUESO::EnvOptionsValues::m_syncVerbosity

The documentation for this class was generated from the following files:

Generated on Tue Nov 29 2016 10:53:13 for queso-0.56.0 by  doxygen 1.8.5