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

Colored partition set with entities evenly split on several patches. More...

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

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

Public Member Functions

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

Colored partition set with entities evenly split on several patches.

This is a naive partition on an entity set where iterators of the grid view are evenly split and assigned to different patches. Labels are colored so the halo region of every entity in the set is interior.

Template Parameters
EntitySetEntity set to partition

Constructor & Destructor Documentation

◆ IteratorSplitColored()

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

Construct a IteratorSplit colored entity set partition.

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

Member Function Documentation

◆ update()

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