DUNE PDELab (git)

Dune::PDELab::DisjointPartitioningGatherScatter< RankIndex > Class Template Reference

GatherScatter functor for creating a disjoint DOF partitioning. More...

#include <dune/pdelab/gridfunctionspace/genericdatahandle.hh>

Public Member Functions

 DisjointPartitioningGatherScatter (RankIndex rank)
 Create a DisjointPartitioningGatherScatter object. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DisjointPartitioningGatherScatter()

template<typename RankIndex >
Dune::PDELab::DisjointPartitioningGatherScatter< RankIndex >::DisjointPartitioningGatherScatter ( RankIndex  rank)
inline

Create a DisjointPartitioningGatherScatter object.

Parameters
rankThe MPI rank of the current process.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 24, 23:30, 2024)