5#ifndef OPENFPM_PDATA_SUPPORT_HPP
6#define OPENFPM_PDATA_SUPPORT_HPP
8#include <Space/Shape/Point.hpp>
9#include <Vector/vector_dist.hpp>
20 size_t referencePointKey;
28 :referencePointKey(referencePoint),
32 Support(
const size_t &referencePoint,
const std::vector<size_t> &keys)
33 :referencePointKey(referencePoint),
34 keys(keys.begin(), keys.end())
38 : referencePointKey(other.referencePointKey),
47 const size_t getReferencePointKey()
const
49 return referencePointKey;
67 static bool packRequest()
72 template<
int ... prp>
inline void packRequest(
size_t & req)
const
74 req +=
sizeof(size_t);
75 keys.packRequest(req);
81 keys.template pack<prp ...>(mem,sts);
87 keys.template unpack<prp ...>(mem,ps);
static void pack(ExtPreAlloc< Mem >, const T &obj)
Error, no implementation.
static void unpack(ExtPreAlloc< Mem >, T &obj)
Error, no implementation.
Implementation of 1-D std::vector like structure.