dune-mmesh 1.4.1-git
Loading...
Searching...
No Matches
Dune::MMeshInterfaceGridHierarchicIterator< GridImp > Class Template Reference

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/mmesh/interface/hierarchiciterator.hh>

Public Types

enum  { codimension = 0 }
 
typedef GridImp::template Codim< 0 >::Entity Entity
 

Public Member Functions

 MMeshInterfaceGridHierarchicIterator (const GridImp *mMesh, const Entity &startEntity, int maxLevel)
 the default constructor of the iterator
 
 MMeshInterfaceGridHierarchicIterator (const GridImp *mMesh, const Entity &startEntity, int maxLevel, bool endDummy)
 the constructor of the end iterator
 
void increment ()
 increment iterator
 
Entity dereference () const
 dereference iterator
 
bool equals (const MMeshInterfaceGridHierarchicIterator &other) const
 compare iterators
 

Detailed Description

template<class GridImp>
class Dune::MMeshInterfaceGridHierarchicIterator< GridImp >

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.

Member Typedef Documentation

◆ Entity

template<class GridImp >
typedef GridImp::template Codim<0>::Entity Dune::MMeshInterfaceGridHierarchicIterator< GridImp >::Entity

Member Enumeration Documentation

◆ anonymous enum

template<class GridImp >
anonymous enum
Enumerator
codimension 

Constructor & Destructor Documentation

◆ MMeshInterfaceGridHierarchicIterator() [1/2]

template<class GridImp >
Dune::MMeshInterfaceGridHierarchicIterator< GridImp >::MMeshInterfaceGridHierarchicIterator ( const GridImp *  mMesh,
const Entity startEntity,
int  maxLevel 
)
inlineexplicit

the default constructor of the iterator

◆ MMeshInterfaceGridHierarchicIterator() [2/2]

template<class GridImp >
Dune::MMeshInterfaceGridHierarchicIterator< GridImp >::MMeshInterfaceGridHierarchicIterator ( const GridImp *  mMesh,
const Entity startEntity,
int  maxLevel,
bool  endDummy 
)
inlineexplicit

the constructor of the end iterator

Member Function Documentation

◆ dereference()

template<class GridImp >
Entity Dune::MMeshInterfaceGridHierarchicIterator< GridImp >::dereference ( ) const
inline

dereference iterator

◆ equals()

template<class GridImp >
bool Dune::MMeshInterfaceGridHierarchicIterator< GridImp >::equals ( const MMeshInterfaceGridHierarchicIterator< GridImp > &  other) const
inline

compare iterators

◆ increment()

template<class GridImp >
void Dune::MMeshInterfaceGridHierarchicIterator< GridImp >::increment ( )
inline

increment iterator


The documentation for this class was generated from the following file: