15#ifdef HAVE_TEUCHOS_MPI
19getMpiOpForEReductionType (
const enum EReductionType reductionType)
21 switch (reductionType) {
29 "The given EReductionType value is invalid.");
37toString (
const EReductionType reductType)
47 (
true, std::invalid_argument,
"Teuchos::toString(EReductionType): "
48 "Invalid EReductionType value " << reductType <<
". Valid values "
Declaration of Teuchos::EReductionType enum, and related functions.
Standard test and throw macros.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.
Namespace of implementation details.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...