template<class Mapper, class Vector, int entityCodim, class ScatterOperator, class DataT = typename Vector::value_type>
class Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, ScatterOperator, DataT >
A data handle class to exchange entries of a vector.
template<class Mapper , class Vector , int entityCodim, class ScatterOperator , class DataT = typename Vector::value_type>
template<class MessageBuffer , class Entity >
void Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, ScatterOperator, DataT >::gather |
( |
MessageBuffer & |
buff, |
|
|
const Entity & |
entity |
|
) |
| const |
|
inline |
pack data from user to message buffer
template<class Mapper , class Vector , int entityCodim, class ScatterOperator , class DataT = typename Vector::value_type>
template<class MessageBuffer , class Entity >
void Dumux::VectorCommDataHandle< Mapper, Vector, entityCodim, ScatterOperator, DataT >::scatter |
( |
MessageBuffer & |
buff, |
|
|
const Entity & |
entity, |
|
|
std::size_t |
n |
|
) |
| |
|
inline |
unpack data from message buffer to user
- Note
- n is the number of objects sent by the sender