dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::PDELab::PartitionViewEntitySetIndexSet< GV, P > Class Template Reference

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

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

Public Types

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 Grid = typename Traits::Grid
 
using CodimMask = typename Traits::CodimMask
 
using Traits = PartitionViewEntitySetTraits< GV, P >
 
using GridView = typename Traits::GridView
 
using BaseIndexSet = typename Traits::BaseIndexSet
 
using Types = typename Traits::Types
 
using IndexType = Index
 
template<dim_type codim>
using Codim = typename Traits::template Codim< codim >
 

Public Member Functions

template<typename E >
Index index (const E &e) const
 
template<typename E >
Index subIndex (const E &e, size_type i, dim_type codim) const
 
template<typename E >
Index uniqueIndex (const E &e) 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)
 
const GridViewgridView () const
 
const BaseIndexSetbaseIndexSet () const
 
template<typename Entity >
bool contains (const Entity &e) const
 
bool contains (dim_type codim) const
 
bool contains (const GeometryType &gt) const
 
bool needsUpdate () const
 
size_type size (GeometryType gt) const
 
size_type size (dim_type codim) const
 
Types types (dim_type codim) const
 
Types types () const
 

Static Public Member Functions

static constexpr Index invalidIndex ()
 

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
 

Member Typedef Documentation

◆ BaseIndexSet

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

◆ Codim

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

◆ CodimMask

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

◆ dim_type

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

◆ Grid

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

◆ GridView

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

◆ Index

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

◆ IndexType

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

◆ Partitions

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

◆ size_type

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

◆ Traits

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

◆ Types

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

Constructor & Destructor Documentation

◆ PartitionViewEntitySetIndexSet()

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

Member Function Documentation

◆ addCodim()

template<typename GV , typename P >
void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::addCodim ( dim_type  codim)
inlineprotectedinherited

◆ baseIndexSet()

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

◆ contains() [1/3]

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

◆ contains() [2/3]

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

◆ contains() [3/3]

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

◆ gridView()

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

◆ index()

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

◆ invalidIndex()

template<typename GV , typename P >
static constexpr Index Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::invalidIndex ( )
inlinestaticconstexpr

◆ needsUpdate()

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

◆ removeCodim()

template<typename GV , typename P >
void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::removeCodim ( dim_type  codim)
inlineprotectedinherited

◆ reset()

template<typename GV , typename P >
void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::reset ( )
inlineprotectedinherited

◆ size() [1/2]

template<typename GV , typename P >
size_type Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::size ( dim_type  codim) const
inlineinherited

◆ size() [2/2]

template<typename GV , typename P >
size_type Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::size ( GeometryType  gt) const
inlineinherited

◆ subIndex()

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

◆ types() [1/2]

template<typename GV , typename P >
Types Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::types ( ) const
inlineinherited

◆ types() [2/2]

template<typename GV , typename P >
Types Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::types ( dim_type  codim) const
inlineinherited

◆ uniqueIndex()

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

◆ uniqueSubIndex()

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

Member Data Documentation

◆ _active_geometry_types

template<typename GV , typename P >
std::bitset<GlobalGeometryTypeIndex::size(GV::dimension)> Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::_active_geometry_types
protectedinherited

◆ _gv

template<typename GV , typename P >
GV Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::_gv
protectedinherited

◆ _needs_update

template<typename GV , typename P >
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::_needs_update
protectedinherited

◆ _wanted_codims

template<typename GV , typename P >
CodimMask Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::_wanted_codims
protectedinherited

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