#include <dune/grid/identitygrid/identitygridintersections.hh>
Public Types | |
typedef GridImp::template Codim< 0 >::EntityPointer | EntityPointer |
typedef GridImp::template Codim< 1 >::Geometry | Geometry |
typedef GridImp::template Codim< 1 >::LocalGeometry | LocalGeometry |
typedef GridImp::template Codim< 0 >::Entity | Entity |
typedef FieldVector< ctype, dimworld > | NormalVector |
Public Member Functions | |
IdentityGridLevelIntersection (const GridImp *identityGrid, const HostLevelIntersectionIterator &hostIterator) | |
EntityPointer | inside () const |
EntityPointer | outside () const |
bool | boundary () const |
return true if intersection is with boundary. | |
NormalVector | centerUnitOuterNormal () const |
Return unit outer normal (length == 1). | |
bool | neighbor () const |
return true if across the edge an neighbor on this level exists | |
int | boundaryId () const |
return information about the Boundary | |
size_t | boundarySegmentIndex () const |
return the boundary segment index | |
bool | conforming () const |
Return true if this is a conforming intersection. | |
GeometryType | type () const |
Geometry type of an intersection. | |
const LocalGeometry & | geometryInInside () const |
const LocalGeometry & | geometryInOutside () const |
const Geometry & | geometry () const |
int | indexInInside () const |
local number of codim 1 entity in self where intersection is contained in | |
int | indexInOutside () const |
local number of codim 1 entity in neighbor where intersection is contained | |
FieldVector< ctype, dimworld > | outerNormal (const FieldVector< ctype, dim-1 > &local) const |
return outer normal | |
FieldVector< ctype, dimworld > | integrationOuterNormal (const FieldVector< ctype, dim-1 > &local) const |
return outer normal multiplied by the integration element | |
FieldVector< ctype, dimworld > | unitOuterNormal (const FieldVector< ctype, dim-1 > &local) const |
return unit outer normal | |
Friends | |
class | IdentityGridLevelIntersectionIterator< GridImp > |
typedef GridImp::template Codim<0>::Entity Dune::IdentityGridLevelIntersection< GridImp >::Entity |
typedef GridImp::template Codim<0>::EntityPointer Dune::IdentityGridLevelIntersection< GridImp >::EntityPointer |
typedef GridImp::template Codim<1>::Geometry Dune::IdentityGridLevelIntersection< GridImp >::Geometry |
typedef GridImp::template Codim<1>::LocalGeometry Dune::IdentityGridLevelIntersection< GridImp >::LocalGeometry |
typedef FieldVector<ctype, dimworld> Dune::IdentityGridLevelIntersection< GridImp >::NormalVector |
Dune::IdentityGridLevelIntersection< GridImp >::IdentityGridLevelIntersection | ( | const GridImp * | identityGrid, | |
const HostLevelIntersectionIterator & | hostIterator | |||
) | [inline] |
bool Dune::IdentityGridLevelIntersection< GridImp >::boundary | ( | ) | const [inline] |
return true if intersection is with boundary.
int Dune::IdentityGridLevelIntersection< GridImp >::boundaryId | ( | ) | const [inline] |
return information about the Boundary
size_t Dune::IdentityGridLevelIntersection< GridImp >::boundarySegmentIndex | ( | ) | const [inline] |
return the boundary segment index
NormalVector Dune::IdentityGridLevelIntersection< GridImp >::centerUnitOuterNormal | ( | ) | const [inline] |
Return unit outer normal (length == 1).
The returned vector is the normal at the center() of the intersection's geometry. It is scaled to have unit length.
bool Dune::IdentityGridLevelIntersection< GridImp >::conforming | ( | ) | const [inline] |
Return true if this is a conforming intersection.
const Geometry& Dune::IdentityGridLevelIntersection< GridImp >::geometry | ( | ) | 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.
const LocalGeometry& Dune::IdentityGridLevelIntersection< GridImp >::geometryInInside | ( | ) | 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::IdentityGridLevelIntersection< GridImp >::geometryInOutside | ( | ) | 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::IdentityGridLevelIntersection< GridImp >::indexInInside | ( | ) | const [inline] |
local number of codim 1 entity in self where intersection is contained in
int Dune::IdentityGridLevelIntersection< GridImp >::indexInOutside | ( | ) | const [inline] |
local number of codim 1 entity in neighbor where intersection is contained
EntityPointer Dune::IdentityGridLevelIntersection< GridImp >::inside | ( | ) | const [inline] |
return EntityPointer to the Entity on the inside of this intersection (that is the Entity where we started this Iterator)
FieldVector<ctype, dimworld> Dune::IdentityGridLevelIntersection< GridImp >::integrationOuterNormal | ( | const FieldVector< ctype, dim-1 > & | local | ) | const [inline] |
return outer normal multiplied by the integration element
bool Dune::IdentityGridLevelIntersection< GridImp >::neighbor | ( | ) | const [inline] |
return true if across the edge an neighbor on this level exists
FieldVector<ctype, dimworld> Dune::IdentityGridLevelIntersection< GridImp >::outerNormal | ( | const FieldVector< ctype, dim-1 > & | local | ) | const [inline] |
return outer normal
EntityPointer Dune::IdentityGridLevelIntersection< GridImp >::outside | ( | ) | const [inline] |
return EntityPointer to the Entity on the outside of this intersection (that is the neighboring Entity)
GeometryType Dune::IdentityGridLevelIntersection< GridImp >::type | ( | ) | const [inline] |
Geometry type of an intersection.
FieldVector<ctype, dimworld> Dune::IdentityGridLevelIntersection< GridImp >::unitOuterNormal | ( | const FieldVector< ctype, dim-1 > & | local | ) | const [inline] |
return unit outer normal
friend class IdentityGridLevelIntersectionIterator< GridImp > [friend] |