|
Anasazi Version of the Day
|
#include <Tsqr_MpiDatatype.hpp>
Public Member Functions | |
| MpiDatatype () | |
| MpiDatatype (const MpiDatatype &rhs) | |
| MpiDatatype & | operator= (const MpiDatatype &rhs) |
| ~MpiDatatype () | |
Implements a map from C++ datatype to MPI_Datatype.
MpiDatatype manages type creation and freeing (via MPI_Type_free()) automatically, for types for which it's necessary. For other types, MpiDatatype::get() just returns the predefined constant (e.g., MPI_DOUBLE or MPI_INT). Note also that MpiDatatype< Datum > has only been defined for certain types of Datum (see MpiDatatype.cpp for which ones).
Definition at line 27 of file Tsqr_MpiDatatype.hpp.
| TSQR::MPI::MpiDatatype< Datum >::MpiDatatype | ( | ) |
Constructor, specialized by hand for typical scalar data types.
| TSQR::MPI::MpiDatatype< Datum >::MpiDatatype | ( | const MpiDatatype< Datum > & | rhs | ) | [inline] |
Copy constructor
Definition at line 35 of file Tsqr_MpiDatatype.hpp.
| TSQR::MPI::MpiDatatype< Datum >::~MpiDatatype | ( | ) | [inline] |
Destructor
Definition at line 59 of file Tsqr_MpiDatatype.hpp.
| MpiDatatype& TSQR::MPI::MpiDatatype< Datum >::operator= | ( | const MpiDatatype< Datum > & | rhs | ) | [inline] |
Assignment operator
Definition at line 42 of file Tsqr_MpiDatatype.hpp.
1.7.4