dune-fem 2.8-git
Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::PersistentConsecutiveIndexSet< Traits > Class Template Reference

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

Inheritance diagram for Dune::Fem::PersistentConsecutiveIndexSet< Traits >:
Inheritance graph

Public Types

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

Public Member Functions

void backup () const
 please doc me More...
 
void restore ()
 please doc me More...
 
void addBackupRestore () override final
 please doc me More...
 
void removeBackupRestore () override final
 please doc me More...
 
Types types (int codim) const
 return range of geometry types More...
 
template<class Entity >
bool contains (const Entity &entity) const
 return true if entity has index More...
 
IndexType size (GeometryType type) const
 return number of entities of given type More...
 
IndexType size (int codim) const
 return number of entities of given codimension More...
 
template<class Entity >
IndexType index (const Entity &entity) const
 return index for given entity More...
 
template<int codim>
IndexType index (const typename Codim< codim >::Entity &entity) const
 return index for given entity More...
 
template<class Entity >
IndexType subIndex (const Entity &entity, int i, unsigned int cd) const
 return index for given subentity More...
 
template<int codim>
IndexType subIndex (const typename Codim< codim >::Entity &entity, int i, unsigned int cd) const
 return index for given subentity More...
 
void requestCodimensions (const std::vector< int > &codimensions) const
 receive request for codimension support in case index set is adaptive More...
 
Adaptation
void resize ()
 please doc me More...
 
bool compress ()
 please doc me More...
 
void insertEntity (const typename BaseType::template Codim< 0 >::Entity &entity)
 please doc me More...
 
void removeEntity (const typename BaseType::template Codim< 0 >::Entity &entity)
 please doc me More...
 
template<class T >
void write (OutStreamInterface< T > &stream) const
 please doc me More...
 
template<class T >
void read (InStreamInterface< T > &stream)
 please doc me More...
 

Static Public Attributes

static const int dimension = Traits::dimension
 grid dimension More...
 

Protected Types

typedef Traits::GridType GridType
 grid type More...
 
typedef DofManager< GridTypeDofManagerType
 dof manager type More...
 

Protected Member Functions

 PersistentConsecutiveIndexSet (const typename BaseType::GridType &grid)
 
Traits::IndexSetType & impl ()
 
const Traits::IndexSetType & impl () const
 

Protected Attributes

const GridTypegrid_
 
DofManagerTypedofManager_
 

Member Typedef Documentation

◆ DofManagerType

typedef DofManager< GridType > Dune::Fem::PersistentIndexSet< Traits, ConsecutiveIndexSet >::DofManagerType
protectedinherited

dof manager type

◆ GridType

typedef Traits::GridType Dune::Fem::PersistentIndexSet< Traits, ConsecutiveIndexSet >::GridType
protectedinherited

grid type

◆ IndexType

template<class Traits >
typedef Traits::IndexType Dune::Fem::IndexSet< Traits >::IndexType
inherited

index type

◆ Types

template<class Traits >
typedef Traits::Types Dune::Fem::IndexSet< Traits >::Types
inherited

geometry type range type

Constructor & Destructor Documentation

◆ PersistentConsecutiveIndexSet()

template<class Traits >
Dune::Fem::PersistentConsecutiveIndexSet< Traits >::PersistentConsecutiveIndexSet ( const typename BaseType::GridType grid)
inlineexplicitprotected

Member Function Documentation

◆ addBackupRestore()

void Dune::Fem::PersistentIndexSet< Traits, ConsecutiveIndexSet >::addBackupRestore ( )
inlinefinaloverridevirtualinherited

please doc me

Implements Dune::Fem::PersistentIndexSetInterface.

◆ backup()

void Dune::Fem::PersistentIndexSet< Traits, ConsecutiveIndexSet >::backup ( ) const
inlineinherited

please doc me

◆ compress()

template<class Traits >
bool Dune::Fem::ConsecutiveIndexSet< Traits >::compress ( )
inlineinherited

please doc me

◆ contains()

template<class Traits >
template<class Entity >
bool Dune::Fem::IndexSet< Traits >::contains ( const Entity &  entity) const
inlineinherited

