dune-spgrid  2.7
Classes | Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::SPIndexSet< Grid > Class Template Reference

#include <dune/grid/spgrid/indexset.hh>

Inheritance diagram for Dune::SPIndexSet< Grid >:
Inheritance graph

Classes

struct  Codim
 

Public Types

typedef Base::IndexType IndexType
 
typedef Base::Types Types
 
typedef SPGridLevel< typename std::remove_const< Grid >::type > GridLevel
 
typedef GridLevel::PartitionList PartitionList
 

Public Member Functions

 SPIndexSet ()=default
 
 SPIndexSet (const GridLevel &gridLevel)
 
void update (const GridLevel &gridLevel)
 
template<class Entity >
IndexType index (const Entity &entity) const
 
template<int codim>
IndexType index (const typename Codim< codim >::Entity &entity) const
 
template<class Entity >
IndexType subIndex (const Entity &entity, int i, unsigned int codim) const
 
template<int cd>
IndexType subIndex (const typename Codim< cd >::Entity &entity, int i, unsigned int codim) const
 
Types types (int codim) const
 
IndexType size (const GeometryType &type) const
 
IndexType size (const int codim) const
 
template<class Entity >
bool contains (const Entity &entity) const
 
template<int codim>
bool contains (const typename Codim< codim >::Entity &entity) const
 
const GridLevelgridLevel () const
 
const PartitionListpartitions () const
 

Static Public Attributes

static const int dimension = Traits::ReferenceCube::dimension
 

Member Typedef Documentation

◆ GridLevel

template<class Grid >
typedef SPGridLevel< typename std::remove_const< Grid >::type > Dune::SPIndexSet< Grid >::GridLevel

◆ IndexType

template<class Grid >
typedef Base::IndexType Dune::SPIndexSet< Grid >::IndexType

◆ PartitionList

template<class Grid >
typedef GridLevel::PartitionList Dune::SPIndexSet< Grid >::PartitionList

◆ Types

template<class Grid >
typedef Base::Types Dune::SPIndexSet< Grid >::Types

Constructor & Destructor Documentation

◆ SPIndexSet() [1/2]

template<class Grid >
Dune::SPIndexSet< Grid >::SPIndexSet ( )
default

◆ SPIndexSet() [2/2]

template<class Grid >
Dune::SPIndexSet< Grid >::SPIndexSet ( const GridLevel gridLevel)
inlineexplicit

Member Function Documentation

◆ contains() [1/2]

template<class Grid >
template<class Entity >
bool Dune::SPIndexSet< Grid >::contains ( const Entity &  entity) const
inline

◆ contains() [2/2]

template<class Grid >
template<int codim>
bool Dune::SPIndexSet< Grid >::contains ( const typename Codim< codim >::Entity &  entity) const
inline

◆ gridLevel()

template<class Grid >
const GridLevel& Dune::SPIndexSet< Grid >::gridLevel ( ) const
inline

◆ index() [1/2]

template<class Grid >
template<class Entity >
SPIndexSet< Grid >::IndexType Dune::SPIndexSet< Grid >::index ( const Entity &  entity) const
inline

◆ index() [2/2]

template<class Grid >
template<int codim>
SPIndexSet< Grid >::IndexType Dune::SPIndexSet< Grid >::index ( const typename Codim< codim >::Entity &  entity) const
inline

◆ partitions()

template<class Grid >
const PartitionList& Dune::SPIndexSet< Grid >::partitions ( ) const
inline

◆ size() [1/2]

template<class Grid >
SPIndexSet< Grid >::IndexType Dune::SPIndexSet< Grid >::size ( const GeometryType &  type) const
inline

◆ size() [2/2]

template<class Grid >
SPIndexSet< Grid >::IndexType Dune::SPIndexSet< Grid >::size ( const int  codim) const
inline

◆ subIndex() [1/2]

template<class Grid >
template<class Entity >
SPIndexSet< Grid >::IndexType Dune::SPIndexSet< Grid >::subIndex ( const Entity &  entity,
int  i,
unsigned int  codim 
) const
inline

◆ subIndex() [2/2]

template<class Grid >
template<int cd>
SPIndexSet< Grid >::IndexType Dune::SPIndexSet< Grid >::subIndex ( const typename Codim< cd >::Entity &  entity,
int  i,
unsigned int  codim 
) const
inline

◆ types()

template<class Grid >
Types Dune::SPIndexSet< Grid >::types ( int  codim) const
inline

◆ update()

template<class Grid >
void Dune::SPIndexSet< Grid >::update ( const GridLevel gridLevel)

Member Data Documentation

◆ dimension

template<class Grid >
const int Dune::SPIndexSet< Grid >::dimension = Traits::ReferenceCube::dimension
static

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