47 #ifdef HAVE_TEUCHOS_MPI
51 getMpiOpForEReductionType (
const enum EReductionType reductionType)
53 switch (reductionType) {
61 "The given EReductionType value is invalid.");
66 #endif // HAVE_TEUCHOS_MPI
69 toString (
const EReductionType reductType)
79 (
true, std::invalid_argument,
"Teuchos::toString(EReductionType): "
80 "Invalid EReductionType value " << reductType <<
". Valid values "
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.
Declaration of Teuchos::EReductionType enum, and related functions.
Standard test and throw macros.