return true if entity has index

◆ impl() [1/2]

template<class Traits >
Traits::IndexSetType & Dune::Fem::ConsecutiveIndexSet< Traits >::impl ( )
inlineprotectedinherited

◆ impl() [2/2]

template<class Traits >
const Traits::IndexSetType & Dune::Fem::IndexSet< Traits >::impl ( ) const
inlineprotectedinherited

◆ index() [1/2]

template<class Traits >
template<class Entity >
IndexType Dune::Fem::IndexSet< Traits >::index ( const Entity &  entity) const
inlineinherited

return index for given entity

◆ index() [2/2]

template<class Traits >
template<int codim>
IndexType Dune::Fem::IndexSet< Traits >::index ( const typename Codim< codim >::Entity &  entity) const
inlineinherited

return index for given entity

◆ insertEntity()

template<class Traits >
void Dune::Fem::ConsecutiveIndexSet< Traits >::insertEntity ( const typename BaseType::template Codim< 0 >::Entity &  entity)
inlineinherited

please doc me

◆ read()

template<class Traits >
template<class T >
void Dune::Fem::ConsecutiveIndexSet< Traits >::read ( InStreamInterface< T > &  stream)
inlineinherited

please doc me

◆ removeBackupRestore()

void Dune::Fem::PersistentIndexSet< Traits, ConsecutiveIndexSet >::removeBackupRestore ( )
inlinefinaloverridevirtualinherited

please doc me

Implements Dune::Fem::PersistentIndexSetInterface.

◆ removeEntity()

template<class Traits >
void Dune::Fem::ConsecutiveIndexSet< Traits >::removeEntity ( const typename BaseType::template Codim< 0 >::Entity &  entity)
inlineinherited

please doc me

◆ requestCodimensions()

template<class Traits >
void Dune::Fem::IndexSet< Traits >::requestCodimensions ( const std::vector< int > &  codimensions) const
inlineinherited

receive request for codimension support in case index set is adaptive

◆ resize()

template<class Traits >
void Dune::Fem::ConsecutiveIndexSet< Traits >::resize ( )
inlineinherited

please doc me

◆ restore()

void Dune::Fem::PersistentIndexSet< Traits, ConsecutiveIndexSet >::restore ( )
inlineinherited

please doc me

◆ size() [1/2]

template<class Traits >
IndexType Dune::Fem::IndexSet< Traits >::size ( GeometryType  type) const
inlineinherited

return number of entities of given type

◆ size() [2/2]

template<class Traits >
IndexType Dune::Fem::IndexSet< Traits >::size ( int  codim) const
inlineinherited

return number of entities of given codimension

◆ subIndex() [1/2]

template<class Traits >
template<class Entity >
IndexType Dune::Fem::IndexSet< Traits >::subIndex ( const Entity &  entity,
int  i,
unsigned int  cd 
) const
inlineinherited

return index for given subentity

◆ subIndex() [2/2]

template<class Traits >
template<int codim>
IndexType Dune::Fem::IndexSet< Traits >::subIndex ( const typename Codim< codim >::Entity &  entity,
int  i,
unsigned int  cd 
) const
inlineinherited

return index for given subentity

◆ types()

template<class Traits >
Types Dune::Fem::IndexSet< Traits >::types ( int  codim) const
inlineinherited

return range of geometry types

◆ write()

template<class Traits >
template<class T >
void Dune::Fem::ConsecutiveIndexSet< Traits >::write ( OutStreamInterface< T > &  stream) const
inlineinherited

please doc me

Member Data Documentation

◆ dimension

template<class Traits >
const int Dune::Fem::IndexSet< Traits >::dimension = Traits::dimension
staticinherited

grid dimension

◆ dofManager_

DofManagerType& Dune::Fem::PersistentIndexSet< Traits, ConsecutiveIndexSet >::dofManager_
protectedinherited

◆ grid_

const GridType& Dune::Fem::PersistentIndexSet< Traits, ConsecutiveIndexSet >::grid_
protectedinherited

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