DUNE Geometry (2.9)
referenceelements.hh
3// SPDX-FileCopyrightInfo: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
77 using ConstructibleDeprecatedReferenceElement = Dune::Geo::ConstructibleDeprecatedReferenceElement<ctype,dim>;
347 // Evaluates to the correct reference element iff <T...> matches the pattern <number_type,Dim<int>>
443 [[deprecated("Dune::ReferenceElement<T,int> is deprecated, please use Dune::ReferenceElement<Geometry> (if you have a geometry), Dune::ReferenceElements<T,int>::ReferenceElement or Dune::Transitional::ReferenceElement<T,Dune::Dim<int>> instead. After Dune 2.6, you will be able to use Dune::ReferenceElement<T,Dune::Dim<int>>.")]] T check();
448 // This just makes sure the user doesn't use invalid syntax (by checking against the -1 default for
449 // the dimension, and then either hands back the old-style type along with a deprecation warning or
This class provides access to geometric and topological properties of a reference element.
Definition: referenceelement.hh:52
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:126
constexpr unsigned int id() const
Return the topology id of the type.
Definition: type.hh:377
unspecified-type ReferenceElement
Returns the type of reference element for the argument types T...
Definition: referenceelements.hh:417
auto referenceElement(const T &, const Dune::GeometryType >, Dune::Dim< dim >)
Returns a reference element of dimension dim for the given geometry type and coordinate field type.
Definition: referenceelements.hh:335
unspecified-type ReferenceElement
Returns the type of reference element for the argument type T.
Definition: referenceelements.hh:497
constexpr GeometryType cube(unsigned int dim)
Returns a GeometryType representing a hypercube of dimension dim.
Definition: type.hh:473
constexpr GeometryType simplex(unsigned int dim)
Returns a GeometryType representing a simplex of dimension dim.
Definition: type.hh:464
Class providing access to the singletons of the reference elements.
Definition: referenceelements.hh:170
Iterator iterator
Iterator over available reference elements.
Definition: referenceelements.hh:194
typename Container::ReferenceElement ReferenceElement
The reference element type.
Definition: referenceelements.hh:188
static const ReferenceElement & cube()
get hypercube reference elements
Definition: referenceelements.hh:210
ctype_ ctype
The coordinate field type of the contained reference elements.
Definition: referenceelements.hh:173
static const ReferenceElement & general(const GeometryType &type)
get general reference elements
Definition: referenceelements.hh:198
static const ReferenceElement & simplex()
get simplex reference elements
Definition: referenceelements.hh:204
typename Container::const_iterator Iterator
Iterator over available reference elements.
Definition: referenceelements.hh:191
static constexpr int dimension
The dimension of the contained reference elements.
Definition: referenceelements.hh:179
ctype CoordinateField
The coordinate field type of the contained reference elements.
Definition: referenceelements.hh:176
A unique label for each type of element that can occur in a grid.
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(May 27, 22:36, 2026)