DUNE-FEM (unstable)

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

extended interface for adaptive, consecutive 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
 
Adaptation
int numberOfHoles (GeometryType type) const
 return number of holes for given type
 
int oldIndex (int hole, GeometryType type) const
 return old index for given hole and type
 
int newIndex (int hole, GeometryType type) const
 return new index for given hole and type
 
Adaptation
void resize ()
 please doc me
 
bool compress ()
 please doc me
 
void insertEntity (const typename BaseType::template Codim< 0 >::Entity &entity)
 please doc me
 
void removeEntity (const typename BaseType::template Codim< 0 >::Entity &entity)
 please doc me
 
void backup () const
 please doc me
 
void restore ()
 please doc me
 
template<class T >
void write (OutStreamInterface< T > &stream) const
 please doc me
 
template<class T >
void read (InStreamInterface< T > &stream)
 please doc me
 

Static Public Attributes

static const int dimension = Traits::dimension
 grid dimension
 

Detailed Description

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

extended interface for adaptive, consecutive index sets

Note
IndexSets implementing this extended interface can be used with index set based adaptive Dof mappers

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 21, 23:30, 2024)