dune-grid 2.9.0
|
#include <dune/grid/geometrygrid/indexsets.hh>
Public Types | |
typedef Base::IndexType | IndexType |
typedef Base::Types | Types |
Public Member Functions | |
IndexSet ()=default | |
IndexSet (const HostIndexSet &hostIndexSet) | |
IndexSet (const This &)=delete | |
IndexSet (This &&)=delete | |
IndexSet & | operator= (const This &)=delete |
IndexSet & | operator= (This &&)=delete |
template<int cc> | |
IndexType | index (const typename Traits::template Codim< cc >::Entity &entity) const |
template<int cc> | |
IndexType | subIndex (const typename Traits::template Codim< cc >::Entity &entity, int i, unsigned int codim) const |
std::size_t | size (GeometryType type) const |
std::size_t | size (int codim) const |
template<class Entity > | |
bool | contains (const Entity &entity) const |
Types | types (int codim) const |
const std::vector< GeometryType > & | geomTypes (int codim) const |
operator bool () const | |
void | reset () |
void | reset (const HostIndexSet &hostIndexSet) |
template<int cc> | |
IndexType | index (const typename Traits::template Codim< cc >::Entity &e) const |
Map entity to index. The result of calling this method with an entity that is not in the index set is undefined. More... | |
template<class Entity > | |
IndexType | index (const Entity &e) const |
Map entity to index. Easier to use than the above because codimension template parameter need not be supplied explicitly. The result of calling this method with an entity that is not in the index set is undefined. More... | |
template<int cc> | |
IndexType | subIndex (const typename Traits::template Codim< cc >::Entity &e, int i, unsigned int codim) const |
Map a subentity to an index. More... | |
template<class Entity > | |
IndexType | subIndex (const Entity &e, int i, unsigned int codim) const |
Map a subentity to an index. More... | |
Index access from entity | |
IndexType | index (const typename Traits::template Codim< cc >::Entity &e) const |
Map entity to index. The result of calling this method with an entity that is not in the index set is undefined. More... | |
IndexType | index (const Entity &e) const |
Map entity to index. Easier to use than the above because codimension template parameter need not be supplied explicitly. The result of calling this method with an entity that is not in the index set is undefined. More... | |
IndexType | subIndex (const typename Traits::template Codim< cc >::Entity &e, int i, unsigned int codim) const |
Map a subentity to an index. More... | |
IndexType | subIndex (const Entity &e, int i, unsigned int codim) const |
Map a subentity to an index. More... | |
Access to entity set | |
bool | contains (const Entity &e) const |
Return true if the given entity is contained in . More... | |
Static Public Attributes | |
static const int | dimension = Traits::dimension |
typedef Base::IndexType Dune::GeoGrid::IndexSet< Grid, HostIndexSet >::IndexType |
typedef Base::Types Dune::GeoGrid::IndexSet< Grid, HostIndexSet >::Types |
|
default |
|
inlineexplicit |
|
delete |
|
delete |
|
inlineinherited |
Return true if the given entity is contained in .
|
inline |
|
inline |
|
inlineinherited |
Map entity to index. Easier to use than the above because codimension template parameter need not be supplied explicitly. The result of calling this method with an entity that is not in the index set is undefined.
e | Reference to codim cc entity. Since entity knows its codimension, automatic extraction is possible. |
|
inline |
Map entity to index. Easier to use than the above because codimension template parameter need not be supplied explicitly. The result of calling this method with an entity that is not in the index set is undefined.
e | Reference to codim cc entity. Since entity knows its codimension, automatic extraction is possible. |
|
inlineinherited |
Map entity to index. The result of calling this method with an entity that is not in the index set is undefined.
e | Reference to codim cc entity, where cc is the template parameter of the function. |
|
inline |
Map entity to index. The result of calling this method with an entity that is not in the index set is undefined.
e | Reference to codim cc entity, where cc is the template parameter of the function. |
|
inline |
|
inlineexplicit |
|
delete |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
Map a subentity to an index.
The result of calling this method with an entity that is not in the index set is undefined.
Entity | type of entity (must be GridImp::Codim< cc >::Entity for some cc) |
[in] | e | reference to entity |
[in] | i | number subentity of e within the codimension |
[in] | codim | codimension of the subentity we're interested in |
codim
denotes the codimension with respect to the grid, i.e., it must satisfy cc <= codim <= dimension.
|
inline |
Map a subentity to an index.
The result of calling this method with an entity that is not in the index set is undefined.
Entity | type of entity (must be GridImp::Codim< cc >::Entity for some cc) |
[in] | e | reference to entity |
[in] | i | number subentity of e within the codimension |
[in] | codim | codimension of the subentity we're interested in |
codim
denotes the codimension with respect to the grid, i.e., it must satisfy cc <= codim <= dimension.
|
inlineinherited |
Map a subentity to an index.
The result of calling this method with an entity that is not in the index set is undefined.
cc | codimension of the entity |
[in] | e | reference to codimension cc entity |
[in] | i | number subentity of e within the codimension |
[in] | codim | codimension of the subentity we're interested in |
codim
denotes the codimension with respect to the grid, i.e., it must satisfy cc <= codim <= dimension.
|
inline |
Map a subentity to an index.
The result of calling this method with an entity that is not in the index set is undefined.
cc | codimension of the entity |
[in] | e | reference to codimension cc entity |
[in] | i | number subentity of e within the codimension |
[in] | codim | codimension of the subentity we're interested in |
codim
denotes the codimension with respect to the grid, i.e., it must satisfy cc <= codim <= dimension.
|
inline |
|
inline |
|
static |