Dune::ALU2dGridIntersectionBase< GridImp > Class Template Reference

#include <iterator.hh>

Inheritance diagram for Dune::ALU2dGridIntersectionBase< GridImp >:

Dune::IntersectionIteratorDefaultImplementation< GridImp, IntersectionIteratorImp >

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)
 Constructor.
 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
template<class EntityType>
void first (const EntityType &en, int wLevel)
 reset IntersectionIterator to first neighbour
virtual void setFirstItem (const HElementType &elem, int wLevel)
 reset IntersectionIterator to first neighbour

Constructor & Destructor Documentation

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

Constructor.

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

References Dune::ALU2dGridIntersectionBase< GridImp >::setFirstItem().


Member Function Documentation

template<class GridImp>
int Dune::ALU2dGridIntersectionBase< GridImp >::level (  )  const [inline]

return level of inside(entity)

return level of inside() entitiy

template<class GridImp, template< class > class IntersectionIteratorImp>
FieldVector<ct, dimworld> Dune::IntersectionIteratorDefaultImplementation< GridImp, IntersectionIteratorImp >::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 files:

Generated on 6 Nov 2008 with Doxygen (ver 1.5.6) [logfile].