38#ifdef NEKTAR_USING_PETSC
56 MPI_Type_size(dt, &size);
58#elif NEKTAR_USING_PETSC
64 return sizeof(unsigned);
68 return sizeof(
unsigned long);
70 return sizeof(
long long);
72 return sizeof(
unsigned long long);
76 return sizeof(double);
78 return sizeof(
long double);
88 return sizeof(unsigned);
92 return sizeof(
unsigned long);
94 return sizeof(
long long);
96 return sizeof(
unsigned long long);
100 return sizeof(double);
102 return sizeof(
long double);
104 ASSERTL0(
false,
"Unrecognised datatype!");
#define MPI_UNSIGNED_LONG_LONG
#define MPI_UNSIGNED_LONG
#define ASSERTL0(condition, msg)
static CommDataType & GetDataType()
unsigned int CommDataType
int CommDataTypeGetSize(CommDataType dt)
Return the size in bytes of a data type dt.