Dune::YaspIntersectionIterator< GridImp > Class Template Reference
#include <yaspgrid.hh>
Inheritance diagram for Dune::YaspIntersectionIterator< GridImp >:

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 Geometry & | intersectionGlobal () 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 | |
YaspIntersectionIterator & | operator= (const YaspIntersectionIterator &it) |
assignment | |
bool | equals (const YaspEntityPointer &rhs) const |
equality | |
Entity & | dereference () 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
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)
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
FieldVector<ct, dimworld> Dune::IntersectionIteratorDefaultImplementation< GridImp , YaspIntersectionIterator >::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: