35 #ifndef NEKTAR_LIB_UTILITIES_COMMDATATYPE_H 36 #define NEKTAR_LIB_UTILITIES_COMMDATATYPE_H 38 #include <boost/core/ignore_unused.hpp> 48 namespace LibUtilities
54 #elif NEKTAR_USING_PETSC 58 namespace LibUtilities
68 namespace LibUtilities
89 template <
typename Dim,
typename DataType>
class Array;
91 namespace LibUtilities
110 boost::ignore_unused(val);
135 static size_t GetCount(
const std::vector<elemT> &val)
162 return val.num_elements();
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 CommDataType & GetDataType()
static size_t GetCount(const std::vector< elemT > &val)
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 size_t GetCount(const Array< OneD, elemT > &val)
static void * GetPointer(T &val)
static CommDataType & GetDataType()