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, 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 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 Traits = PartitionViewEntitySetTraits< GV, Partitions::All >
 
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<typename E >
Index uniqueIndex (const E &e) 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)
 
size_type size (GeometryType gt) const
 
size_type size (dim_type codim) const
 
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

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

Constructor & Destructor Documentation

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

Member Function Documentation

void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::addCodim ( dim_type  codim)
inlineprotectedinherited
const BaseIndexSet& Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::baseIndexSet ( ) const
inlineinherited
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::contains ( const Entity &  e) const
inlineinherited
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::contains ( dim_type  codim) const
inlineinherited
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::contains ( const GeometryType &  gt) const
inlineinherited
const GridView& Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::gridView ( ) const
inlineinherited
template<typename GV >
template<typename E >
Index Dune::PDELab::PartitionViewEntitySetIndexSet< GV, Partitions::All >::index ( const E &  e) const
inline
static constexpr Index Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::invalidIndex ( )
inlinestaticinherited
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::needsUpdate ( ) const
inlineinherited
void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::removeCodim ( dim_type  codim)
inlineprotectedinherited
void Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::reset ( )
inlineprotectedinherited
size_type Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::size ( GeometryType  gt) const
inlineinherited
size_type Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::size ( dim_type  codim) const
inlineinherited

References dim, and offset.

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
Types Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::types ( dim_type  codim) const
inlineinherited
Types Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::types ( ) const
inlineinherited
template<typename GV >
template<typename E >
Index Dune::PDELab::PartitionViewEntitySetIndexSet< GV, Partitions::All >::uniqueIndex ( const E &  e) const
inline
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

CodimMask Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_active_codims
protectedinherited
std::bitset<GlobalGeometryTypeIndex::size(GV::dimension)> Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_active_geometry_types
protectedinherited
std::array<size_type,GlobalGeometryTypeIndex::size(GV::dimension) + 1> Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_gt_offsets
protectedinherited
GV Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_gv
protectedinherited
std::array<size_type,GlobalGeometryTypeIndex::size(GV::dimension) + 1> Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_mapped_gt_offsets
protectedinherited
bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_needs_update
protectedinherited
CodimMask Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_wanted_codims
protectedinherited

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