#include <Teuchos_RawMPITraits.hpp>
Static Public Member Functions | |
| int | adjustCount (const int count) |
| Return the adjusted cout of items. | |
| MPI_Datatype | type () |
| Return the raw MPI data type of the template argument. | |
| MPI_Op | sumOp () |
| Return the MPI_Op object for a sum reduction. | |
| MPI_Op | maxOp () |
| Return the MPI_Op object for a max reduction. | |
| MPI_Op | minOp () |
| Return the MPI_Op object for a min reduction. | |
A specialization of this traits class should only be created for datatypes that can be directly handled by MPI in some way. Note that this traits class assumes that the datatype T is directly composed of datatypes that MPI can directly handle. This traits interface allows for specializations to create user-defined MPI_Datatype and MPI_Op objects to be returned from their static functions.
char, int, float, and double. std::complex<T> where it is assumed that the real type T is directly handlable with MPI. ScalarTraits<T>::isComparable==true which is a compile-time boolean that can be used in template metaprogramming techniques.
Definition at line 68 of file Teuchos_RawMPITraits.hpp.
|
||||||||||
|
Return the adjusted cout of items.
Definition at line 71 of file Teuchos_RawMPITraits.hpp. |
|
|||||||||
|
Return the raw MPI data type of the template argument.
Definition at line 73 of file Teuchos_RawMPITraits.hpp. |
|
|||||||||
|
Return the MPI_Op object for a sum reduction.
Definition at line 75 of file Teuchos_RawMPITraits.hpp. |
|
|||||||||
|
Return the MPI_Op object for a max reduction.
Definition at line 77 of file Teuchos_RawMPITraits.hpp. |
|
|||||||||
|
Return the MPI_Op object for a min reduction.
Definition at line 79 of file Teuchos_RawMPITraits.hpp. |
1.3.9.1