|
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 |
|
| DisjointPartitioningGatherScatter (RankIndex rank) |
| Create a DisjointPartitioningGatherScatter object. More...
|
|
template<typename RankIndex>
class Dune::PDELab::DisjointPartitioningGatherScatter< RankIndex >
GatherScatter functor for creating a disjoint DOF partitioning.
This functor will associate each DOF with a unique rank, creating a nonoverlapping partitioning of the unknowns. The rank for a DOF is chosen by finding the lowest rank on which the associated grid entity belongs to either the interior or the border partition.
- Note
- In order to work correctly, the data handle must be communicated on the Dune::InteriorBorder_All_Interface and the result vector must be initialized with the MPI rank value.