|
dune-grid 2.12-git
|
Loading...
Searching...
No Matches
common/intersection.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
unspecified value type referenceElement(T &&... t)
size_type dim() const
LocalIndex & local()
STL namespace.
Include standard header files.
constexpr FieldTraits< value_type >::real_type two_norm() const
Intersection of a mesh entity of codimension 0 ("element") with a "neighboring" element or with the d...
Definition common/intersection.hh:164
Intersection & operator=(const Intersection &other)
Copy assignment operator from an existing intersection.
Definition common/intersection.hh:443
Geometry geometry() const
geometrical information about the intersection in global coordinates.
Definition common/intersection.hh:328
bool conforming() const
Return true if intersection is conforming.
Definition common/intersection.hh:273
Entity outside() const
return Entity on the outside of this intersection. That is the neighboring Entity.
Definition common/intersection.hh:261
int indexInOutside() const
Local index of codim 1 entity in outside() entity where intersection is contained in.
Definition common/intersection.hh:368
static constexpr int mydimension
dimension of the intersection
Definition common/intersection.hh:207
bool neighbor() const
return true if intersection is shared with another element.
Definition common/intersection.hh:242
bool boundary() const
Return true if intersection is with interior or exterior boundary (see the cases above)
Definition common/intersection.hh:216
int indexInInside() const
Local index of codim 1 entity in the inside() entity where intersection is contained in.
Definition common/intersection.hh:351
Intersection(Implementation &&impl)
Definition common/intersection.hh:468
Intersection & operator=(Intersection &&other)
Move assignment operator from an existing intersection.
Definition common/intersection.hh:450
Geometry::GlobalCoordinate GlobalCoordinate
Type for normal vectors.
Definition common/intersection.hh:201
GridImp::template Codim< 1 >::LocalGeometry LocalGeometry
Codim 1 geometry returned by geometryInInside() and geometryInOutside()
Definition common/intersection.hh:204
GlobalCoordinate unitOuterNormal(const LocalCoordinate &local) const
Return unit outer normal (length == 1)
Definition common/intersection.hh:400
bool operator!=(const Intersection &other) const
Compares two intersections for inequality.
Definition common/intersection.hh:423
GeometryType type() const
obtain the type of reference element for this intersection
Definition common/intersection.hh:334
Intersection(Intersection &&other)
Move constructor from an existing intersection.
Definition common/intersection.hh:438
LocalGeometry geometryInOutside() const
geometrical information about this intersection in local coordinates of the outside() entity.
Definition common/intersection.hh:309
LocalGeometry geometryInInside() const
geometrical information about this intersection in local coordinates of the inside() entity.
Definition common/intersection.hh:291
size_t boundarySegmentIndex() const
index of the boundary segment within the macro grid
Definition common/intersection.hh:236
static constexpr int dimensionworld
dimension of world
Definition common/intersection.hh:210
Entity inside() const
return Entity on the inside of this intersection. That is the Entity where we started this.
Definition common/intersection.hh:250
Geometry::LocalCoordinate LocalCoordinate
Type for vectors of coordinates on the intersection.
Definition common/intersection.hh:198
GlobalCoordinate centerUnitOuterNormal() const
Return unit outer normal (length == 1)
Definition common/intersection.hh:411
GridImp::template Codim< 1 >::Geometry Geometry
Codim 1 geometry returned by geometry()
Definition common/intersection.hh:195
Implementation & impl()
access to the underlying implementation
Definition common/intersection.hh:178
GridImp::template Codim< 0 >::Entity Entity
Type of entity that this Intersection belongs to.
Definition common/intersection.hh:192
const Implementation & impl() const
access to the underlying implementation
Definition common/intersection.hh:185
GlobalCoordinate outerNormal(const LocalCoordinate &local) const
Return an outer normal (length not necessarily 1)
Definition common/intersection.hh:377
Intersection()
Default constructor.
Definition common/intersection.hh:429
GridImp::ctype ctype
Type of individual coefficients of coordinate vectors.
Definition common/intersection.hh:213
Intersection(const Implementation &impl)
Definition common/intersection.hh:463
IntersectionImp Implementation
type of underlying implementation
Definition common/intersection.hh:171
GlobalCoordinate integrationOuterNormal(const LocalCoordinate &local) const
return unit outer normal scaled with the integration element
Definition common/intersection.hh:390
bool operator==(const Intersection &other) const
Compares two intersections for equality.
Definition common/intersection.hh:417
Intersection(const Intersection &other)
Copy constructor from an existing intersection.
Definition common/intersection.hh:433
Mesh entities of codimension 0 ("elements") allow to visit all intersections with "neighboring" eleme...
Definition common/intersectioniterator.hh:83
Default Implementations of integrationOuterNormal and unitOuterNormal for IntersectionImp.
Definition common/intersection.hh:489
FieldVector< ct, dimworld > integrationOuterNormal(const FieldVector< ct, dim-1 > &local) const
Definition common/intersection.hh:498
FieldVector< ct, dimworld > unitOuterNormal(const FieldVector< ct, dim-1 > &local) const
return unit outer normal
Definition common/intersection.hh:506
FieldVector< ct, dimworld > centerUnitOuterNormal() const
return unit outer normal at center of intersection geometry
Definition common/intersection.hh:514
Different resources needed by all grid implementations.
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8