Traits to determine MPI_DATATYPE from a C++ datatype. More...
#include <mpi.h>#include <complex>
Go to the source code of this file.
Classes | |
| class | par::Mpi_datatype< std::complex< T > > |
| class | par::Mpi_pairtype< T1, T2 > |
| class | par::Mpi_datatype< bool > |
| A template specialization of the abstract class Mpi_datatype. This can be used for communicating messages of type "bool". More... | |
Namespaces | |
| namespace | par |
| Collection of Generic Parallel Functions: Sorting, Partitioning, Searching,... | |
Macros | |
| #define | HS_MPIDATATYPE(CTYPE, MPITYPE) |
| #define | HS_MPIPAIRDATATYPE(CTYPE1, CTYPE2, MPITYPE) |
Traits to determine MPI_DATATYPE from a C++ datatype.
Traits to determine MPI_DATATYPE from a C++ datatype. For non standard C++ datatypes (like classes), we will need to define additional classes. An example is given for the case of the std. complex variable. Additional classes can be added as required.
Definition in file dtypes.h.
| #define HS_MPIDATATYPE | ( | CTYPE, | |
| MPITYPE | |||
| ) |