#include <intersection.hh>
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 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 | |
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 |
typedef FieldVector< ctype, GridImp::dimensionworld > Dune::AlbertaGridIntersectionIterator< GridImp >::NormalVector |
return unit outer normal, this should be dependent on local coordinates for higher order boundary
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().
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().
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().
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().
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().