Dune::ALU2dGridIntersectionBase< GridImp > Class Template Reference

#include <iterator.hh>

Inheritance diagram for Dune::ALU2dGridIntersectionBase< GridImp >:

Dune::IntersectionIteratorDefaultImplementation< GridImp, ALU2dGridLevelIntersectionIterator > List of all members.

Detailed Description

template<class GridImp>
class Dune::ALU2dGridIntersectionBase< GridImp >

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


Public Member Functions

 ALU2dGridIntersectionBase (const GridImp &grid, int wLevel)
 The default Constructor , creating an empty ALU2dGridIntersectionIterator.
 ALU2dGridIntersectionBase (const GridImp &grid, const HElementType *el, int wLevel, bool end=true)
 ALU2dGridIntersectionBase (const ThisType &org)
 The copy constructor.
void assign (const ThisType &org)
 The copy constructor.
bool equals (const ThisType &i) const
 check whether entities are the same or whether iterator is done
int level () const
 return level of inside(entity)
bool boundary () const
 return true if intersection is with boundary
bool neighbor () const
 return true if intersection is with neighbor on this level
EntityPointer inside () const
 return EntityPointer to the Entity on the inside of this intersection.
EntityPointer outside () const
 return EntityPointer to the Entity on the outside of 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
FieldVector< ct, dimworld > integrationOuterNormal (const FieldVector< ct, dim-1 > &local) const
FieldVector< ct, dimworld > unitOuterNormal (const FieldVector< ct, dim-1 > &local) const
 return unit outer normal

Protected Member Functions

void checkValid ()
 return true if intersection is with boundary

Constructor & Destructor Documentation

template<class GridImp>
Dune::ALU2dGridIntersectionBase< GridImp >::ALU2dGridIntersectionBase ( const GridImp &  grid,
const HElementType *  el,
int  wLevel,
bool  end = true 
)

The default Constructor , level tells on which level we want neighbours


Member Function Documentation

FieldVector<ct, dimworld> Dune::IntersectionIteratorDefaultImplementation< GridImp , ALU2dGridLevelIntersectionIterator >::integrationOuterNormal ( const FieldVector< ct, dim-1 > &  local  )  const [inline, inherited]

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.


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

Generated on 9 Apr 2008 with Doxygen (ver 1.5.2) [logfile].