Class template Dune::GDT::DisjointPartitioningGatherScatter¶
-
template<typename RankIndex>
class Dune::GDT::DisjointPartitioningGatherScatter¶ 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.
-
template<>
Dune::GDT::DisjointPartitioningGatherScatter::DisjointPartitioningGatherScatter<RankIndex>(RankIndex rank)¶ Create a DisjointPartitioningGatherScatter object.
:param rank: The MPI rank of the current process.
-
const RankIndex Dune::GDT::DisjointPartitioningGatherScatter::rank_¶
No documentation provided.
-
template<typename MessageBuffer, typename Entity, typename LocalView>
bool Dune::GDT::DisjointPartitioningGatherScatter::gather(MessageBuffer &buff, const Entity&, LocalView&) const¶ No documentation provided.
-
template<typename MessageBuffer, typename Entity, typename LocalView>
bool Dune::GDT::DisjointPartitioningGatherScatter::scatter(MessageBuffer &buff, std::size_t, const Entity &e, LocalView &local_view) const¶ No documentation provided.