Dune::YaspIntersectionIterator< GridImp > Class Template Reference

#include <yaspgrid.hh>

Inheritance diagram for Dune::YaspIntersectionIterator< GridImp >:

Dune::YaspEntityPointer< 0, GridImp > Dune::IntersectionIteratorDefaultImplementation< GridImp, IntersectionIteratorImp > Dune::EntityPointerDefaultImplementation< codim, GridImp, Dune::YaspEntityPointer< codim, GridImp > > List of all members.

Detailed Description

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

YaspIntersectionIterator enables iteration over intersection with neighboring codim 0 entities.


Public Types

enum  
 codimension of entity pointer

Public Member Functions

void increment ()
 increment
bool boundary () const
bool neighbor () const
 return true if neighbor across intersection exists in this processor
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
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
 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
bool equals (const YaspEntityPointer &rhs) const
 equality
Entitydereference () const
 dereferencing
int level () const
 ask for level of entity
FieldVector< ct, dimworld > integrationOuterNormal (const FieldVector< ct, dim-1 > &local) const

Protected Attributes

SpecialEntity _entity
 virtual entity

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>
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

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 file:

Generated on 12 Dec 2007 with Doxygen (ver 1.5.1)