Dune Core Modules (2.7.1)
referenceelement.hh
291 DUNE_DEPRECATED_MSG("Capturing reference elements by reference is deprecated in DUNE 2.6. Please store a copy instead.")
326 // Constructor for wrapping an implementation reference (required internally by the default implementation)
This class provides access to geometric and topological properties of a reference element.
Definition: referenceelement.hh:56
CoordinateField volume() const
obtain the volume of the reference element
Definition: referenceelement.hh:245
ReferenceElement()
Constructs an empty reference element.
Definition: referenceelement.hh:275
bool operator!=(const ReferenceElement &r) const
Compares for inequality with another reference element.
Definition: referenceelement.hh:307
decltype(auto) type(int i, int c) const
obtain the type of subentity (i,c)
Definition: referenceelement.hh:175
typename Implementation::Coordinate Coordinate
The coordinate type.
Definition: referenceelement.hh:85
Codim< codim >::Geometry geometry(int i) const
obtain the embedding of subentity (i,codim) into the reference element
Definition: referenceelement.hh:238
static constexpr int dimension
The dimension of the reference element.
Definition: referenceelement.hh:91
int size(int i, int c, int cc) const
number of subentities of codimension cc of subentity (i,c)
Definition: referenceelement.hh:115
int subEntity(int i, int c, int ii, int cc) const
obtain number of ii-th subentity with codim cc of (i,c)
Definition: referenceelement.hh:134
typename Implementation::ctype ctype
The coordinate field type.
Definition: referenceelement.hh:79
int size(int c) const
number of subentities of codimension c
Definition: referenceelement.hh:98
decltype(auto) type() const
obtain the type of this reference element
Definition: referenceelement.hh:188
const Implementation & impl() const
Returns a reference to the internal implementation object.
Definition: referenceelement.hh:284
bool checkInside(const Coordinate &local) const
check if a coordinate is in the reference element
Definition: referenceelement.hh:220
ctype CoordinateField
The coordinate field type.
Definition: referenceelement.hh:82
bool operator==(const ReferenceElement &r) const
Compares for equality with another reference element.
Definition: referenceelement.hh:301
decltype(auto) position(int i, int c) const
position of the barycenter of entity (i,c)
Definition: referenceelement.hh:207
decltype(auto) integrationOuterNormal(int face) const
obtain the integration outer normal of the reference element
Definition: referenceelement.hh:262
friend std::size_t hash_value(const ReferenceElement &r)
Yields a hash value suitable for storing the reference element a in hash table.
Definition: referenceelement.hh:313
auto subEntities(int i, int c, int cc) const
Obtain the range of numbers of subentities with codim cc of (i,c)
Definition: referenceelement.hh:157
ctype Volume
Type used for volume.
Definition: referenceelement.hh:88
Definition of the DUNE_DEPRECATED macro for the case that config.h is not available.
#define DUNE_DEPRECATED_MSG(text)
Mark some entity as deprecated.
Definition: deprecated.hh:169
Collection of types depending on the codimension.
Definition: referenceelement.hh:71
implementation-defined Geometry
type of geometry embedding a subentity into the reference element
Definition: referenceelement.hh:73
Class providing access to the singletons of the reference elements.
Definition: referenceelements.hh:168
A unique label for each type of element that can occur in a grid.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)