dune-grid-dev-howto  2.3beta2
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 (const GridImp *identityGrid, const HostLeafIntersectionIterator &hostIterator)
 ~IdentityGridLeafIntersectionIterator ()
 The Destructor.
bool equals (const IdentityGridLeafIntersectionIterator< GridImp > &other) const
 equality
void increment ()
 prefix increment
const Intersectiondereference () const
 dereferencing

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

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

Constructor & Destructor Documentation

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

The Destructor.

Member Function Documentation

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

dereferencing

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

equality

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

prefix increment


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