dune-foamgrid 2.8.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Dune::FoamGridLeafIndexSet< GridImp > Class Template Reference

#include <dune/foamgrid/foamgrid/foamgridindexsets.hh>

Inheritance diagram for Dune::FoamGridLeafIndexSet< GridImp >:
Inheritance graph

Public Member Functions

 FoamGridLeafIndexSet (const GridImp &g)
 Copy constructor.
 
template<int codim>
int index (const typename GridImp::Traits::template Codim< codim >::Entity &e) const
 get index of an entity
 
template<int cc>
int subIndex (const typename GridImp::Traits::template Codim< cc >::Entity &e, int i, unsigned int codim) const
 get index of subentity of an entity
 
int size (int codim) const
 get number of entities of given codim, type and on this level
 
int size (GeometryType type) const
 get number of entities of given codim, type and on this level
 
const std::vector< GeometryType > & geomTypes (int codim) const
 Deliver all geometry types used in this grid.
 
std::vector< GeometryType > types (int codim) const
 Deliver all geometry types used in this grid.
 
template<class EntityType >
bool contains (const EntityType &e) const
 Return true if the given entity is contained in the index set.
 
void update ()
 

Constructor & Destructor Documentation

◆ FoamGridLeafIndexSet()

template<class GridImp >
Dune::FoamGridLeafIndexSet< GridImp >::FoamGridLeafIndexSet ( const GridImp &  g)
inline

Copy constructor.

Member Function Documentation

◆ contains()

template<class GridImp >
template<class EntityType >
bool Dune::FoamGridLeafIndexSet< GridImp >::contains ( const EntityType &  e) const
inline

Return true if the given entity is contained in the index set.

◆ geomTypes()

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

Deliver all geometry types used in this grid.

◆ index()

template<class GridImp >
template<int codim>
int Dune::FoamGridLeafIndexSet< GridImp >::index ( const typename GridImp::Traits::template Codim< codim >::Entity &  e) const
inline

get index of an entity

◆ size() [1/2]

template<class GridImp >
int Dune::FoamGridLeafIndexSet< GridImp >::size ( GeometryType  type) const
inline

get number of entities of given codim, type and on this level

◆ size() [2/2]

template<class GridImp >
int Dune::FoamGridLeafIndexSet< GridImp >::size ( int  codim) const
inline

get number of entities of given codim, type and on this level

◆ subIndex()

template<class GridImp >
template<int cc>
int Dune::FoamGridLeafIndexSet< GridImp >::subIndex ( const typename GridImp::Traits::template Codim< cc >::Entity &  e,
int  i,
unsigned int  codim 
) const
inline

get index of subentity of an entity

◆ types()

template<class GridImp >
std::vector< GeometryType > Dune::FoamGridLeafIndexSet< GridImp >::types ( int  codim) const
inline

Deliver all geometry types used in this grid.

◆ update()

template<class GridImp >
void Dune::FoamGridLeafIndexSet< GridImp >::update ( )
inline

Recompute the leaf numbering


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