Dune Core Modules (2.11.0)
Iterator over all element neighborsMesh 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/foamgrid/foamgrid/foamgridintersections.hh>
Public Member Functions | |
| bool | conforming () const |
| Return true if this is a conforming intersection. | |
| int | indexInOutside (std::size_t neighborIndex=0) const |
| local number of codim 1 entity in neighbor where intersection is contained | |
| LocalGeometry | geometryInInside () const |
| LocalGeometry | geometryInOutside (std::size_t neighborIndex=0) const |
| Geometry | geometry () const |
| bool | neighbor () const |
| return true if across the facet a neighbor on this level exists | |
| Entity | inside () const |
| Entity | outside () const |
| bool | equals (const FoamGridIntersection< GridImp > &i) const |
| equality | |
| bool | boundary () const |
| return true if intersection is with boundary. | |
| int | boundarySegmentIndex () const |
| return information about the Boundary | |
| GeometryType | type () const |
| Geometry type of an intersection. | |
| int | indexInInside () const |
| local number of codim 1 entity in self where intersection is contained in | |
| FieldVector< ctype, dimworld > | outerNormal (const FieldVector< ctype, dimgrid-1 > &local) const |
| return outer normal | |
| FieldVector< ctype, dimworld > | integrationOuterNormal (const FieldVector< ctype, dimgrid-1 > &local) const |
| return outer normal multiplied by the integration element | |
| FieldVector< ctype, dimworld > | unitOuterNormal (const FieldVector< ctype, dimgrid-1 > &local) const |
| return unit outer normal | |
| FieldVector< ctype, dimworld > | centerUnitOuterNormal () const |
| return unit outer normal at the intersection center | |
Friends | |
| template<typename , typename > | |
| class | Dune::Intersection |
Detailed Description
class Dune::FoamGridLeafIntersection< GridImp >
Iterator over all element neighbors
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
◆ 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.
References Dune::Geo::ReferenceElements< ctype_, dim >::general(), and Dune::FoamGridIntersection< GridImp >::type().
◆ 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::Geo::ReferenceElements< ctype_, dim >::general(), and Dune::FoamGridIntersection< GridImp >::type().
◆ geometryInOutside()
|
inline |
intersection of codimension 1 of this neighbor with element where iteration started. Here returned element is in LOCAL coordinates of neighbor In the LeafIntersection the intersection might be non-conforming For surface grids with local non-conforming adaptivity the geometryInOutside is undefined
References Dune::FoamGridIntersection< GridImp >::facetIndex_, Dune::Geo::ReferenceElements< ctype_, dim >::general(), Dune::FoamGridIntersection< GridImp >::neighbor_, and Dune::FoamGridIntersection< GridImp >::type().
◆ inside()
|
inlineinherited |
◆ outside()
|
inlineinherited |
return Entity on the outside of this intersection (that is the neighboring Entity)
References Dune::FoamGridIntersection< GridImp >::neighbor_.
The documentation for this class was generated from the following file:
- dune/foamgrid/foamgrid/foamgridintersections.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Feb 14, 23:39, 2026)