dune-pdelab  2.5-dev
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

◆ BaseIndexSet

using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::BaseIndexSet = typename Traits::BaseIndexSet
inherited

◆ 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

using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::Grid = typename Traits::Grid
inherited

◆ GridView

using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::GridView = typename Traits::GridView
inherited

◆ Index

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

◆ IndexType

using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::IndexType = Index
inherited

◆ 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

using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::Traits = PartitionViewEntitySetTraits<GV,Partitions::All >
inherited

◆ Types

using Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::Types = typename Traits::Types
inherited

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()

const BaseIndexSet& Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::baseIndexSet ( ) const
inlineinherited

◆ contains() [1/3]

bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::contains ( const Entity &  e) const
inlineinherited

◆ contains() [2/3]

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

◆ contains() [3/3]

bool Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::contains ( const GeometryType &  gt) const
inlineinherited

◆ gridView()

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

◆ index()

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

◆ invalidIndex()

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

◆ 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_type Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::size ( GeometryType  gt) const
inlineinherited

◆ size() [2/2]

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

◆ subIndex()

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() [1/2]

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

◆ types() [2/2]

Types Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::types ( ) 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

CodimMask Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_active_codims
protectedinherited

◆ _active_geometry_types

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

◆ _gt_offsets

std::array<size_type,GlobalGeometryTypeIndex::size(GV::dimension) + 1> Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_gt_offsets
protectedinherited

◆ _gv

GV Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_gv
protectedinherited

◆ _mapped_gt_offsets

std::array<size_type,GlobalGeometryTypeIndex::size(GV::dimension) + 1> Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_mapped_gt_offsets
protectedinherited

◆ _needs_update

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

◆ _wanted_codims

CodimMask Dune::PDELab::PartitionViewEntitySetIndexSetBase< GV, Partitions::All >::_wanted_codims
protectedinherited

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