dune-foamgrid 2.8.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 Types | |
typedef GridImp::template Codim< 0 >::Entity | Entity |
Public Member Functions | |
bool | conforming () const |
Return true if this is a conforming intersection. More... | |
int | indexInOutside (std::size_t neighborIndex=0) const |
local number of codim 1 entity in neighbor where intersection is contained More... | |
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 More... | |
Entity | inside () const |
Entity | outside () const |
bool | equals (const FoamGridIntersection< GridImp > &i) const |
equality More... | |
bool | boundary () const |
return true if intersection is with boundary. More... | |
int | boundarySegmentIndex () const |
return information about the Boundary More... | |
GeometryType | type () const |
Geometry type of an intersection. More... | |
int | indexInInside () const |
local number of codim 1 entity in self where intersection is contained in More... | |
FieldVector< ctype, dimworld > | outerNormal (const FieldVector< ctype, dimgrid-1 > &local) const |
return outer normal More... | |
FieldVector< ctype, dimworld > | integrationOuterNormal (const FieldVector< ctype, dimgrid-1 > &local) const |
return outer normal multiplied by the integration element More... | |
FieldVector< ctype, dimworld > | unitOuterNormal (const FieldVector< ctype, dimgrid-1 > &local) const |
return unit outer normal More... | |
FieldVector< ctype, dimworld > | centerUnitOuterNormal () const |
return unit outer normal at the intersection center More... | |
Protected Attributes | |
const FoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > * | center_ |
int | facetIndex_ |
Count on which facet we are lookin' at. More... | |
std::vector< constFoamGridEntityImp< dimgrid, dimgrid, dimworld, ctype > * >::const_iterator | neighbor_ |
Iterator to the other neighbor of the intersection. More... | |
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!
|
inherited |
|
inlineinherited |
return true if intersection is with boundary.
|
inlineinherited |
return information about the Boundary
|
inlineinherited |
return unit outer normal at the intersection center
|
inline |
Return true if this is a conforming intersection.
|
inlineinherited |
equality
|
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 In the LeafIntersection the intersection might be non-conforming For surface grids with local non-conforming adaptivity the geometryInOutside is undefined
|
inlineinherited |
local number of codim 1 entity in self where intersection is contained in
|
inlinevirtual |
local number of codim 1 entity in neighbor where intersection is contained
Implements Dune::FoamGridIntersection< GridImp >.
|
inlineinherited |
return Entity on the inside of this intersection (that is the Entity where we started this Iterator)
|
inlineinherited |
return outer normal multiplied by the integration element
|
inline |
return true if across the facet a neighbor on this level exists
|
inlineinherited |
return outer normal
|
inlineinherited |
return Entity on the outside of this intersection (that is the neighboring Entity)
|
inlineinherited |
Geometry type of an intersection.
|
inlineinherited |
return unit outer normal
|
protectedinherited |
|
protectedinherited |
Count on which facet we are lookin' at.
|
protectedinherited |
Iterator to the other neighbor of the intersection.