|
dune-grid
2.2.0
|
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 |
| The Entity that this EntityPointer can point to. | |
| enum | |
| codimension of entity pointer More... | |
| enum | |
Public Member Functions | |
| HierarchicIterator & | operator++ () |
| Preincrement operator. | |
Implementor interface | |
| HierarchicIterator (const HierarchicIteratorImp< const GridImp > &i) | |
| copy constructor from HierarchicIteratorImp | |
Dereferencing | |
| Entity & | operator* () const |
| Dereferencing operator. | |
| Entity * | operator-> () const |
| Pointer operator. | |
Compare methods | |
| 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. | |
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. | |
Implementor interface | |
| bool | equals (const EntityPointer< GridImp, ItImp > &rhs) const |
| Forward equality check to realIterator. | |
Protected Types | |
| typedef HierarchicIteratorImp < GridImp > | Implementation |
Protected Member Functions | |
| Implementation & | impl () |
| return reference to the real implementation | |
| const Implementation & | impl () const |
| return reference to the real implementation | |
Protected Attributes | |
| Implementation | realIterator |
Friends | |
| class | Dune::GenericLeafIterator< GridImp > |
| class | GridDefaultImplementation< GridImp::dimension, GridImp::dimensionworld, typename GridImp::ctype, typename GridImp::GridFamily > |
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.
typedef GridImp ::template Codim< codim >::Entity Dune::EntityIterator< codim, GridImp , HierarchicIteratorImp< GridImp > >::Entity [inherited] |
The Entity that this EntityPointer can point to.
Reimplemented from Dune::EntityPointer< GridImp, HierarchicIteratorImp< GridImp > >.
typedef HierarchicIteratorImp< GridImp > Dune::EntityPointer< GridImp, HierarchicIteratorImp< GridImp > >::Implementation [protected, inherited] |
anonymous enum [inherited] |
codimension of entity pointer
anonymous enum [inherited] |
| Dune::HierarchicIterator< GridImp, HierarchicIteratorImp >::HierarchicIterator | ( | const HierarchicIteratorImp< const GridImp > & | i | ) | [inline] |
copy constructor from HierarchicIteratorImp
| bool Dune::EntityPointer< GridImp, HierarchicIteratorImp< GridImp > >::equals | ( | const EntityPointer< GridImp, ItImp > & | rhs | ) | const [inline, inherited] |
Forward equality check to realIterator.
| Implementation& Dune::EntityPointer< GridImp, HierarchicIteratorImp< GridImp > >::impl | ( | ) | [inline, protected, inherited] |
return reference to the real implementation
| const Implementation& Dune::EntityPointer< GridImp, HierarchicIteratorImp< GridImp > >::impl | ( | ) | const [inline, protected, inherited] |
return reference to the real implementation
| int Dune::EntityPointer< GridImp, HierarchicIteratorImp< GridImp > >::level | ( | ) | const [inline, inherited] |
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 Dune::EntityPointer< GridImp, HierarchicIteratorImp< GridImp > >::operator!= | ( | const EntityPointer< GridImp, ItImp > & | rhs | ) | const [inline, inherited] |
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.
| Entity& Dune::EntityPointer< GridImp, HierarchicIteratorImp< GridImp > >::operator* | ( | ) | const [inline, inherited] |
Dereferencing operator.
| HierarchicIterator& Dune::HierarchicIterator< GridImp, HierarchicIteratorImp >::operator++ | ( | ) | [inline] |
Preincrement operator.
Reimplemented from Dune::EntityIterator< 0, GridImp, HierarchicIteratorImp< GridImp > >.
| Entity* Dune::EntityPointer< GridImp, HierarchicIteratorImp< GridImp > >::operator-> | ( | ) | const [inline, inherited] |
Pointer operator.
| bool Dune::EntityPointer< GridImp, HierarchicIteratorImp< GridImp > >::operator== | ( | const EntityPointer< GridImp, ItImp > & | rhs | ) | const [inline, inherited] |
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.
friend class Dune::GenericLeafIterator< GridImp > [friend, inherited] |
friend class GridDefaultImplementation< GridImp::dimension, GridImp::dimensionworld,typename GridImp::ctype,typename GridImp::GridFamily > [friend, inherited] |
Implementation Dune::EntityPointer< GridImp, HierarchicIteratorImp< GridImp > >::realIterator [protected, inherited] |
1.7.6.1