A handle that copies a fixed number data per index.
More...
#include <RedistributeDataHandles.hpp>
|
typedef std::iterator_traits< Iter1 >::value_type | DataType |
|
|
| 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) |
|
template<class Iter1, class Iter2 = Iter1>
class Opm::FixedSizeIterCopyHandle< Iter1, Iter2 >
A handle that copies a fixed number data per index.
It works on Iterators to allow for communicating C arrays.
- Template Parameters
-
Iter1 | Constant random access iterator type. |
Iter1 | Mutable random access iterator type. |
◆ FixedSizeIterCopyHandle()
template<class Iter1 , class Iter2 = Iter1>
Constructor.
- Parameters
-
send_begin | The begin iterator for sending. |
receive_begin | The begin iterator for receiving. |
The documentation for this class was generated from the following file: