dune-grid 2.9.0
Public Types | Public Member Functions | List of all members
Dune::IdentityGridLeafIntersectionIterator< GridImp > Class Template Reference

Iterator over all element neighborsMesh entities of codimension 0 ("elements") allow to visit all neighbors, where a neighbor is an entity of codimension 0 which has a common entity of codimension 1 These neighbors are accessed via a IntersectionIterator. This allows the implement non-matching meshes. The number of neighbors may be different from the number of an element! More...

#include <dune/grid/identitygrid/identitygridintersectioniterator.hh>

Public Types

typedef Dune::Intersection< const GridImp, Dune::IdentityGridLeafIntersection< GridImp > > Intersection
 

Public Member Functions

 IdentityGridLeafIntersectionIterator ()
 
 IdentityGridLeafIntersectionIterator (const GridImp *identityGrid, const HostLeafIntersectionIterator &hostIterator)
 
bool equals (const IdentityGridLeafIntersectionIterator &other) const
 equality More...
 
void increment ()
 prefix increment More...
 
Intersection dereference () const
 dereferencing More...
 

Detailed Description

template<class GridImp>
class Dune::IdentityGridLeafIntersectionIterator< GridImp >

Iterator over all element neighbors

Mesh entities of codimension 0 ("elements") allow to visit all neighbors, where a neighbor is an entity of codimension 0 which has a common entity of codimension 1 These neighbors are accessed via a IntersectionIterator. This allows the implement non-matching meshes. The number of neighbors may be different from the number of an element!

Member Typedef Documentation

◆ Intersection

template<class GridImp >
typedef Dune::Intersection<const GridImp, Dune::IdentityGridLeafIntersection<GridImp> > Dune::IdentityGridLeafIntersectionIterator< GridImp >::Intersection

Constructor & Destructor Documentation

◆ IdentityGridLeafIntersectionIterator() [1/2]

template<class GridImp >
Dune::IdentityGridLeafIntersectionIterator< GridImp >::IdentityGridLeafIntersectionIterator ( )
inline

◆ IdentityGridLeafIntersectionIterator() [2/2]

template<class GridImp >
Dune::IdentityGridLeafIntersectionIterator< GridImp >::IdentityGridLeafIntersectionIterator ( const GridImp *  identityGrid,
const HostLeafIntersectionIterator &  hostIterator 
)
inline

Member Function Documentation

◆ dereference()

template<class GridImp >
Intersection Dune::IdentityGridLeafIntersectionIterator< GridImp >::dereference ( ) const
inline

dereferencing

◆ equals()

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

equality

◆ increment()

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

prefix increment


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