A simple struct to return the MPIDatatype based on the user provided primitive data type (e.g., int, double, char, etc)
More...
#include <MPITypes.h>
template<typename T>
struct dftefe::utils::mpi::Types< T >
A simple struct to return the MPIDatatype based on the user provided primitive data type (e.g., int, double, char, etc)
- Template Parameters
-
T | C++ primitive datatype, such as int, double, char, etc. |
- Note
- The template parameter T cannot be std::string, as string is not a standalone datatype supported in MPI.
-
: For efficient use of memory Types<T> has only a static member function Types<T>::getMPIDatatype() that returns the appropriate mpi::MPIDatatype based on the template parameter T. Further, for efficiency (compile time evaluation), we specialize the Types<T> class for various primitive C++ datatypes that are supported
◆ getMPIDatatype()
The documentation for this struct was generated from the following files: