|
dune-grid 2.8.0
|
Loading...
Searching...
No Matches
identitygridindexsets.hh
Go to the documentation of this file.
42 int subIndex (const typename GridImp::Traits::template Codim<cc>::Entity& e, int i, int codim) const
127 int index (const typename std::remove_const<GridImp>::type::template Codim<codim>::Entity& e) const
139 int subIndex (const typename std::remove_const<GridImp>::type::Traits::template Codim<cc>::Entity& e, int i, int codim) const
216 IdType id (const typename std::remove_const<GridImp>::type::Traits::template Codim<cd>::Entity& e) const
228 IdType subId (const typename std::remove_const<GridImp>::type::Traits::template Codim<0>::Entity& e, int i, int codim) const
270 IdType id (const typename std::remove_const<GridImp>::type::Traits::template Codim<cd>::Entity& e) const
282 IdType subId (const typename std::remove_const<GridImp>::type::template Codim<0>::Entity& e, int i, int codim) const
Provides base classes for index and id sets.
Include standard header files.
Definition identitygridindexsets.hh:24
bool contains(const EntityType &e) const
Return true if the given entity is contained in the index set.
Definition identitygridindexsets.hh:75
int index(const typename GridImp::Traits::template Codim< codim >::Entity &e) const
get index of an entity
Definition identitygridindexsets.hh:34
std::remove_const< GridImp >::type::HostGridType HostGrid
Definition identitygridindexsets.hh:27
const std::vector< GeometryType > & geomTypes(int codim) const
Deliver all geometry types used in this grid.
Definition identitygridindexsets.hh:62
Types types(int codim) const
Deliver all geometry types used in this grid.
Definition identitygridindexsets.hh:68
std::size_t size(GeometryType type) const
get number of entities of given codim, type and on this level
Definition identitygridindexsets.hh:55
HostGrid::LevelGridView::IndexSet::Types Types
Definition identitygridindexsets.hh:28
std::size_t size(int codim) const
get number of entities of given codim, type and on this level
Definition identitygridindexsets.hh:49
int subIndex(const typename GridImp::Traits::template Codim< cc >::Entity &e, int i, int codim) const
get index of subEntity of a codim 0 entity
Definition identitygridindexsets.hh:42
void update(const GridImp &grid, int level)
Set up the index set.
Definition identitygridindexsets.hh:81
Definition identitygridindexsets.hh:101
IdentityGridLeafIndexSet(const GridImp &grid)
constructor stores reference to a grid and level
Definition identitygridindexsets.hh:116
std::size_t size(int codim) const
get number of entities of given codim
Definition identitygridindexsets.hh:153
bool contains(const EntityType &e) const
Return true if the given entity is contained in the index set.
Definition identitygridindexsets.hh:173
std::size_t size(GeometryType type) const
get number of entities of given type
Definition identitygridindexsets.hh:146
HostGrid::LevelGridView::IndexSet::Types Types
Definition identitygridindexsets.hh:106
int index(const typename std::remove_const< GridImp >::type::template Codim< codim >::Entity &e) const
get index of an entity
Definition identitygridindexsets.hh:127
int subIndex(const typename std::remove_const< GridImp >::type::Traits::template Codim< cc >::Entity &e, int i, int codim) const
get index of subEntity of a codim 0 entity
Definition identitygridindexsets.hh:139
Types types(int codim) const
Deliver all geometry types used in this grid.
Definition identitygridindexsets.hh:166
void update(const GridImp &grid)
Definition identitygridindexsets.hh:181
const std::vector< GeometryType > & geomTypes(int codim) const
Deliver all geometry types used in this grid.
Definition identitygridindexsets.hh:160
Definition identitygridindexsets.hh:197
IdentityGridGlobalIdSet(const GridImp &g)
constructor stores reference to a grid
Definition identitygridindexsets.hh:204
HostGrid::Traits::GlobalIdSet::IdType IdType
define the type used for persistent indices
Definition identitygridindexsets.hh:207
IdType subId(const typename std::remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity &e, int i, int codim) const
get id of subEntity
Definition identitygridindexsets.hh:228
IdType id(const typename std::remove_const< GridImp >::type::Traits::template Codim< cd >::Entity &e) const
get id of an entity
Definition identitygridindexsets.hh:216
Definition identitygridindexsets.hh:249
IdType subId(const typename std::remove_const< GridImp >::type::template Codim< 0 >::Entity &e, int i, int codim) const
get id of subEntity
Definition identitygridindexsets.hh:282
IdentityGridLocalIdSet(const GridImp &g)
constructor stores reference to a grid
Definition identitygridindexsets.hh:261
IdType id(const typename std::remove_const< GridImp >::type::Traits::template Codim< cd >::Entity &e) const
get id of an entity
Definition identitygridindexsets.hh:270
HostGrid::Traits::LocalIdSet::IdType IdType
define the type used for persistent local ids
Definition identitygridindexsets.hh:257
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8