dune-pdelab  2.4.1
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)
 
size_type size (GeometryType gt) const
 
size_type size (dim_type codim) const
 
template<typename Entity >
bool contains (const Entity &e) const
 
bool contains (dim_type codim) const
 
bool contains (const GeometryType &gt) const
 
const BaseIndexSetbaseIndexSet () const
 
Types types (dim_type codim) const
 
Types types () const
 
const GridViewgridView () const
 
bool needsUpdate () 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
 
CodimMask _active_codims
 
std::array< size_type, GlobalGeometryTypeIndex::size(GV::dimension)+1 > _gt_offsets
 
std::array< size_type, GlobalGeometryTypeIndex::size(GV::dimension)+1 > _mapped_gt_offsets
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename GV, typename P>
void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::addCodim ( dim_type  codim)
inlineprotectedinherited
template<typename GV, typename P>
const BaseIndexSet& Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::baseIndexSet ( ) const
inlineinherited
template<typename GV, typename P>
template<typename Entity >
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::contains ( const Entity &  e) const
inlineinherited
template<typename GV, typename P>
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::contains ( dim_type  codim) const
inlineinherited
template<typename GV, typename P>
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::contains ( const GeometryType &  gt) const
inlineinherited
template<typename GV, typename P>
const GridView& Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::gridView ( ) const
inlineinherited
template<typename GV , typename P >
template<typename E >
Index Dune::PDELab::PartitionViewEntitySetIndexSet< GV, P >::index ( const E &  e) const
inline
template<typename GV, typename P>
static constexpr Index Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::invalidIndex ( )
inlinestaticinherited
template<typename GV, typename P>
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::needsUpdate ( ) const
inlineinherited
template<typename GV, typename P>
void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::removeCodim ( dim_type  codim)
inlineprotectedinherited
template<typename GV, typename P>
void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::reset ( )
inlineprotectedinherited
template<typename GV, typename P>
size_type Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::size ( GeometryType  gt) const
inlineinherited
template<typename GV, typename P>
size_type Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::size ( dim_type  codim) const
inlineinherited
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
template<typename GV, typename P>
Types Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::types ( dim_type  codim) const
inlineinherited
template<typename GV, typename P>
Types Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::types ( ) const
inlineinherited
template<typename GV , typename P >
template<typename E >
Index Dune::PDELab::PartitionViewEntitySetIndexSet< GV, P >::uniqueIndex ( const E &  e) const
inline
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

template<typename GV, typename P>
CodimMask Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::_active_codims
protectedinherited
template<typename GV, typename P>
std::bitset<GlobalGeometryTypeIndex::size(GV::dimension)> Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::_active_geometry_types
protectedinherited
template<typename GV, typename P>
std::array<size_type,GlobalGeometryTypeIndex::size(GV::dimension) + 1> Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::_gt_offsets
protectedinherited
template<typename GV, typename P>
GV Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::_gv
protectedinherited
template<typename GV, typename P>
std::array<size_type,GlobalGeometryTypeIndex::size(GV::dimension) + 1> Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::_mapped_gt_offsets
protectedinherited
template<typename GV, typename P>
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, P >::_needs_update
protectedinherited
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: