|
dune-grid
2.3.1
|
Enables iteration over all codim zero entities in a subtree See also the documentation of Dune::EntityPointer. More...
#include <dune/grid/common/hierarchiciterator.hh>

Public Types | |
| typedef GridImp::template Codim< codim >::Entity | Entity |
| enum | { codimension = IteratorImp::codimension } |
| codimension of entity pointer More... | |
| enum | { codim = IteratorImp::codimension } |
Public Member Functions | |
| HierarchicIterator & | operator++ () |
| Preincrement operator. More... | |
Dereferencing | |
| Entity & | operator* () const |
| Dereferencing operator. More... | |
| Entity * | operator-> () const |
| Pointer operator. More... | |
Compare methods | |
| template<class ItImp > | |
| bool | operator== (const EntityPointer< GridImp, ItImp > &rhs) const |
| Checks for equality. Only works for EntityPointers and iterators on the same grid. Due to the conversion operators one can compare all kinds of iterators and EntityPointer. More... | |
| template<class ItImp > | |
| bool | operator!= (const EntityPointer< GridImp, ItImp > &rhs) const |
| Checks for inequality. Only works for EntityPointers and iterators on the same grid. Due to the conversion operators one can compare all kinds of iterators and EntityPointer. More... | |
Query methods | |
| int | level () const |
| Ask for level of entity. This method is redundant and is only there for efficiency reasons. It allows an implementation to return the level without actually constructing the entity. More... | |
Implementor interface | |
| template<class ItImp > | |
| bool | equals (const EntityPointer< GridImp, ItImp > &rhs) const |
| Forward equality check to realIterator. More... | |
Protected Types | |
| typedef IteratorImp | Implementation |
Protected Member Functions | |
| Implementation & | impl () |
| return reference to the real implementation More... | |
| const Implementation & | impl () const |
| return reference to the real implementation More... | |
Protected Attributes | |
| Implementation | realIterator |
Enables iteration over all codim zero entities in a subtree See also the documentation of Dune::EntityPointer.
Mesh entities of codimension 0 ("elements") allow to visit all entities of codimension 0 obtained through nested, hierarchic refinement of the entity. Iteration over this set of entities is provided by the HierarchicIterator, starting from a given entity. This is redundant but important for memory efficient implementations of unstructured hierarchically refined meshes.
|
inherited |
|
protectedinherited |
|
inherited |
|
inherited |
| Enumerator | |
|---|---|
| codim |
The codimension of this EntityPointer. |
|
inlineinherited |
Forward equality check to realIterator.
Referenced by Dune::EntityPointer< Grid, IteratorImp >::operator!=(), and Dune::EntityPointer< Grid, IteratorImp >::operator==().
|
inlineprotectedinherited |
return reference to the real implementation
|
inlineprotectedinherited |
return reference to the real implementation
|
inlineinherited |
Ask for level of entity. This method is redundant and is only there for efficiency reasons. It allows an implementation to return the level without actually constructing the entity.
|
inlineinherited |
Checks for inequality. Only works for EntityPointers and iterators on the same grid. Due to the conversion operators one can compare all kinds of iterators and EntityPointer.
|
inlineinherited |
Dereferencing operator.
|
inline |
Preincrement operator.
|
inlineinherited |
Pointer operator.
|
inlineinherited |
Checks for equality. Only works for EntityPointers and iterators on the same grid. Due to the conversion operators one can compare all kinds of iterators and EntityPointer.
|
protectedinherited |
Referenced by Dune::EntityPointer< Grid, IteratorImp >::equals(), Dune::EntityPointer< Grid, IteratorImp >::impl(), Dune::EntityPointer< Grid, IteratorImp >::level(), Dune::EntityPointer< Grid, IteratorImp >::operator*(), Dune::LeafIterator< codim, pitype, GridImp, LeafIteratorImp >::operator++(), Dune::EntityPointer< Grid, IteratorImp >::operator->(), and Dune::EntityPointer< Grid, IteratorImp >::operator=().
1.8.7