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

#include <idset.hh>

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

Public Types

typedef PolyhedralGrid< dim, dimworld, coord_t > Grid
 
typedef std::remove_const< Grid >::type::Traits Traits
 
typedef std::size_t IdType
 
typedef PolyhedralGridIdSet< dim, dimworld, coord_t > This
 
typedef IdSet< Grid, This, IdTypeBase
 

Public Member Functions

 PolyhedralGridIdSet (const Grid &grid)
 
template<int codim>
IdType id (const typename Traits::template Codim< codim >::Entity &entity) const
 id meethod for entity and specific codim More...
 
template<class Entity >
IdType id (const Entity &entity) const
 id method of all entities More...
 
template<class IntersectionImpl >
IdType id (const Dune::Intersection< const Grid, IntersectionImpl > &intersection) const
 id method of all entities More...
 
template<class Entity >
IdType subId (const Entity &entity, int i, unsigned int codim) const
 subId method for entities More...
 

Protected Attributes

const Gridgrid_
 
const int * globalCellPtr_
 
IdType codimOffset_ [dim+1]
 

Member Typedef Documentation

◆ Base

template<int dim, int dimworld, typename coord_t >
typedef IdSet< Grid, This, IdType > Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::Base

◆ Grid

template<int dim, int dimworld, typename coord_t >
typedef PolyhedralGrid< dim, dimworld, coord_t > Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::Grid

◆ IdType

template<int dim, int dimworld, typename coord_t >
typedef std::size_t Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::IdType

◆ This

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

◆ Traits

template<int dim, int dimworld, typename coord_t >
typedef std::remove_const<Grid>::type::Traits Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::Traits

Constructor & Destructor Documentation

◆ PolyhedralGridIdSet()

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

Member Function Documentation

◆ id() [1/3]

template<int dim, int dimworld, typename coord_t >
template<class IntersectionImpl >
IdType Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::id ( const Dune::Intersection< const Grid, IntersectionImpl > &  intersection) const
inline

id method of all entities

◆ id() [2/3]

template<int dim, int dimworld, typename coord_t >
template<class Entity >
IdType Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::id ( const Entity &  entity) const
inline

id method of all entities

◆ id() [3/3]

template<int dim, int dimworld, typename coord_t >
template<int codim>
IdType Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::id ( const typename Traits::template Codim< codim >::Entity &  entity) const
inline

◆ subId()

template<int dim, int dimworld, typename coord_t >
template<class Entity >
IdType Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::subId ( const Entity &  entity,
int  i,
unsigned int  codim 
) const
inline

subId method for entities

References Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::id().

Member Data Documentation

◆ codimOffset_

template<int dim, int dimworld, typename coord_t >
IdType Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::codimOffset_[dim+1]
protected

◆ globalCellPtr_

template<int dim, int dimworld, typename coord_t >
const int* Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::globalCellPtr_
protected

◆ grid_

template<int dim, int dimworld, typename coord_t >
const Grid& Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::grid_
protected

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