Dune::IdentityGridLeafIntersectionIterator< GridImp > Class Template Reference

#include <identitygridintersectioniterator.hh>

List of all members.


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!


Public Member Functions

 ~IdentityGridLeafIntersectionIterator ()
 The Destructor.
bool equals (const IdentityGridLeafIntersectionIterator< GridImp > &other) const
 equality
void increment ()
 prefix increment
const Intersection & dereference () const
 dereferencing
EntityPointer inside () const
EntityPointer outside () const
bool boundary () const
 return true if intersection is with boundary.
bool neighbor () const
 return true if across the edge an neighbor on this level exists
int boundaryId () const
 return information about the Boundary
bool conforming () const
 Return true if this is a conforming intersection.
GeometryType type () const
 Geometry type of an intersection.
const LocalGeometry & intersectionSelfLocal () const
const LocalGeometry & intersectionNeighborLocal () const
const Geometry & intersectionGlobal () const
int numberInSelf () const
 local number of codim 1 entity in self where intersection is contained in
int numberInNeighbor () const
 local number of codim 1 entity in neighbor where intersection is contained
FieldVector< ctype,
GridImp::dimensionworld > 
outerNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const
 return outer normal
FieldVector< ctype,
GridImp::dimensionworld > 
integrationOuterNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const
 return outer normal multiplied by the integration element
FieldVector< ctype,
GridImp::dimensionworld > 
unitOuterNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const
 return unit outer normal

Member Function Documentation

template<class GridImp>
EntityPointer Dune::IdentityGridLeafIntersectionIterator< GridImp >::inside (  )  const [inline]

return EntityPointer to the Entity on the inside of this intersection (that is the Entity where we started this Iterator)

template<class GridImp>
EntityPointer Dune::IdentityGridLeafIntersectionIterator< GridImp >::outside (  )  const [inline]

return EntityPointer to the Entity on the outside of this intersection (that is the neighboring Entity)

template<class GridImp>
const LocalGeometry& Dune::IdentityGridLeafIntersectionIterator< GridImp >::intersectionSelfLocal (  )  const [inline]

intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of the element where iteration started.

template<class GridImp>
const LocalGeometry& Dune::IdentityGridLeafIntersectionIterator< GridImp >::intersectionNeighborLocal (  )  const [inline]

intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor

template<class GridImp>
const Geometry& Dune::IdentityGridLeafIntersectionIterator< GridImp >::intersectionGlobal (  )  const [inline]

intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in GLOBAL coordinates of the element where iteration started.


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

Generated on 2 Apr 2009 with Doxygen (ver 1.5.6)