28 #include <queso/config_queso.h> 
   29 #include <queso/asserts.h> 
   31 #ifdef QUESO_HAVE_GLPK 
   32 #define QUESO_HAS_GLPK 
   35 #ifdef QUESO_HAVE_HDF5 
   36 #define QUESO_HAS_HDF5 
   39 #ifdef QUESO_HAVE_TRILINOS 
   40 #define QUESO_HAS_TRILINOS 
   51 #define QUESO_EXPECTS_LN_LIKELIHOOD_INSTEAD_OF_MINUS_2_LN 
   58 #include <queso/asserts.h>  
   65 #define ML_CODE_HAS_NEW_RESTART_CAPABILITY 
   66 #undef  QUESO_MEMORY_DEBUGGING 
   67 #undef  UQ_DEBUG_PARALLEL_RUNS_IN_DETAIL 
   68 #undef  UQ_ALSO_COMPUTE_MDFS_WITHOUT_KDE 
   69 #define QUESO_CLASSES_INSTANTIATE_NEW_MAPS 
   70 #undef  QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS 
   71 #undef  QUESO_COMPUTES_EXTRA_POST_PROCESSING_STATISTICS 
   72 #define QUESO_USES_NEW_RNG_CLASS 
   89 #define UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT "m" 
   90 #define UQ_FILE_EXTENSION_FOR_HDF_FORMAT    "h5" 
  178 #define UQ_RC_MACRO(macroIRc,givenRank,where,what,retValue) \ 
  180     int macroRank = givenRank;                              \ 
  181     if (macroRank < 0) {                                    \ 
  182       macroRank = QUESO::MyWorldfullRank();                 \ 
  184     std::cerr << "UQ RC ERROR"                              \ 
  185               << ", rank "  << macroRank                    \ 
  186               << ", in "    << where                        \ 
  188               << ", iRc = " << macroIRc                     \ 
  193 #define UQ_TEST_MACRO(test,givenRank,where,what,retValue) \ 
  195     int macroRank = givenRank;                            \ 
  196     if (macroRank < 0) {                                  \ 
  197       macroRank = QUESO::MyWorldfullRank();               \ 
  199     std::cerr << "UQ TEST ERROR"                          \ 
  200               << ", rank " << macroRank                   \ 
  201               << ", in "   << where                       \ 
  207 #define UQ_FATAL_RC_MACRO(macroIRc,givenRank,where,what) \ 
  209     int macroRank = givenRank;                           \ 
  210     if (macroRank < 0) {                                 \ 
  211       macroRank = QUESO::MyWorldfullRank();              \ 
  213     std::cerr << "UQ RC FATAL ERROR"                     \ 
  214               << ", rank "  << macroRank                 \ 
  215               << ", in "    << where                     \ 
  217               << ", iRC = " << macroIRc                  \ 
  223 #define UQ_FATAL_TEST_MACRO(test,givenRank,where,what)  \ 
  225     int macroRank = givenRank;                          \ 
  226     if (macroRank < 0) {                                \ 
  227       macroRank = QUESO::MyWorldfullRank();             \ 
  229     std::cerr << "UQ TEST FATAL ERROR"                  \ 
  230               << ", rank "  << macroRank                \ 
  231               << ", in "    << where                    \ 
  240 #endif // UQ_DEFINES_H 
unsigned int m_checkingLevel
Checking level. 
 
void copy(const EnvOptionsValues &src)
Makes an exact copy of an existing EnvOptionsValues instance. 
 
EnvOptionsValues()
Default constructor. 
 
const int UQ_FAILED_READING_FILE_RC
 
unsigned int m_displayVerbosity
Verbosity. 
 
unsigned int m_numDebugParams
Number of debug parameters. 
 
const int UQ_INVALID_SPACE_COMPONENT_ID_RC
 
const int UQ_MATRIX_IS_NOT_POS_DEFINITE_RC
 
std::string m_subDisplayFileName
Output filename for sub-screen writing. 
 
const int UQ_UNAVAILABLE_RANK
 
std::set< unsigned int > m_subDisplayAllowedSet
Sub-environments that will write to output. 
 
const int UQ_INVALID_QOI_SPEC_RC
 
EnvOptionsValues & operator=(const EnvOptionsValues &rhs)
Operator for copying the options of an environment. 
 
const int UQ_MATRIX_SVD_FAILED_RC
 
unsigned int m_syncVerbosity
Synchronized verbosity. 
 
const int UQ_INCOMPLETE_IMPLEMENTATION_RC
 
std::string m_rngType
Type of the random number generator. 
 
std::vector< double > m_debugParams
Debug parameters. 
 
std::string m_platformName
Platform name. 
 
const int UQ_INVALID_PARAMETER_SPEC_RC
 
std::string m_identifyingString
Identifying string. 
 
const int UQ_FAILED_TO_OPEN_FILE_RC
 
const int UQ_INVALID_INTERNAL_STATE_RC
 
bool m_subDisplayAllowAll
Allows (or not) all sub-environments to write to output file. 
 
~EnvOptionsValues()
Destructor. 
 
bool m_subDisplayAllowInter0
Allows (or not) all inter0 nodes to write to output file. 
 
This class provides a suite options one can pass to a QUESO environment. 
 
int m_seed
Seed of the random number generator. 
 
const int UQ_INVALID_OBSERVABLE_SPEC_RC
 
const int UQ_INVALID_INTERNAL_RESULT_RC
 
unsigned int m_numSubEnvironments
Number of sub-environments. 
 
int MyWorldfullRank()
Returns the rank of the calling process in the communicator.