dune-mmesh (1.4)
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/mmesh/grid/intersections.hh>
Public Member Functions | |
bool | equals (const MMeshLeafIntersection &other) const |
returns true if the host entities are equal | |
Entity | inside () const |
Entity | outside () const |
bool | boundary () const |
return true if intersection is with boundary. | |
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 | |
std::size_t | boundarySegmentIndex () const |
return the boundary segment index | |
std::size_t | boundaryId () const |
return the boundary id | |
bool | conforming () const |
Return true if this is a conforming intersection. | |
GeometryType | type () const |
Geometry type of an intersection. | |
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 | |
int | indexInOutside () const |
local number of codim 1 entity in neighbor where intersection is contained | |
FieldVector< ctype, GridImp::dimensionworld > | outerNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const |
return outer normal | |
template<int d = dim> | |
std::enable_if_t< d==2, NormalVector > | integrationOuterNormal (const FieldVector< ctype, dim-1 > &local) const |
return outer normal multiplied by the integration element | |
FieldVector< ctype, GridImp::dimensionworld > | unitOuterNormal (const FieldVector< ctype, GridImp::dimension-1 > &local) const |
return unit outer normal | |
Detailed Description
class Dune::MMeshLeafIntersection< GridImp >
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!
Member Function Documentation
◆ centerUnitOuterNormal()
|
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.
References Dune::MMeshLeafIntersection< GridImp >::unitOuterNormal().
◆ geometry()
|
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.
◆ geometryInInside()
|
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::MMeshLeafIntersection< GridImp >::indexInInside().
◆ geometryInOutside()
|
inline |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor
References Dune::MMeshLeafIntersection< GridImp >::indexInOutside(), and Dune::MMeshLeafIntersection< GridImp >::neighbor().
◆ inside()
|
inline |
return Entity on the inside of this intersection (that is the Entity where we started this Iterator)
◆ outside()
|
inline |
return Entity on the outside of this intersection (that is the neighboring Entity)
References Dune::MMeshLeafIntersection< GridImp >::neighbor().
The documentation for this class was generated from the following file:
- dune/mmesh/grid/intersections.hh
