dune-pdelab 2.10-git
Loading...
Searching...
No Matches
Dune::PDELab::EntitySetPartition::Identity< ES > Class Template Reference

Entity set partition with all entities assigned to one patch (i.e. no partitioning) More...

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

Public Types

using EntitySet = ES
 Uderlying entity set.
 
using Element = typename EntitySet::template Codim< 0 >::Entity
 Entity being partitioned.
 
using PatchSet = IteratorRange< typename EntitySet::template Codim< 0 >::Iterator >
 Range of entities grouped by a patch.
 
using LabelSet = std::array< PatchSet, 1 >
 Range of patches grouped by a label.
 
using PartitionSet = std::array< LabelSet, 1 >
 Range of labels.
 

Public Member Functions

 Identity (const EntitySet &entity_set)
 Construct Identity partition from a entity set.
 
EntitySet entitySet () const noexcept
 Underlying entity set.
 
auto begin () const
 begin of the partition set range
 
auto end () const
 end of the partition set range
 
void update (EntitySet entity_set)
 Update the partition with a new entity set.
 

Static Public Member Functions

static constexpr auto haloRegion (const Dune::Concept::Entity auto &entity)
 Halo region of the partition for an entity.
 

Detailed Description

template<Dune::Concept::GridView ES>
class Dune::PDELab::EntitySetPartition::Identity< ES >

Entity set partition with all entities assigned to one patch (i.e. no partitioning)

This is the simplest partition on an entity set, but with the interface of a EntitySetPartition.

Template Parameters
ESEntity set being partitioned

Member Typedef Documentation

◆ Element

using Dune::PDELab::EntitySetPartition::Identity< ES >::Element = typename EntitySet::template Codim<0>::Entity

Entity being partitioned.

◆ EntitySet

using Dune::PDELab::EntitySetPartition::Identity< ES >::EntitySet = ES

Uderlying entity set.

◆ LabelSet

Range of patches grouped by a label.

◆ PartitionSet

Range of labels.

◆ PatchSet

using Dune::PDELab::EntitySetPartition::Identity< ES >::PatchSet = IteratorRange<typename EntitySet::template Codim<0>::Iterator>

Range of entities grouped by a patch.

Constructor & Destructor Documentation

◆ Identity()

Dune::PDELab::EntitySetPartition::Identity< ES >::Identity ( const EntitySet entity_set)
inlineexplicit

Construct Identity partition from a entity set.

Member Function Documentation

◆ begin()

auto Dune::PDELab::EntitySetPartition::Identity< ES >::begin ( ) const
inline

begin of the partition set range

◆ end()

auto Dune::PDELab::EntitySetPartition::Identity< ES >::end ( ) const
inline

end of the partition set range

◆ entitySet()

EntitySet Dune::PDELab::EntitySetPartition::Identity< ES >::entitySet ( ) const
inlinenoexcept

Underlying entity set.

◆ haloRegion()

static constexpr auto Dune::PDELab::EntitySetPartition::Identity< ES >::haloRegion ( const Dune::Concept::Entity auto &  entity)
inlinestaticconstexpr

Halo region of the partition for an entity.

◆ update()

void Dune::PDELab::EntitySetPartition::Identity< ES >::update ( EntitySet  entity_set)
inline

Update the partition with a new entity set.


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