15 #ifdef HAVE_TEUCHOS_MPI
19 getMpiOpForEReductionType (
const enum EReductionType reductionType)
21 switch (reductionType) {
29 "The given EReductionType value is invalid.");
34 #endif // HAVE_TEUCHOS_MPI
47 (
true, std::invalid_argument,
"Teuchos::toString(EReductionType): "
48 "Invalid EReductionType value " << reductType <<
". Valid values "
EReductionType
Predefined reduction operations that Teuchos::Comm understands.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.
std::string toString(const HashSet< Key > &h)
Declaration of Teuchos::EReductionType enum, and related functions.
Standard test and throw macros.