#include <yaspgrid.hh>
Public Member Functions | |
void | increment () |
increment | |
bool | equals (const YaspIntersectionIterator &other) const |
equality | |
const Intersection & | dereference () const |
dereferencing | |
bool | boundary () const |
bool | neighbor () const |
return true if neighbor across intersection exists in this processor | |
bool | conforming () const |
Yasp is always conform. | |
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 | |
FieldVector< ctype, dimworld > | integrationOuterNormal (const FieldVector< ctype, dim-1 > &local) const |
const LocalGeometry & | intersectionSelfLocal () const |
const LocalGeometry & | intersectionNeighborLocal () const |
const Geometry & | intersectionGlobal () const |
GeometryType | type () const |
obtain the type of reference element for 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 | |
YaspIntersectionIterator (const YaspEntity< 0, dim, GridImp > &myself, bool toend) | |
make intersection iterator from entity | |
YaspIntersectionIterator (const YaspIntersectionIterator &it) | |
copy constructor | |
YaspIntersectionIterator & | operator= (const YaspIntersectionIterator &it) |
assignment |
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
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)
EntityPointer Dune::YaspIntersectionIterator< GridImp >::outside | ( | ) | const [inline] |
return EntityPointer to the Entity on the outside of this intersection (that is the neighboring Entity)
int Dune::YaspIntersectionIterator< GridImp >::boundaryId | ( | ) | const [inline] |
identifier for boundary segment from macro grid (attach your boundary condition as needed)
FieldVector<ctype, dimworld> Dune::YaspIntersectionIterator< GridImp >::integrationOuterNormal | ( | const FieldVector< ctype, dim-1 > & | local | ) | const [inline] |
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.
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.
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
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