dune-pdelab 2.10-git
Loading...
Searching...
No Matches
Dune::PDELab::EntitySetPartition::Metis< EntitySet > Struct Template Reference

Partition set with entities split on several patches using METIS. More...

#include <dune/pdelab/common/partition/metis.hh>

Inheritance diagram for Dune::PDELab::EntitySetPartition::Metis< EntitySet >:
Inheritance graph

Public Member Functions

 Metis (const EntitySet &entity_set, std::size_t patches=0, std::size_t halo_distance=all_interior_halo_region)
 Construct a Metis uncolored entity set partition.
 
void update (const EntitySet &entity_set)
 Update the partition with a new entity set.
 

Detailed Description

template<Dune::Concept::GridView EntitySet>
struct Dune::PDELab::EntitySetPartition::Metis< EntitySet >

Partition set with entities split on several patches using METIS.

This is a partition on an entity set where entities seeds of the grid view are split using METIS and assigned to different patches of one label set. The patches are neighboring each other, thus, inducing a halo overlap in some entities of the partition.

Template Parameters
ESGrid view to partition

Constructor & Destructor Documentation

◆ Metis()

template<Dune::Concept::GridView EntitySet>
Dune::PDELab::EntitySetPartition::Metis< EntitySet >::Metis ( const EntitySet &  entity_set,
std::size_t  patches = 0,
std::size_t  halo_distance = all_interior_halo_region 
)
inlineexplicit

Construct a Metis uncolored entity set partition.

Parameters
entity_setThe entity set to operate on
patchesNumber of patches to have in total (0 means automatic choice)
halo_distanceNeighbor distance where another entity in the same label set is considered connected

Member Function Documentation

◆ update()

template<Dune::Concept::GridView EntitySet>
void Dune::PDELab::EntitySetPartition::Metis< EntitySet >::update ( const EntitySet &  entity_set)
inline

Update the partition with a new entity set.


The documentation for this struct was generated from the following file: