DUNE PDELab (git)
Dune::PDELab::GFSNeighborDataHandle< GFS, RankIndex > Class Template Reference
Data handle for collecting set of neighboring MPI ranks. More...
#include <dune/pdelab/gridfunctionspace/genericdatahandle.hh>
Public Member Functions | |
size_t | size (const EntityType &e) const |
how many objects of type DataType have to be sent for a given entity More... | |
void | gather (MessageBufferImp &buff, const EntityType &e) const |
pack data from user to message buffer More... | |
void | scatter (MessageBufferImp &buff, const EntityType &e, size_t n) |
unpack data from message buffer to user. More... | |
Detailed Description
template<typename GFS, typename RankIndex>
class Dune::PDELab::GFSNeighborDataHandle< GFS, RankIndex >
class Dune::PDELab::GFSNeighborDataHandle< GFS, RankIndex >
Data handle for collecting set of neighboring MPI ranks.
This data handle collects the MPI ranks of all processes that share grid entities with attached DOFs.
- Note
- In order to work correctly, the data handle must be communicated on the Dune::All_All_Interface.
Member Function Documentation
◆ gather()
|
inlineinherited |
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()
|
inlineinherited |
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()
|
inlineinherited |
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
The documentation for this class was generated from the following file:
- dune/pdelab/gridfunctionspace/genericdatahandle.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)