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::ConsecutiveIndexSet< GridFamily > Class Template Reference

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

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

Public Types

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

Public Member Functions

 ConsecutiveIndexSet (const HostIndexSetType &hostIndexSet)
 
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

◆ 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

◆ ConsecutiveIndexSet()

template<class GridFamily >
Dune::Fem::__IdIndexSet::ConsecutiveIndexSet< GridFamily >::ConsecutiveIndexSet ( const HostIndexSetType hostIndexSet)
inlineexplicit

Member Function Documentation

◆ backup()

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

◆ compress()

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

◆ 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 ( )
inline

◆ hostIndexSet() [2/3]

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

◆ hostIndexSet() [3/3]

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

◆ 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)
inline

◆ read()

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

◆ removeEntity()

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

◆ 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 ( )
inline

◆ restore()

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

◆ 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)
inline

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: