23#ifndef MPI_CONVERSION_H
24#define MPI_CONVERSION_H
35template<
typename T>
inline MPI_Datatype
MPI_Type() {
36 std::cerr <<
"(mpiconversion.h): NULL datatype returned, byte size of original is " <<
sizeof(T) << std::endl;
MPI_Datatype MPI_Type< signed char >()
MPI_Datatype MPI_Type< int >()
MPI_Datatype MPI_Type< long int >()
MPI_Datatype MPI_Type< unsigned char >()
MPI_Datatype MPI_Type< unsigned long int >()
MPI_Datatype MPI_Type< short >()
MPI_Datatype MPI_Type< unsigned short >()
MPI_Datatype MPI_Type< float >()
MPI_Datatype MPI_Type< long long int >()
MPI_Datatype MPI_Type< char >()
MPI_Datatype MPI_Type< long double >()
MPI_Datatype MPI_Type< double >()
MPI_Datatype MPI_Type< unsigned long long int >()
MPI_Datatype MPI_Type< unsigned int >()