dune-alugrid  2.8-git
Public Types | Public Member Functions | List of all members
Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm > Class Template Reference

hierarchic index set of ALU3dGrid More...

#include <dune/alugrid/3d/indexsets.hh>

Inheritance diagram for Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm >:
Inheritance graph

Public Types

typedef GridType::Traits::template Codim< 0 >::Entity EntityCodim0Type
 

Public Member Functions

template<class EntityType >
int index (const EntityType &ep) const
 return hierarchic index of given entity More...
 
template<int codim>
int index (const typename GridType::Traits::template Codim< codim >::Entity &entity) const
 return hierarchic index of given entity More...
 
template<class Entity >
int subIndex (const Entity &entity, int i, unsigned int codim) const
 
template<int cd>
int subIndex (const typename GridType::Traits::template Codim< cd >::Entity &e, int i, unsigned int codim) const
 return subIndex i of given entity for subEntity with codim More...
 
int size (GeometryType type) const
 
int size (int codim) const
 return size of indexset, i.e. maxindex+1 More...
 
const std::vector< GeometryType > & geomTypes (int codim) const
 deliver all geometry types used in this grid More...
 
template<class EntityType >
bool contains (const EntityType &) const
 return true because all entities are contained in this set More...
 

Detailed Description

template<int dim, int dimworld, ALU3dGridElementType elType, class Comm>
class Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm >

hierarchic index set of ALU3dGrid

Member Typedef Documentation

◆ EntityCodim0Type

template<int dim, int dimworld, ALU3dGridElementType elType, class Comm >
typedef GridType::Traits::template Codim<0>::Entity Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm >::EntityCodim0Type

Member Function Documentation

◆ contains()

template<int dim, int dimworld, ALU3dGridElementType elType, class Comm >
template<class EntityType >
bool Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm >::contains ( const EntityType &  ) const
inline

return true because all entities are contained in this set

◆ geomTypes()

template<int dim, int dimworld, ALU3dGridElementType elType, class Comm >
const std::vector<GeometryType>& Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm >::geomTypes ( int  codim) const
inline

deliver all geometry types used in this grid

◆ index() [1/2]

template<int dim, int dimworld, ALU3dGridElementType elType, class Comm >
template<class EntityType >
int Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm >::index ( const EntityType &  ep) const
inline

return hierarchic index of given entity

◆ index() [2/2]

template<int dim, int dimworld, ALU3dGridElementType elType, class Comm >
template<int codim>
int Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm >::index ( const typename GridType::Traits::template Codim< codim >::Entity &  entity) const
inline

return hierarchic index of given entity

◆ size() [1/2]

template<int dim, int dimworld, ALU3dGridElementType elType, class Comm >
int Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm >::size ( GeometryType  type) const
inline

return size of indexset, i.e. maxindex+1 for given type, if type is not exisiting within grid 0 is returned

◆ size() [2/2]

template<int dim, int dimworld, ALU3dGridElementType elType, class Comm >
int Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm >::size ( int  codim) const
inline

return size of indexset, i.e. maxindex+1

◆ subIndex() [1/2]

template<int dim, int dimworld, ALU3dGridElementType elType, class Comm >
template<class Entity >
int Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm >::subIndex ( const Entity &  entity,
int  i,
unsigned int  codim 
) const
inline

◆ subIndex() [2/2]

template<int dim, int dimworld, ALU3dGridElementType elType, class Comm >
template<int cd>
int Dune::ALU3dGridHierarchicIndexSet< dim, dimworld, elType, Comm >::subIndex ( const typename GridType::Traits::template Codim< cd >::Entity &  e,
int  i,
unsigned int  codim 
) const
inline

return subIndex i of given entity for subEntity with codim


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