#include <dune/grid/geometrygrid/datahandle.hh>
|
typedef WrappedHandle::DataType | DataType |
| data type of data to communicate
|
|
|
| CommDataHandle (const Grid &grid, WrappedHandle &handle) |
|
bool | contains (int dim, int codim) const |
|
bool | fixedSize (int dim, int codim) const |
|
template<class HostEntity > |
size_t | size (const HostEntity &hostEntity) const |
|
template<class MessageBuffer , class HostEntity > |
void | gather (MessageBuffer &buffer, const HostEntity &hostEntity) const |
|
template<class MessageBuffer , class HostEntity > |
void | scatter (MessageBuffer &buffer, const HostEntity &hostEntity, size_t size_) |
|
size_t | size (const EntityType &e) const |
| how many objects of type DataType have to be sent for a given entity
|
|
void | gather (MessageBufferImp &buff, const EntityType &e) const |
| pack data from user to message buffer
|
|
void | scatter (MessageBufferImp &buff, const EntityType &e, size_t n) |
| unpack data from message buffer to user.
|
|
◆ DataType
data type of data to communicate
◆ CommDataHandle()
template<class
Grid , class WrappedHandle >
◆ contains()
template<class
Grid , class WrappedHandle >
◆ fixedSize()
template<class
Grid , class WrappedHandle >
◆ gather() [1/2]
template<class
Grid , class WrappedHandle >
template<class MessageBuffer , class HostEntity >
◆ gather() [2/2]
pack data from user to message buffer
- Parameters
-
buff | message buffer provided by the grid |
e | entity for which date should be packed to buffer |
◆ scatter() [1/2]
template<class
Grid , class WrappedHandle >
template<class MessageBuffer , class HostEntity >
◆ scatter() [2/2]
unpack data from message buffer to user.
- Parameters
-
buff | message buffer provided by the grid. This is not const, because the buffer has an internal iterator that gets advanced when reading from the buffer. |
e | entity for which date should be unpacked from buffer |
n | number of data written to buffer for this entity before |
◆ size() [1/2]
how many objects of type DataType have to be sent for a given entity
- Note
- Only the sender side needs to know this size.
- Parameters
-
e | entity for which the size should be determined |
◆ size() [2/2]
template<class
Grid , class WrappedHandle >
template<class HostEntity >
The documentation for this class was generated from the following file: