Dune::YaspIntersectionIterator< GridImp > Class Template Reference

#include <yaspgrid.hh>

List of all members.


Detailed Description

template<class GridImp>
class Dune::YaspIntersectionIterator< GridImp >

YaspIntersectionIterator enables iteration over intersection with neighboring codim 0 entities.

Public Member Functions

void increment ()
 increment
bool equals (const YaspIntersectionIterator &other) const
 equality
const Intersectiondereference () const
 dereferencing
bool boundary () const
bool neighbor () const
 return true if neighbor across intersection exists in this processor
bool conforming () const
 Yasp is always conform.
EntityPointer inside () const
EntityPointer outside () const
int boundaryId () const
FieldVector< ctype, dimworld > outerNormal (const FieldVector< ctype, dim-1 > &local) const
 return unit outer normal, this should be dependent on local coordinates for higher order boundary
FieldVector< ctype, dimworld > unitOuterNormal (const FieldVector< ctype, dim-1 > &local) const
 return unit outer normal, this should be dependent on local coordinates for higher order boundary
FieldVector< ctype, dimworld > integrationOuterNormal (const FieldVector< ctype, dim-1 > &local) const
const LocalGeometry & intersectionSelfLocal () const
const LocalGeometry & intersectionNeighborLocal () const
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
 YaspIntersectionIterator (const YaspEntity< 0, dim, GridImp > &myself, bool toend)
 make intersection iterator from entity
 YaspIntersectionIterator (const YaspIntersectionIterator &it)
 copy constructor
YaspIntersectionIteratoroperator= (const YaspIntersectionIterator &it)
 assignment

Member Function Documentation

template<class GridImp>
bool Dune::YaspIntersectionIterator< GridImp >::boundary (  )  const [inline]

return true if neighbor ist outside the domain. Still the neighbor might exist in case of periodic boundary conditions, i.e. true is returned if the neighbor is outside the periodic unit cell

template<class GridImp>
EntityPointer Dune::YaspIntersectionIterator< 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::YaspIntersectionIterator< GridImp >::outside (  )  const [inline]

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

template<class GridImp>
int Dune::YaspIntersectionIterator< GridImp >::boundaryId (  )  const [inline]

identifier for boundary segment from macro grid (attach your boundary condition as needed)

template<class GridImp>
FieldVector<ctype, dimworld> Dune::YaspIntersectionIterator< GridImp >::integrationOuterNormal ( const FieldVector< ctype, dim-1 > &  local  )  const [inline]

return unit outer normal, this should be dependent on local coordinates for higher order boundary the normal is scaled with the integration element of the intersection.

template<class GridImp>
const LocalGeometry& Dune::YaspIntersectionIterator< 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::YaspIntersectionIterator< 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::YaspIntersectionIterator< GridImp >::intersectionGlobal (  )  const [inline]

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


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

Generated on Thu Apr 2 10:40:48 2009 for dune-grid by  doxygen 1.5.6