GatherScatter functor for marking shared DOFs.
More...
#include <dune/pdelab/gridfunctionspace/genericdatahandle.hh>
|
template<typename MessageBuffer , typename Entity , typename LocalView > |
bool | gather (MessageBuffer &buff, const Entity &e, LocalView &local_view) const |
|
template<typename MessageBuffer , typename Entity , typename LocalView > |
bool | scatter (MessageBuffer &buff, std::size_t n, const Entity &e, LocalView &local_view) const |
|
GatherScatter functor for marking shared DOFs.
This functor will mark all DOFs that exist on multiple processes.
- Note
- In order to work correctly, the data handle must be communicated on the Dune::All_All_Interface and the result vector must be initialized with false.
§ gather()
template<typename MessageBuffer , typename Entity , typename LocalView >
bool Dune::PDELab::SharedDOFGatherScatter::gather |
( |
MessageBuffer & |
buff, |
|
|
const Entity & |
e, |
|
|
LocalView & |
local_view |
|
) |
| const |
|
inline |
§ scatter()
template<typename MessageBuffer , typename Entity , typename LocalView >
bool Dune::PDELab::SharedDOFGatherScatter::scatter |
( |
MessageBuffer & |
buff, |
|
|
std::size_t |
n, |
|
|
const Entity & |
e, |
|
|
LocalView & |
local_view |
|
) |
| const |
|
inline |
The documentation for this struct was generated from the following file: