Dune::ALU3dGridIntersectionIterator< GridImp > Class Template Reference
#include <iterator.hh>
Inheritance diagram for Dune::ALU3dGridIntersectionIterator< GridImp >:

Detailed Description
template<class GridImp>
class Dune::ALU3dGridIntersectionIterator< 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 | |
ALU3dGridIntersectionIterator (const GridImp &grid, ALU3DSPACE HElementType *el, int wLevel, bool end=false) | |
ALU3dGridIntersectionIterator (const ALU3dGridIntersectionIterator< GridImp > &org) | |
The copy constructor. | |
void | assign (const ALU3dGridIntersectionIterator< GridImp > &org) |
assignment of iterators | |
bool | equals (const ALU3dGridIntersectionIterator< GridImp > &i) const |
The copy constructor. | |
void | increment () |
increment iterator | |
EntityPointer | outside () const |
access neighbor | |
EntityPointer | inside () const |
access entity where iteration started | |
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 | |
bool | levelNeighbor () const |
return true if across the edge an neighbor on this level exists | |
bool | leafNeighbor () const |
return true if across the edge an neighbor on leaf level exists | |
int | boundaryId () const |
return information about the Boundary | |
const LocalGeometry & | intersectionSelfLocal () const |
const Geometry & | intersectionGlobal () const |
int | numberInSelf () const |
const LocalGeometry & | intersectionNeighborLocal () const |
int | numberInNeighbor () const |
int | twistInSelf () const |
returns twist of face compared to inner element | |
int | twistInNeighbor () const |
returns twist of face compared to outer element | |
NormalType & | unitOuterNormal (const FieldVector< alu3d_ctype, dim-1 > &local) const |
NormalType & | outerNormal (const FieldVector< alu3d_ctype, dim-1 > &local) const |
NormalType & | integrationOuterNormal (const FieldVector< alu3d_ctype, dim-1 > &local) const |
int | level () const |
return level of iterator | |
bool | conforming () const |
return true if intersection is conforming | |
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 Attributes | |
FaceInfoType | connector_ |
const IMPLElementType * | item_ |
current element from which we started the intersection iterator |
Constructor & Destructor Documentation
Dune::ALU3dGridIntersectionIterator< GridImp >::ALU3dGridIntersectionIterator | ( | const GridImp & | grid, | |
ALU3DSPACE HElementType * | el, | |||
int | wLevel, | |||
bool | end = false | |||
) | [inline] |
The default Constructor , level tells on which level we want neighbours
Member Function Documentation
const ALU3dGridIntersectionIterator< GridImp >::LocalGeometry & Dune::ALU3dGridIntersectionIterator< 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.
const ALU3dGridIntersectionIterator< GridImp >::Geometry & Dune::ALU3dGridIntersectionIterator< 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.
int Dune::ALU3dGridIntersectionIterator< GridImp >::numberInSelf | ( | ) | const [inline] |
local number of codim 1 entity in self where intersection is contained in
const ALU3dGridIntersectionIterator< GridImp >::LocalGeometry & Dune::ALU3dGridIntersectionIterator< 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
int Dune::ALU3dGridIntersectionIterator< GridImp >::numberInNeighbor | ( | ) | const [inline] |
local number of codim 1 entity in neighbor where intersection is contained
ALU3dGridIntersectionIterator< GridImp >::NormalType & Dune::ALU3dGridIntersectionIterator< GridImp >::unitOuterNormal | ( | const FieldVector< alu3d_ctype, dim-1 > & | local | ) | const [inline] |
return unit outer normal, this should be dependent on local coordinates for higher order boundary
ALU3dGridIntersectionIterator< GridImp >::NormalType & Dune::ALU3dGridIntersectionIterator< GridImp >::outerNormal | ( | const FieldVector< alu3d_ctype, dim-1 > & | local | ) | const [inline] |
return outer normal, this should be dependent on local coordinates for higher order boundary
ALU3dGridIntersectionIterator< GridImp >::NormalType & Dune::ALU3dGridIntersectionIterator< GridImp >::integrationOuterNormal | ( | const FieldVector< alu3d_ctype, dim-1 > & | local | ) | const [inline] |
return outer normal, this should be dependent on local coordinates for higher order boundary
FieldVector<ct, dimworld> Dune::IntersectionIteratorDefaultImplementation< GridImp , ALU3dGridIntersectionIterator >::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.
Member Data Documentation
FaceInfoType Dune::ALU3dGridIntersectionIterator< GridImp >::connector_ [mutable, protected] |
structure containing the topological and geometrical information about the face which the iterator points to
The documentation for this class was generated from the following files:
- 3d/iterator.hh
- 3d/iterator_imp.cc