template<typename DATA_TYPE>
eckit::mpi::Buffer struct

Buffer handles colleciton of vector pieces into a larger vector.

Derived classes

template<typename DATA_TYPE, int SHAPE>
struct atlas::mpi::Buffer
Buffer<DATA_TYPE,SHAPE>
template<typename DATA_TYPE>
struct atlas::mpi::Buffer<DATA_TYPE, 1>

Public types

using value_type = DATA_TYPE
using iterator = std::vector<DATA_TYPE>::iterator

Constructors, destructors, conversion operators

Buffer(size_t size)

Public functions

auto begin() -> iterator
auto end() -> iterator

Public variables

int cnt
std::vector<int> counts
std::vector<int> displs
std::vector<DATA_TYPE> buffer