|
dune-mmesh 1.4.1-git
|
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 Types | |
| enum | { dimension = GridImp::dimension } |
| enum | { dimensionworld = GridImp::dimensionworld } |
| typedef GridImp::template Codim< 1 >::Geometry | Geometry |
| typedef GridImp::template Codim< 1 >::LocalGeometry | LocalGeometry |
| typedef GridImp::template Codim< 1 >::LocalGeometry::Implementation | LocalGeometryImpl |
| typedef GridImp::template Codim< 0 >::Entity | Entity |
| typedef FieldVector< ctype, dimworld > | NormalVector |
Public Member Functions | |
| MMeshLeafIntersection () | |
| MMeshLeafIntersection (const GridImp *mMesh, const HostGridEntity &hostEntity, const int index) | |
| MMeshLeafIntersection (const GridImp *mMesh, HostLeafIntersection &&hostIntersection) | |
| 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) | |
| 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 | |
| template<int d = dim> | |
| std::enable_if_t< d==3, NormalVector > | integrationOuterNormal (const FieldVector< ctype, dim - 1 > &local) const |
| FieldVector< ctype, GridImp::dimensionworld > | unitOuterNormal (const FieldVector< ctype, GridImp::dimension - 1 > &local) const |
| return unit outer normal | |
| const HostLeafIntersection & | getHostIntersection () const |
Friends | |
| class | MMeshLeafIntersectionIterator< GridImp > |
| struct | HostGridAccess< typename std::remove_const< GridImp >::type > |
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 Typedef Documentation
◆ Entity
| typedef GridImp::template Codim<0>::Entity Dune::MMeshLeafIntersection< GridImp >::Entity |
◆ Geometry
| typedef GridImp::template Codim<1>::Geometry Dune::MMeshLeafIntersection< GridImp >::Geometry |
◆ LocalGeometry
| typedef GridImp::template Codim<1>::LocalGeometry Dune::MMeshLeafIntersection< GridImp >::LocalGeometry |
◆ LocalGeometryImpl
| typedef GridImp::template Codim<1>::LocalGeometry::Implementation Dune::MMeshLeafIntersection< GridImp >::LocalGeometryImpl |
◆ NormalVector
| typedef FieldVector<ctype, dimworld> Dune::MMeshLeafIntersection< GridImp >::NormalVector |
Member Enumeration Documentation
◆ anonymous enum
◆ anonymous enum
Constructor & Destructor Documentation
◆ MMeshLeafIntersection() [1/3]
|
inline |
◆ MMeshLeafIntersection() [2/3]
|
inline |
◆ MMeshLeafIntersection() [3/3]
|
inline |
Member Function Documentation
◆ boundary()
|
inline |
return true if intersection is with boundary.
◆ boundaryId()
|
inline |
return the boundary id
◆ boundarySegmentIndex()
|
inline |
return the boundary segment index
◆ 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.
◆ conforming()
|
inline |
Return true if this is a conforming intersection.
◆ equals()
|
inline |
returns true if the host entities are equal
◆ 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.
◆ geometryInOutside()
|
inline |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor
◆ getHostIntersection()
|
inline |
◆ indexInInside()
|
inline |
local number of codim 1 entity in self where intersection is contained in
◆ indexInOutside()
|
inline |
local number of codim 1 entity in neighbor where intersection is contained
◆ inside()
|
inline |
◆ integrationOuterNormal() [1/2]
|
inline |
return outer normal multiplied by the integration element
◆ integrationOuterNormal() [2/2]
|
inline |
◆ neighbor()
|
inline |
return true if across the edge an neighbor on this level exists
◆ outerNormal()
|
inline |
return outer normal
◆ outside()
|
inline |
◆ type()
|
inline |
Geometry type of an intersection.
◆ unitOuterNormal()
|
inline |
return unit outer normal
Friends And Related Symbol Documentation
◆ HostGridAccess< typename std::remove_const< GridImp >::type >
|
friend |
◆ MMeshLeafIntersectionIterator< GridImp >
|
friend |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8