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

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

Inheritance diagram for Dune::SPHierarchyIndexSet< 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
 

Public Member Functions

 SPHierarchyIndexSet (const Grid &grid)
 
void update ()
 
template<class Entity >
IndexType index (const Entity &entity) const
 
template<int codim>
IndexType index (const typename Codim< codim >::Entity &entity) const
 
template<int codim>
IndexType subIndex (const typename Codim< 0 >::Entity &entity, const int i) const
 
template<class Entity >
IndexType subIndex (const Entity &entity, const int i, const unsigned int codim) const
 
template<int cd>
IndexType subIndex (const typename Codim< cd >::Entity &entity, const int i, const unsigned int codim) const
 
Types types (int codim) const
 
const std::vector< GeometryType > & geomTypes (const 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 Grid & grid () const
 
const LevelIndexSetlevelIndexSet (const int level) 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::SPHierarchyIndexSet< Grid >::GridLevel

◆ IndexType

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

◆ Types

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

Constructor & Destructor Documentation

◆ SPHierarchyIndexSet()

template<class Grid >
Dune::SPHierarchyIndexSet< Grid >::SPHierarchyIndexSet ( const Grid &  grid)
inlineexplicit

Member Function Documentation

◆ contains() [1/2]

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

◆ contains() [2/2]

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

◆ geomTypes()

template<class Grid >
const std::vector< GeometryType >& Dune::SPHierarchyIndexSet< Grid >::geomTypes ( const int  codim) const
inline

◆ grid()

template<class Grid >
const Grid& Dune::SPHierarchyIndexSet< Grid >::grid ( ) const
inline

◆ index() [1/2]

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

◆ index() [2/2]

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

◆ levelIndexSet()

template<class Grid >
const LevelIndexSet& Dune::SPHierarchyIndexSet< Grid >::levelIndexSet ( const int  level) const
inline

◆ size() [1/2]

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

◆ size() [2/2]

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

◆ subIndex() [1/3]

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

◆ subIndex() [2/3]

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

◆ subIndex() [3/3]

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

◆ types()

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

◆ update()

template<class Grid >
void Dune::SPHierarchyIndexSet< Grid >::update ( )
inline

Member Data Documentation

◆ dimension

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

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