dune-grid 2.9.0
|
An intersection with a leaf neighbor elementMesh entities of codimension 0 ("elements") allow to visit all neighbors, where a neighbor is an entity of codimension 0 which has a common entity of codimension 1 These neighbors are accessed via a IntersectionIterator. This allows the implement non-matching meshes. The number of neighbors may be different from the number of an element! More...
#include <dune/grid/identitygrid/identitygridintersections.hh>
Public Types | |
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 | |
IdentityGridLeafIntersection () | |
IdentityGridLeafIntersection (const GridImp *identityGrid, const HostLeafIntersection &hostIntersection) | |
IdentityGridLeafIntersection (const GridImp *identityGrid, HostLeafIntersection &&hostIntersection) | |
bool | equals (const IdentityGridLeafIntersection &other) const |
Entity | inside () const |
Entity | outside () const |
bool | boundary () const |
return true if intersection is with boundary. More... | |
NormalVector | centerUnitOuterNormal () const |
Return unit outer normal (length == 1) More... | |
bool | neighbor () const |
return true if across the edge an neighbor on this level exists More... | |
size_t | boundarySegmentIndex () const |
return the boundary segment index More... | |
bool | conforming () const |
Return true if this is a conforming intersection. More... | |
GeometryType | type () const |
Geometry type of an intersection. More... | |
LocalGeometry | geometryInInside () const |
LocalGeometry | geometryInOutside () const |
Geometry | geometry () const |
int | indexInInside () const |
local number of codim 1 entity in self where intersection is contained in More... | |
int | indexInOutside () const |
local number of codim 1 entity in neighbor where intersection is contained More... | |
FieldVector< ctype, GridImp::dimensionworld > | outerNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const |
return outer normal More... | |
FieldVector< ctype, GridImp::dimensionworld > | integrationOuterNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const |
return outer normal multiplied by the integration element More... | |
FieldVector< ctype, GridImp::dimensionworld > | unitOuterNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const |
return unit outer normal More... | |
An intersection with a leaf neighbor element
Mesh entities of codimension 0 ("elements") allow to visit all neighbors, where a neighbor is an entity of codimension 0 which has a common entity of codimension 1 These neighbors are accessed via a IntersectionIterator. This allows the implement non-matching meshes. The number of neighbors may be different from the number of an element!
typedef GridImp::template Codim<0>::Entity Dune::IdentityGridLeafIntersection< GridImp >::Entity |
typedef GridImp::template Codim<1>::Geometry Dune::IdentityGridLeafIntersection< GridImp >::Geometry |
typedef GridImp::template Codim<1>::LocalGeometry Dune::IdentityGridLeafIntersection< GridImp >::LocalGeometry |
typedef FieldVector<ctype, dimworld> Dune::IdentityGridLeafIntersection< GridImp >::NormalVector |
|
inline |
|
inline |
|
inline |
|
inline |
return true if intersection is with boundary.
|
inline |
return the boundary segment index
|
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.
|
inline |
Return true if this is a conforming intersection.
|
inline |
|
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.
|
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.
|
inline |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor
|
inline |
local number of codim 1 entity in self where intersection is contained in
|
inline |
local number of codim 1 entity in neighbor where intersection is contained
|
inline |
|
inline |
return outer normal multiplied by the integration element
|
inline |
return true if across the edge an neighbor on this level exists
|
inline |
return outer normal
|
inline |
|
inline |
Geometry type of an intersection.
|
inline |
return unit outer normal