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

wrapper for (adaptive) index sets that disables all support for adaptivity More...

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

Inheritance diagram for Dune::Fem::NonAdaptiveIndexSet< IndexSet >:
Inheritance graph

Public Types

typedef BaseType::IndexType IndexType
 index type More...
 
typedef NonAdaptiveIndexSetTraits< IndexSet >::Types Types
 geometry type range type More...
 

Public Member Functions

 NonAdaptiveIndexSet (const IndexSet &indexSet)
 
BaseType::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
 
template<class Entity >
IndexType index (const Entity &entity) const
 return index for given entity More...
 
template<int codim>
IndexType index (const typename BaseType::template 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 BaseType::template Codim< codim >::Entity &entity, int i, unsigned int cd) const
 return index for given subentity 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...
 
IndexType index (const typename Codim< codim >::Entity &entity) const
 return index for given entity More...
 
IndexType subIndex (const typename Codim< codim >::Entity &entity, int i, unsigned int cd) const
 return index for given subentity More...
 
Adaptation
int numberOfHoles (GeometryType type) const
 return number of holes for given type More...
 
int oldIndex (int hole, GeometryType type) const
 return old index for given hole and type More...
 
int newIndex (int hole, GeometryType type) const
 return new index for given hole and type More...
 

Static Public Member Functions

static constexpr bool consecutive () noexcept
 please doc me More...
 
static void resize ()
 please doc me More...
 
static constexpr bool compress () noexcept
 please doc me More...
 
static void insertEntity (const typename BaseType::template Codim< 0 >::Entity &)
 please doc me More...
 
static void removeEntity (const typename BaseType::template Codim< 0 >::Entity &)
 please doc me More...
 
static constexpr int numberOfHoles (...) noexcept
 return number of holes for given type More...
 
static constexpr int oldIndex (...) noexcept
 return old index for given hole and type More...
 
static constexpr int newIndex (...) noexcept
 return new index for given hole and type More...
 

Static Public Attributes

static const int dimension
 grid dimension More...
 

Protected Member Functions

NonAdaptiveIndexSetTraits< IndexSet >::IndexSetType & impl ()
 
const NonAdaptiveIndexSetTraits< IndexSet >::IndexSetType & impl () const
 

Detailed Description

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

wrapper for (adaptive) index sets that disables all support for adaptivity

Member Typedef Documentation

index type

geometry type range type

Constructor & Destructor Documentation

template<class IndexSet >
Dune::Fem::NonAdaptiveIndexSet< IndexSet >::NonAdaptiveIndexSet ( const IndexSet indexSet)
inlineexplicit

Member Function Documentation

template<class IndexSet >
void Dune::Fem::NonAdaptiveIndexSet< IndexSet >::backup ( ) const
inline

please doc me

template<class IndexSet >
static constexpr bool Dune::Fem::NonAdaptiveIndexSet< IndexSet >::compress ( )
inlinestaticnoexcept

please doc me

template<class IndexSet >
static constexpr bool Dune::Fem::NonAdaptiveIndexSet< IndexSet >::consecutive ( )
inlinestaticnoexcept

please doc me

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

return true if entity has index

template<class IndexSet >
const std::vector< GeometryType >& Dune::Fem::NonAdaptiveIndexSet< IndexSet >::geomTypes ( int  codim) const
inline

return vector of geometry types used of given codimension

Deprecated:
"IndexSet::geomTypes(codim) is deprecated, use IndexSet::types(codim) instead"
const NonAdaptiveIndexSetTraits< IndexSet > ::IndexSetType& Dune::Fem::IndexSet< NonAdaptiveIndexSetTraits< IndexSet > >::impl ( ) const
inlineprotectedinherited
NonAdaptiveIndexSetTraits< IndexSet > ::IndexSetType& Dune::Fem::ConsecutiveIndexSet< NonAdaptiveIndexSetTraits< IndexSet > >::impl ( )
inlineprotectedinherited
template<class IndexSet >
template<class Entity >
IndexType Dune::Fem::NonAdaptiveIndexSet< IndexSet >::index ( const Entity &  entity) const
inline

return index for given entity

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

return index for given entity

IndexType Dune::Fem::IndexSet< NonAdaptiveIndexSetTraits< IndexSet > >::index ( const typename Codim< codim >::Entity &  entity) const
inlineinherited

return index for given entity

template<class IndexSet >
static void Dune::Fem::NonAdaptiveIndexSet< IndexSet >::insertEntity ( const typename BaseType::template Codim< 0 >::Entity &  )
inlinestatic

please doc me

template<class IndexSet >
static constexpr int Dune::Fem::NonAdaptiveIndexSet< IndexSet >::newIndex (   ...)
inlinestaticnoexcept

return new index for given hole and type

int Dune::Fem::AdaptiveIndexSet< NonAdaptiveIndexSetTraits< IndexSet > >::newIndex ( int  hole,
GeometryType  type 
) const
inlineinherited

return new index for given hole and type

template<class IndexSet >
static constexpr int Dune::Fem::NonAdaptiveIndexSet< IndexSet >::numberOfHoles (   ...)
inlinestaticnoexcept

return number of holes for given type

int Dune::Fem::AdaptiveIndexSet< NonAdaptiveIndexSetTraits< IndexSet > >::numberOfHoles ( GeometryType  type) const
inlineinherited

return number of holes for given type

template<class IndexSet >
static constexpr int Dune::Fem::NonAdaptiveIndexSet< IndexSet >::oldIndex (   ...)
inlinestaticnoexcept

return old index for given hole and type

int Dune::Fem::AdaptiveIndexSet< NonAdaptiveIndexSetTraits< IndexSet > >::oldIndex ( int  hole,
GeometryType  type 
) const
inlineinherited

return old index for given hole and type

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

please doc me

template<class IndexSet >
static void Dune::Fem::NonAdaptiveIndexSet< IndexSet >::removeEntity ( const typename BaseType::template Codim< 0 >::Entity &  )
inlinestatic

please doc me

template<class IndexSet >
static void Dune::Fem::NonAdaptiveIndexSet< IndexSet >::resize ( )
inlinestatic

please doc me

template<class IndexSet >
void Dune::Fem::NonAdaptiveIndexSet< IndexSet >::restore ( )
inline

please doc me

template<class IndexSet >
IndexType Dune::Fem::NonAdaptiveIndexSet< IndexSet >::size ( GeometryType  type) const
inline

return number of entities of given type

template<class IndexSet >
IndexType Dune::Fem::NonAdaptiveIndexSet< IndexSet >::size ( int  codim) const
inline

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

return index for given subentity

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

return index for given subentity

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

return index for given subentity

template<class IndexSet >
BaseType::Types Dune::Fem::NonAdaptiveIndexSet< IndexSet >::types ( int  codim) const
inline

return range of geometry types

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

please doc me

Member Data Documentation

const int Dune::Fem::IndexSet< NonAdaptiveIndexSetTraits< IndexSet > >::dimension
staticinherited

grid dimension


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