Enables iteration over all codim zero entities in a subtree See also the documentation of Dune::EntityPointer.
More...
Public Member Functions |
| HierarchicIterator & | operator++ () |
| | Preincrement operator.
|
|
| | HierarchicIterator (const HierarchicIteratorImp< const GridImp > &i) |
| | copy constructor from HierarchicIteratorImp
|
|
| Entity & | operator* () const |
| | Dereferencing operator.
|
| Entity * | operator-> () const |
| | Pointer operator.
|
|
| 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.
|
| 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.
|
|
| 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.
|
|
| bool | equals (const EntityPointer< GridImp, ItImp > &rhs) const |
| | Forward equality check to realIterator.
|
template<class GridImp, template< class > class HierarchicIteratorImp>
class Dune::HierarchicIterator< GridImp, HierarchicIteratorImp >
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.
- Note
- The HierarchicIterator interface is deprecated. Use the EntityIterator interface instead.