|
dune-pdelab 2.10-git
|
Loading...
Searching...
No Matches
Dune::PDELab::DisjointPartitioningGatherScatter< RankIndex > Class Template Reference
GatherScatter functor for creating a disjoint DOF partitioning. More...
#include <dune/pdelab/gridfunctionspace/genericdatahandle.hh>
Inheritance diagram for Dune::PDELab::DisjointPartitioningGatherScatter< RankIndex >:

Public Member Functions | |
| 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. | |
Detailed Description
template<typename RankIndex>
class Dune::PDELab::DisjointPartitioningGatherScatter< 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.
Constructor & Destructor Documentation
◆ DisjointPartitioningGatherScatter()
template<typename RankIndex >
|
inline |
Create a DisjointPartitioningGatherScatter object.
- Parameters
-
rank The MPI rank of the current process.
Member Function Documentation
◆ gather()
template<typename RankIndex >
template<typename MessageBuffer , typename Entity , typename LocalView >
|
inline |
◆ scatter()
template<typename RankIndex >
template<typename MessageBuffer , typename Entity , typename LocalView >
|
inline |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8