Enables iteration over all entities of a given codimension and level of a grid. See also the documentation of Dune::EntityPointer.
More...
#include <dune/grid/common/leveliterator.hh>
Public Member Functions |
LevelIterator & | operator++ () |
| Preincrement operator.
|
|
| LevelIterator (const LevelIteratorImp< codim, pitype, const GridImp > &i) |
| copy constructor from LevelIteratorImp
|
|
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.
|
Detailed Description
template<int codim, PartitionIteratorType pitype, class GridImp, template< int, PartitionIteratorType, class > class LevelIteratorImp>
class Dune::LevelIterator< codim, pitype, GridImp, LevelIteratorImp >
Enables iteration over all entities of a given codimension and level of a grid. See also the documentation of Dune::EntityPointer.
- Note
- The LevelIterator interface is deprecated. Use the EntityIterator interface instead.
Member Typedef Documentation
Member Enumeration Documentation
codimension of entity pointer
Constructor & Destructor Documentation
template<int codim, PartitionIteratorType pitype, class GridImp , template< int, PartitionIteratorType, class > class LevelIteratorImp>
Member Function Documentation
template<int codim, PartitionIteratorType pitype, class GridImp , template< int, PartitionIteratorType, class > class LevelIteratorImp>
Member Data Documentation
The documentation for this class was generated from the following file: