Dune::SIntersectionIterator< GridImp > Class Template Reference

#include <sgrid.hh>

List of all members.


Detailed Description

template<class GridImp>
class Dune::SIntersectionIterator< GridImp >

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 with the entity. These neighbors are accessed via a IntersectionIterator. This allows the implementation of non-matching meshes. The number of neigbors may be different from the number of faces/edges of an element!

Public Types

enum  
 know your own dimension
enum  
 know your own dimension of world
typedef GridImp::ctype ctype
 define type used for coordinates in grid module

Public Member Functions

bool equals (const SIntersectionIterator< GridImp > &i) const
 equality
void increment ()
 increment
const Intersectiondereference () const
 dereferencing
EntityPointer inside () const
EntityPointer outside () const
bool boundary () const
 return true if intersection is with boundary.
bool conforming () const
 return true if intersection is conform.
bool neighbor () const
 return true if neighbor on this level exists
FieldVector< ctype,
GridImp::dimensionworld > 
outerNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const
 return outer normal
FieldVector< ctype,
GridImp::dimensionworld > 
unitOuterNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const
 return unit outer normal
FieldVector< ctype,
GridImp::dimensionworld > 
integrationOuterNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const
 return integration outer normal
LocalGeometry & intersectionSelfLocal () const
LocalGeometry & intersectionNeighborLocal () const
GeometryintersectionGlobal () const
GeometryType type () const
 obtain the type of reference element for this intersection
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 in
 SIntersectionIterator (GridImp *_grid, const SEntity< 0, dim, GridImp > *_self, int _count)
 constructor
SIntersectionIteratoroperator= (const SIntersectionIterator &it)
 assignment operator

Member Function Documentation

template<class GridImp>
EntityPointer Dune::SIntersectionIterator< GridImp >::inside (  )  const

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::SIntersectionIterator< GridImp >::outside (  )  const

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

template<class GridImp>
LocalGeometry& Dune::SIntersectionIterator< GridImp >::intersectionSelfLocal (  )  const

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.

Referenced by Dune::SIntersectionIterator< GridImp >::type().

template<class GridImp>
LocalGeometry& Dune::SIntersectionIterator< GridImp >::intersectionNeighborLocal (  )  const

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

template<class GridImp>
Geometry& Dune::SIntersectionIterator< GridImp >::intersectionGlobal (  )  const

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 Tue Jul 28 22:28:46 2009 for dune-grid by  doxygen 1.5.6