dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | List of all members
Dune::Fem::__IdIndexSet::AdaptiveIndexSet< GridFamily > Class Template Reference

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

Inheritance diagram for Dune::Fem::__IdIndexSet::AdaptiveIndexSet< GridFamily >:
Inheritance graph

Public Types

typedef BaseType::HostIndexSetType HostIndexSetType
 
typedef HostIndexSetType::IndexType IndexType
 
typedef HostIndexSetType::Types Types
 

Public Member Functions

 AdaptiveIndexSet (const typename BaseType::HostIndexSetType &hostIndexSet)
 
int numberOfHoles (GeometryType type) const
 
int numberOfHoles (int codim) const
 
int oldIndex (int hole, GeometryType type) const
 
int oldIndex (int hole, int codim) const
 
int newIndex (int hole, GeometryType type) const
 
int newIndex (int hole, int codim) const
 
void resize ()
 
bool compress ()
 
void insertEntity (const typename BaseType::template Codim< 0 >::Entity &entity)
 
void removeEntity (const typename BaseType::template Codim< 0 >::Entity &entity)
 
void backup () const
 
void restore ()
 
template<class T >
void write (OutStreamInterface< T > &stream)
 
template<class T >
void read (InStreamInterface< T > &stream)
 
const HostIndexSetTypehostIndexSet () const
 
HostIndexSetTypehostIndexSet ()
 
Types types (int codim) const
 
const std::vector< GeometryType > & geomTypes (int codim) const
 
template<class Entity >
bool contains (const Entity &entity) const
 
IndexType size (GeometryType type) const
 
IndexType size (int codim) const
 
template<class Entity >
IndexType index (const Entity &entity) const
 
template<int codim>
IndexType index (const typename Codim< codim >::Entity &entity) const
 
template<class Entity >
IndexType subIndex (const Entity &entity, int i, unsigned int cd) const
 
template<int codim>
IndexType subIndex (const typename Codim< codim >::Entity &entity, int i, unsigned int cd) const
 
void requestCodimensions (const std::vector< int > &codimensions) const
 

Static Public Attributes

static const int dimension = HostIndexSetType::dimension
 

Protected Types

typedef std::remove_const< GridFamily >::type::Traits Traits
 

Protected Member Functions

HostIndexSetTypehostIndexSet ()
 

Member Typedef Documentation

◆ HostIndexSetType

template<class GridFamily >
typedef BaseType::HostIndexSetType Dune::Fem::__IdIndexSet::ConsecutiveIndexSet< GridFamily >::HostIndexSetType
inherited

◆ IndexType

template<class GridFamily >
typedef HostIndexSetType::IndexType Dune::Fem::__IdIndexSet::IndexSet< GridFamily >::IndexType
inherited

◆ Traits

template<class GridFamily >
typedef std::remove_const<GridFamily>::type::Traits Dune::Fem::__IdIndexSet::IndexSet< GridFamily >::Traits
protectedinherited

◆ Types

template<class GridFamily >
typedef HostIndexSetType::Types Dune::Fem::__IdIndexSet::IndexSet< GridFamily >::Types
inherited

Constructor & Destructor Documentation

◆ AdaptiveIndexSet()

template<class GridFamily >
Dune::Fem::__IdIndexSet::AdaptiveIndexSet< GridFamily >::AdaptiveIndexSet ( const typename BaseType::HostIndexSetType hostIndexSet)
inlineexplicit

Member Function Documentation

◆ backup()

template<class GridFamily >
void Dune::Fem::__IdIndexSet::ConsecutiveIndexSet< GridFamily >::backup ( ) const
inlineinherited

◆ compress()

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

◆ contains()

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

◆ geomTypes()

template<class GridFamily >
const std::vector< GeometryType > & Dune::Fem::__IdIndexSet::IndexSet< GridFamily >::geomTypes ( int  codim) const
inlineinherited

◆ hostIndexSet() [1/3]

template<class GridFamily >
HostIndexSetType & Dune::Fem::__IdIndexSet::IndexSet< GridFamily >::hostIndexSet ( )
inlineinherited

◆ hostIndexSet() [2/3]

template<class GridFamily >
HostIndexSetType & Dune::Fem::__IdIndexSet::ConsecutiveIndexSet< GridFamily >::hostIndexSet ( )
inlineprotectedinherited

◆ hostIndexSet() [3/3]

template<class GridFamily >
const HostIndexSetType & Dune::Fem::__IdIndexSet::IndexSet< GridFamily >::hostIndexSet ( ) const
inlineinherited

◆ index() [1/2]

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

◆ index() [2/2]

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

◆ insertEntity()

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

◆ newIndex() [1/2]

template<class GridFamily >
int Dune::Fem::__IdIndexSet::AdaptiveIndexSet< GridFamily >::newIndex ( int  hole,
GeometryType  type 
) const
inline

◆ newIndex() [2/2]

template<class GridFamily >
int Dune::Fem::__IdIndexSet::AdaptiveIndexSet< GridFamily >::newIndex ( int  hole,
int  codim 
) const
inline

◆ numberOfHoles() [1/2]

template<class GridFamily >
int Dune::Fem::__IdIndexSet::AdaptiveIndexSet< GridFamily >::numberOfHoles ( GeometryType  type) const
inline

◆ numberOfHoles() [2/2]

template<class GridFamily >
int Dune::Fem::__IdIndexSet::AdaptiveIndexSet< GridFamily >::numberOfHoles ( int  codim) const
inline

◆ oldIndex() [1/2]

template<class GridFamily >
int Dune::Fem::__IdIndexSet::AdaptiveIndexSet< GridFamily >::oldIndex ( int  hole,
GeometryType  type 
) const
inline

◆ oldIndex() [2/2]

template<class GridFamily >
int Dune::Fem::__IdIndexSet::AdaptiveIndexSet< GridFamily >::oldIndex ( int  hole,
int  codim 
) const
inline

◆ read()

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

◆ removeEntity()

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

◆ requestCodimensions()

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

◆ resize()

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

◆ restore()

template<class GridFamily >
void Dune::Fem::__IdIndexSet::ConsecutiveIndexSet< GridFamily >::restore ( )
inlineinherited

◆ size() [1/2]

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

◆ size() [2/2]

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

◆ subIndex() [1/2]

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

◆ subIndex() [2/2]

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

◆ types()

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

◆ write()

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

Member Data Documentation

◆ dimension

template<class GridFamily >
const int Dune::Fem::__IdIndexSet::IndexSet< GridFamily >::dimension = HostIndexSetType::dimension
staticinherited

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