dune-foamgrid 2.8.0
|
Iterator over the descendants of an entity.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. More...
#include <dune/foamgrid/foamgrid/foamgridhierarchiciterator.hh>
Public Types | |
enum | { codimension = 0 } |
We only iterate over elements with this iterator. More... | |
using | Entity = typename GridImp::template Codim< 0 >::Entity |
Public Member Functions | |
FoamGridHierarchicIterator (EntityImpPointer target, int maxLevel) | |
Constructor with element impl (begin iterator) | |
FoamGridHierarchicIterator (int maxLevel) | |
Constructor without valid element (end iterator) | |
void | increment () |
const Entity & | dereference () const |
dereferencing | |
bool | equals (const FoamGridHierarchicIterator< GridImp > &other) const |
equality | |
Iterator over the descendants of an entity.
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.
using Dune::FoamGridHierarchicIterator< GridImp >::Entity = typename GridImp::template Codim<0>::Entity |
anonymous enum |
|
inline |
Constructor with element impl (begin iterator)
|
inline |
Constructor without valid element (end iterator)
|
inline |
dereferencing
|
inline |
equality
|
inline |