DUNE-FEM (unstable)

Dune::Fem::IndexSet< Traits > Class Template Reference

interface documentation for (grid part) index sets More...

#include <dune/fem/gridpart/common/indexset.hh>

Public Types

typedef Traits::IndexType IndexType
 index type
 
typedef Traits::Types Types
 geometry type range type
 

Public Member Functions

Types types (int codim) const
 return range of geometry types
 
template<class Entity >
bool contains (const Entity &entity) const
 return true if entity has index
 
IndexType size (GeometryType type) const
 return number of entities of given type
 
IndexType size (int codim) const
 return number of entities of given codimension
 
template<class Entity >
IndexType index (const Entity &entity) const
 return index for given entity
 
template<int codim>
IndexType index (const typename Codim< codim >::Entity &entity) const
 return index for given entity
 
template<class Entity >
IndexType subIndex (const Entity &entity, int i, unsigned int cd) const
 return index for given subentity
 
template<int codim>
IndexType subIndex (const typename Codim< codim >::Entity &entity, int i, unsigned int cd) const
 return index for given subentity
 
void requestCodimensions (const std::vector< int > &codimensions) const
 receive request for codimension support in case index set is adaptive
 

Static Public Attributes

static const int dimension = Traits::dimension
 grid dimension
 

Detailed Description

template<class Traits>
class Dune::Fem::IndexSet< Traits >

interface documentation for (grid part) index sets

Note
This interface is a direct copy of index sets as used in dune-grid.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)