Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t > Class Template Reference

#include <indexset.hh>

Inheritance diagram for Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >:
Inheritance graph

Public Types

typedef Base::IndexType IndexType
 

Public Member Functions

 PolyhedralGridIndexSet (const GridType &grid)
 
template<class Entity >
IndexType index (const Entity &entity) const
 
template<int cd>
IndexType index (const typename Traits::template Codim< cd >::Entity &entity) const
 
template<int cd>
IndexType subIndex (const typename Traits::template Codim< cd >::Entity &entity, int i, unsigned int codim) const
 
template<class Entity >
IndexType subIndex (const Entity &entity, int i, unsigned int codim) const
 
IndexType size (GeometryType type) const
 
int size (int codim) const
 
template<class Entity >
bool contains (const Entity &entity) const
 
const std::vector< GeometryType > & geomTypes (int codim) const
 
const std::vector< GeometryType > & types (int codim) const
 
const GridTypegrid () const
 

Static Public Attributes

static const int dimension = Traits::dimension
 

Protected Types

typedef PolyhedralGridIndexSet< dim, dimworld, coord_t > This
 
typedef IndexSet< GridType, This, int > Base
 
typedef std::remove_const< GridType >::type::Traits Traits
 

Protected Attributes

const GridTypegrid_
 

Member Typedef Documentation

◆ Base

template<int dim, int dimworld, typename coord_t >
typedef IndexSet< GridType, This, int > Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::Base
protected

◆ IndexType

template<int dim, int dimworld, typename coord_t >
typedef Base::IndexType Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::IndexType

◆ This

template<int dim, int dimworld, typename coord_t >
typedef PolyhedralGridIndexSet< dim, dimworld, coord_t > Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::This
protected

◆ Traits

template<int dim, int dimworld, typename coord_t >
typedef std::remove_const<GridType>::type::Traits Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::Traits
protected

Constructor & Destructor Documentation

◆ PolyhedralGridIndexSet()

template<int dim, int dimworld, typename coord_t >
Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::PolyhedralGridIndexSet ( const GridType grid)
inline

Member Function Documentation

◆ contains()

template<int dim, int dimworld, typename coord_t >
template<class Entity >
bool Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::contains ( const Entity &  entity) const
inline

◆ geomTypes()

template<int dim, int dimworld, typename coord_t >
const std::vector< GeometryType > & Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::geomTypes ( int  codim) const
inline

◆ grid()

◆ index() [1/2]

template<int dim, int dimworld, typename coord_t >
template<class Entity >
IndexType Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::index ( const Entity &  entity) const
inline

◆ index() [2/2]

template<int dim, int dimworld, typename coord_t >
template<int cd>
IndexType Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::index ( const typename Traits::template Codim< cd >::Entity &  entity) const
inline

◆ size() [1/2]

template<int dim, int dimworld, typename coord_t >
IndexType Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::size ( GeometryType  type) const
inline

◆ size() [2/2]

template<int dim, int dimworld, typename coord_t >
int Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::size ( int  codim) const
inline

◆ subIndex() [1/2]

template<int dim, int dimworld, typename coord_t >
template<class Entity >
IndexType Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::subIndex ( const Entity &  entity,
int  i,
unsigned int  codim 
) const
inline

◆ subIndex() [2/2]

template<int dim, int dimworld, typename coord_t >
template<int cd>
IndexType Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::subIndex ( const typename Traits::template Codim< cd >::Entity &  entity,
int  i,
unsigned int  codim 
) const
inline

◆ types()

template<int dim, int dimworld, typename coord_t >
const std::vector< GeometryType > & Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::types ( int  codim) const
inline

Member Data Documentation

◆ dimension

template<int dim, int dimworld, typename coord_t >
const int Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::dimension = Traits::dimension
static

◆ grid_

template<int dim, int dimworld, typename coord_t >
const GridType* Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::grid_
protected

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