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

Partition set with entities evenly split on several patches. More...

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

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

Public Member Functions

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

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 of one label set. The patches are neighboring each other, thus, inducing a halo overlap in some entities of the partition.

Template Parameters
EntitySetGrid view to partition

Constructor & Destructor Documentation

◆ IteratorSplit()

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

Construct a IteratorSplit 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::IteratorSplit< 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: