Dune::AlbertaGridIntersectionIterator< GridImp > Class Template Reference

#include <intersection.hh>

List of all members.


Detailed Description

template<class GridImp>
class Dune::AlbertaGridIntersectionIterator< 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 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 of an element!

Public Types

typedef GridImp::ctype ctype
 define type used for coordinates in grid module
typedef FieldVector< ctype,
GridImp::dimensionworld > 
NormalVector

Public Member Functions

 AlbertaGridIntersectionIterator (const GridImp &grid, int level)
 The default Constructor.
 AlbertaGridIntersectionIterator (const This &other)
 The copy constructor.
bool equals (const This &other) const
 equality
void increment ()
 increment
EntityPointer outside () const
 access neighbor
EntityPointer inside () const
 access element where IntersectionIterator started
void assign (const This &other)
 assignment operator, implemented because default does not the right thing
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 intersection is conform.
const LocalGeometry & intersectionSelfLocal () const
const LocalGeometry & intersectionNeighborLocal () const
const GeometryintersectionGlobal () 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 in
int twistInSelf () const
 twist of the face seen from the inner element
int twistInNeighbor () const
 twist of the face seen from the outer element
const NormalVector outerNormal (const LocalCoordType &local) const
const NormalVector integrationOuterNormal (const LocalCoordType &local) const

Static Public Attributes

static const int dimension = GridImp::dimension
 know your own dimension
static const int dimensionworld = GridImp::dimensionworld
 know your own dimension of world

Member Typedef Documentation

template<class GridImp>
typedef FieldVector< ctype, GridImp::dimensionworld > Dune::AlbertaGridIntersectionIterator< GridImp >::NormalVector

return unit outer normal, this should be dependent on local coordinates for higher order boundary


Member Function Documentation

template<class GridImp>
const AlbertaGridIntersectionIterator< GridImp >::LocalGeometry & Dune::AlbertaGridIntersectionIterator< 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.

References Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::build(), Dune::AlbertaGridIntersectionIterator< GridImp >::inside(), and Dune::AlbertaGridIntersectionIterator< GridImp >::intersectionGlobal().

template<class GridImp>
const AlbertaGridIntersectionIterator< GridImp >::LocalGeometry & Dune::AlbertaGridIntersectionIterator< 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

References Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::build(), Dune::AlbertaGridIntersectionIterator< GridImp >::intersectionGlobal(), Dune::AlbertaGridIntersectionIterator< GridImp >::neighbor(), and Dune::AlbertaGridIntersectionIterator< GridImp >::outside().

template<class GridImp>
const AlbertaGridIntersectionIterator< GridImp >::Geometry & Dune::AlbertaGridIntersectionIterator< 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.

References Dune::AlbertaGridGeometry< mydim, cdim, GridImp >::build().

Referenced by Dune::AlbertaGridIntersectionIterator< GridImp >::intersectionNeighborLocal(), and Dune::AlbertaGridIntersectionIterator< GridImp >::intersectionSelfLocal().

template<class GridImp>
const AlbertaGridIntersectionIterator< GridImp >::NormalVector Dune::AlbertaGridIntersectionIterator< GridImp >::outerNormal ( const LocalCoordType &  local  )  const [inline]

return outer normal, this should be dependent on local coordinates for higher order boundary

References Dune::AlbertaGridIntersectionIterator< GridImp >::integrationOuterNormal().

template<class GridImp>
const AlbertaGridIntersectionIterator< GridImp >::NormalVector Dune::AlbertaGridIntersectionIterator< GridImp >::integrationOuterNormal ( const LocalCoordType &  local  )  const [inline]

return outer normal, this should be dependent on local coordinates for higher order boundary

Referenced by Dune::AlbertaGridIntersectionIterator< GridImp >::outerNormal().


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

Generated on Sun Nov 15 22:28:51 2009 for dune-grid by  doxygen 1.5.6