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 
   52 #define QUESO_EXPECTS_LN_LIKELIHOOD_INSTEAD_OF_MINUS_2_LN 
   59 #define GSL_RANGE_CHECK_OFF 
   71 #include <queso/asserts.h>  
   78 #define ML_CODE_HAS_NEW_RESTART_CAPABILITY 
   79 #undef  QUESO_MEMORY_DEBUGGING 
   80 #undef  UQ_DEBUG_PARALLEL_RUNS_IN_DETAIL 
   81 #undef  UQ_ALSO_COMPUTE_MDFS_WITHOUT_KDE 
   82 #define QUESO_CLASSES_INSTANTIATE_NEW_MAPS 
   83 #undef  QUESO_USES_SEQUENCE_STATISTICAL_OPTIONS 
   84 #undef  QUESO_COMPUTES_EXTRA_POST_PROCESSING_STATISTICS 
   85 #define QUESO_USES_NEW_RNG_CLASS 
  102 #define UQ_FILE_EXTENSION_FOR_MATLAB_FORMAT "m" 
  103 #define UQ_FILE_EXTENSION_FOR_TXT_FORMAT    "txt" 
  104 #define UQ_FILE_EXTENSION_FOR_HDF_FORMAT    "h5" 
  119 #define queso_do_once(do_this)             \ 
  121     static bool did_this_already = false;  \ 
  122     if (!did_this_already) {               \ 
  123       did_this_already = true;             \ 
  129 #define queso_warning(message)         \ 
  130   queso_do_once(std::cerr << message  \ 
  131                 << __FILE__ << ", line " << __LINE__ << ", compiled " << __DATE__ << " at " << __TIME__ << " ***" << std::endl;) 
  134 #define queso_deprecated()  \ 
  135   queso_warning("*** Warning, this code is deprecated and likely to be removed in future library versions:  "); 
  137 #define UQ_RC_MACRO(macroIRc,givenRank,where,what,retValue) \ 
  138   queso_deprecated();                                       \ 
  140     int macroRank = givenRank;                              \ 
  141     if (macroRank < 0) {                                    \ 
  142       macroRank = QUESO::MyWorldfullRank();                 \ 
  144     std::cerr << "UQ RC ERROR"                              \ 
  145               << ", rank "  << macroRank                    \ 
  146               << ", in "    << where                        \ 
  148               << ", iRc = " << macroIRc                     \ 
  153 #define UQ_TEST_MACRO(test,givenRank,where,what,retValue) \ 
  154   queso_deprecated();                                     \ 
  156     int macroRank = givenRank;                            \ 
  157     if (macroRank < 0) {                                  \ 
  158       macroRank = QUESO::MyWorldfullRank();               \ 
  160     std::cerr << "UQ TEST ERROR"                          \ 
  161               << ", rank " << macroRank                   \ 
  162               << ", in "   << where                       \ 
  168 #define UQ_FATAL_RC_MACRO(macroIRc,givenRank,where,what) \ 
  169   queso_deprecated();                                    \ 
  171     int macroRank = givenRank;                           \ 
  172     if (macroRank < 0) {                                 \ 
  173       macroRank = QUESO::MyWorldfullRank();              \ 
  175     std::cerr << "UQ RC FATAL ERROR"                     \ 
  176               << ", rank "  << macroRank                 \ 
  177               << ", in "    << where                     \ 
  179               << ", iRC = " << macroIRc                  \ 
  185 #define UQ_FATAL_TEST_MACRO(test,givenRank,where,what)  \ 
  186   queso_deprecated();                                   \ 
  188     int macroRank = givenRank;                          \ 
  189     if (macroRank < 0) {                                \ 
  190       macroRank = QUESO::MyWorldfullRank();             \ 
  192     std::cerr << "UQ TEST FATAL ERROR"                  \ 
  193               << ", rank "  << macroRank                \ 
  194               << ", in "    << where                    \ 
  203 #endif // UQ_DEFINES_H 
const int UQ_INCOMPLETE_IMPLEMENTATION_RC
 
const int UQ_MATRIX_IS_NOT_POS_DEFINITE_RC
 
int MyWorldfullRank()
Returns the rank of the calling process in the communicator. 
 
const int UQ_MATRIX_SVD_FAILED_RC
 
const int UQ_FAILED_TO_OPEN_FILE_RC
 
const int UQ_UNAVAILABLE_RANK
 
const int UQ_INVALID_INTERNAL_STATE_RC
 
const int UQ_FAILED_READING_FILE_RC
 
const int UQ_INVALID_SPACE_COMPONENT_ID_RC
 
const int UQ_INVALID_INTERNAL_RESULT_RC
 
const int UQ_INVALID_QOI_SPEC_RC
 
const int UQ_INVALID_OBSERVABLE_SPEC_RC
 
const int UQ_INVALID_PARAMETER_SPEC_RC