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

Colored partition set with entities split on several patches using METIS. More...

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

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

Public Member Functions

 MetisColored (const EntitySet &entity_set, std::size_t patches=0, std::size_t halo_distance=all_interior_halo_region)
 Construct a Metis colored entiy 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::MetisColored< EntitySet >

Colored 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. Labels are colored so the halo region of every entity in the set is interior.

Template Parameters
ESGrid view to partition

Constructor & Destructor Documentation

◆ MetisColored()

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

Construct a Metis colored entiy set partition.

Parameters
entity_setThe entity set to operate on
patchesNumber of patches to have in total
halo_distanceDistance another entity in the same label set is considered connected

Member Function Documentation

◆ update()

template<Dune::Concept::GridView EntitySet>
void Dune::PDELab::EntitySetPartition::MetisColored< 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: