36 #ifndef NEKTAR_LIB_UTILITIES_COMMDATATYPE_H
37 #define NEKTAR_LIB_UTILITIES_COMMDATATYPE_H
47 namespace LibUtilities
57 namespace LibUtilities
77 template <
typename Dim,
typename DataType>
class Array;
79 namespace LibUtilities
149 return val.num_elements();
static int GetCount(const Array< OneD, elemT > &val)
static void * GetPointer(std::vector< elemT > &val)
int CommDataTypeGetSize(CommDataType dt)
Return the size in bytes of a data type dt.
static int GetCount(const T &val)
static const void * GetPointer(const std::vector< elemT > &val)
static int GetCount(const std::vector< elemT > &val)
static CommDataType & GetDataType()
static const void * GetPointer(const Array< OneD, elemT > &val)
static const void * GetPointer(const T &val)
#define LIB_UTILITIES_EXPORT
static CommDataType & GetDataType()
static void * GetPointer(Array< OneD, elemT > &val)
static void * GetPointer(T &val)
static CommDataType & GetDataType()