dune-pdelab 2.9
Loading...
Searching...
No Matches
Dune::PDELab::PartitionViewEntitySetIndexSet< GV, Partitions::All > Class Template Reference

#include <dune/pdelab/common/partitionviewentityset.hh>

Inheritance diagram for Dune::PDELab::PartitionViewEntitySetIndexSet< GV, Partitions::All >:
Inheritance graph

Public Types

using Traits = PartitionViewEntitySetTraits< GV, P >
 
using Index = typename Traits::Index
 
using Partitions = typename Traits::Partitions
 
using size_type = typename Traits::size_type
 
using dim_type = typename Traits::dim_type
 
using CodimMask = typename Traits::CodimMask
 
using Grid = typename Traits::Grid
 
using GridView = typename Traits::GridView
 
using BaseIndexSet = typename Traits::BaseIndexSet
 
using Types = typename Traits::Types
 
using IndexType = Index
 
using Codim = typename Traits::template Codim< codim >
 

Public Member Functions

template<typename E >
Index index (const E &e) const
 
template<int cc>
Index index (const typename Traits::template Codim< cc >::Entity &e) const
 
template<typename E >
Index uniqueIndex (const E &e) const
 
template<int cc>
Index subIndex (const typename Traits::template Codim< cc >::Entity &e, size_type i, dim_type codim) const
 
template<typename E >
Index subIndex (const E &e, size_type i, dim_type codim) const
 
template<typename E >
Index uniqueSubIndex (const E &e, size_type i, dim_type codim) const
 
 PartitionViewEntitySetIndexSet (const GV &gv, CodimMask wanted_codims, bool initialize=true)
 
const BaseIndexSetbaseIndexSet () const
 
template<typename Entity >
bool contains (const Entity &e) const
 
bool contains (dim_type codim) const
 
bool contains (const GeometryType &gt) const
 
size_type size (GeometryType gt) const
 
size_type size (dim_type codim) const
 
Types types (dim_type codim) const
 
Types types () const
 
const GridViewgridView () const
 
bool needsUpdate () const
 

Static Public Member Functions

static constexpr Index invalidIndex ()
 

Static Public Attributes

static const dim_type dimension
 

Protected Member Functions

void reset ()
 
void addCodim (dim_type codim)
 
void removeCodim (dim_type codim)
 

Protected Attributes

GV _gv
 
bool _needs_update
 
CodimMask _wanted_codims
 
std::bitset< GlobalGeometryTypeIndex::size(GV::dimension)> _active_geometry_types
 
CodimMask _active_codims
 
std::array< size_type, GlobalGeometryTypeIndex::size(GV::dimension)+1 > _gt_offsets
 

Member Typedef Documentation

◆ BaseIndexSet

◆ Codim

using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::Codim = typename Traits::template Codim<codim>
inherited

◆ CodimMask

template<typename GV >
using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::CodimMask = typename Traits::CodimMask

◆ dim_type

template<typename GV >
using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::dim_type = typename Traits::dim_type

◆ Grid

◆ GridView

◆ Index

template<typename GV >
using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::Index = typename Traits::Index

◆ IndexType

◆ Partitions

template<typename GV >
using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::Partitions = typename Traits::Partitions

◆ size_type

template<typename GV >
using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::size_type = typename Traits::size_type

◆ Traits

template<typename GV >
using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::Traits = PartitionViewEntitySetTraits<GV,P>

◆ Types

Constructor & Destructor Documentation

◆ PartitionViewEntitySetIndexSet()

template<typename GV >
Dune::PDELab::PartitionViewEntitySetIndexSet< GV, Partitions::All >::PartitionViewEntitySetIndexSet ( const GV &  gv,
CodimMask  wanted_codims,
bool  initialize = true 
)
inline

Member Function Documentation

◆ addCodim()

void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::addCodim ( dim_type  codim)
inlineprotectedinherited

◆ baseIndexSet()

template<typename GV >
const BaseIndexSet & Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::baseIndexSet ( ) const
inline

◆ contains() [1/3]

template<typename GV >
template<typename Entity >
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::contains ( const Entity e) const
inline

◆ contains() [2/3]

template<typename GV >
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::contains ( const GeometryType gt) const
inline

◆ contains() [3/3]

template<typename GV >
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::contains ( dim_type  codim) const
inline

◆ gridView()

const GridView & Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::gridView ( ) const
inlineinherited

◆ index() [1/2]

template<typename GV >
template<typename E >
Index Dune::PDELab::PartitionViewEntitySetIndexSet< GV, Partitions::All >::index ( const E &  e) const
inline

◆ index() [2/2]

template<typename GV >
template<int cc>
Index Dune::PDELab::PartitionViewEntitySetIndexSet< GV, Partitions::All >::index ( const typename Traits::template Codim< cc >::Entity e) const
inline

◆ invalidIndex()

static constexpr Index Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::invalidIndex ( )
inlinestaticconstexprinherited

◆ needsUpdate()

bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::needsUpdate ( ) const
inlineinherited

◆ removeCodim()

void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::removeCodim ( dim_type  codim)
inlineprotectedinherited

◆ reset()

void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::reset ( )
inlineprotectedinherited

◆ size() [1/2]

◆ size() [2/2]

◆ subIndex() [1/2]

template<typename GV >
template<typename E >
Index Dune::PDELab::PartitionViewEntitySetIndexSet< GV, Partitions::All >::subIndex ( const E &  e,
size_type  i,
dim_type  codim 
) const
inline

◆ subIndex() [2/2]

template<typename GV >
template<int cc>
Index Dune::PDELab::PartitionViewEntitySetIndexSet< GV, Partitions::All >::subIndex ( const typename Traits::template Codim< cc >::Entity e,
size_type  i,
dim_type  codim 
) const
inline

◆ types() [1/2]

◆ types() [2/2]

Types Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::types ( dim_type  codim) const
inlineinherited

◆ uniqueIndex()

template<typename GV >
template<typename E >
Index Dune::PDELab::PartitionViewEntitySetIndexSet< GV, Partitions::All >::uniqueIndex ( const E &  e) const
inline

◆ uniqueSubIndex()

template<typename GV >
template<typename E >
Index Dune::PDELab::PartitionViewEntitySetIndexSet< GV, Partitions::All >::uniqueSubIndex ( const E &  e,
size_type  i,
dim_type  codim 
) const
inline

Member Data Documentation

◆ _active_codims

◆ _active_geometry_types

std::bitset<GlobalGeometryTypeIndex::size(GV::dimension)> Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_active_geometry_types
protectedinherited

◆ _gt_offsets

◆ _gv

◆ _needs_update

bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_needs_update
protectedinherited

◆ _wanted_codims

◆ dimension


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