A handle that copies a fixed number data per index. More...
#include <RedistributeDataHandles.hpp>
Public Types | |
typedef std::iterator_traits < Iter1 >::value_type | DataType |
Public Member Functions | |
FixedSizeIterCopyHandle (const Iter1 &send_begin, const Iter2 &receive_begin, std::size_t size=1) | |
Constructor. More... | |
template<class Buffer > | |
void | gather (Buffer &buffer, std::size_t i) |
template<class Buffer > | |
void | scatter (Buffer &buffer, std::size_t i, std::size_t s OPM_OPTIM_UNUSED) |
bool | fixedsize () |
std::size_t | size (std::size_t) |
A handle that copies a fixed number data per index.
It works on Iterators to allow for communicating C arrays.
Iter1 | Constant random access iterator type. |
Iter1 | Mutable random access iterator type. |
|
inline |
Constructor.
send_begin | The begin iterator for sending. |
receive_begin | The begin iterator for receiving. |