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

extended interface for consecutive index sets More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/gridpart/common/indexset.hh>

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

Public Types

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

Public Member Functions

Types types (int codim) const
 return range of geometry types More...
 
const std::vector< GeometryType > & geomTypes (int codim) const
 return vector of geometry types used of given codimension 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...
 

Static Public Attributes

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

Protected Member Functions

 ConsecutiveIndexSet ()=default
 
Traits::IndexSetType & impl ()
 
const Traits::IndexSetType & impl () const
 

Adaptation

static constexpr bool consecutive () noexcept
 please doc me More...
 
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...
 
void backup () const
 please doc me More...
 
void restore ()
 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...
 

Detailed Description

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

extended interface for consecutive index sets

Note
IndexSets implementing this extended interface can be managed by the DofManager

Member Typedef Documentation

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

index type

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

geometry type range type

Constructor & Destructor Documentation

template<class Traits>
Dune::Fem::ConsecutiveIndexSet< Traits >::ConsecutiveIndexSet ( )
protecteddefault

Member Function Documentation

template<class Traits>
void Dune::Fem::ConsecutiveIndexSet< Traits >::backup ( ) const
inline

please doc me

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

please doc me

template<class Traits>
static constexpr bool Dune::Fem::ConsecutiveIndexSet< Traits >::consecutive ( )
inlinestaticnoexcept

please doc me

template<class Traits>
template<class Entity >
bool Dune::Fem::IndexSet< Traits >::contains ( const Entity &  entity) const
inlineinherited
template<class Traits>
const std::vector< GeometryType >& Dune::Fem::IndexSet< Traits >::geomTypes ( int  codim) const
inlineinherited

return vector of geometry types used of given codimension

Deprecated:
"IndexSet::geomTypes(codim) is deprecated, use IndexSet::types(codim) instead"
template<class Traits>
const Traits::IndexSetType& Dune::Fem::IndexSet< Traits >::impl ( ) const
inlineprotectedinherited
template<class Traits>
Traits::IndexSetType& Dune::Fem::ConsecutiveIndexSet< Traits >::impl ( )
inlineprotected
template<class Traits>
template<class Entity >
IndexType Dune::Fem::IndexSet< Traits >::index ( const Entity &  entity) const
inlineinherited
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

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

please doc me

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

please doc me

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

please doc me

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

please doc me

template<class Traits>
void Dune::Fem::ConsecutiveIndexSet< Traits >::restore ( )
inline

please doc me

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

return number of entities of given type

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

return number of entities of given codimension

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

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

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

return range of geometry types

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

please doc me

Member Data Documentation

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

grid dimension


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