35inline size_t UserDataLB<D>::fixedSize()
const {
40inline size_t UserDataLB<D>::size(
const uint32_t e)
const {
42 return sizeof(double);
46inline void UserDataLB<D>::move(
const uint32_t from,
const uint32_t to) {
47 data[to] = data[from];
52inline void UserDataLB<D>::gather(Buffer& buff,
const uint32_t e) {
58inline void UserDataLB<D>::scatter(Buffer& buff,
const uint32_t e) {
63inline void UserDataLB<D>::assign(uint32_t stride, uint32_t length) {
65 typename Data::iterator first = dataCopy.begin() + stride;
66 typename Data::iterator last = first + length;
67 data.assign(first,last);
68#if defined(__INTEL_COMPILER)
72 first = dataCopy.end();
73 last = dataCopy.end();
77inline void UserDataLB<D>::resize(uint32_t newSize) {
82inline void UserDataLB<D>::resizeGhost(uint32_t newSize) {
83 ghostdata.resize(newSize);
87inline void UserDataLB<D>::shrink() {
88#if defined(__INTEL_COMPILER)
95inline UserDataLB<D>::UserDataLB(
Data& data_,
Data& ghostdata_) : data(data_), ghostdata(ghostdata_){}
98inline UserDataLB<D>::~UserDataLB() {}
#define BITPIT_UNUSED(variable)