Dune Core Modules (2.6.0)
referenceelements.hh
75 using ConstructibleDeprecatedReferenceElement = Dune::Geo::ConstructibleDeprecatedReferenceElement<ctype,dim>;
333 auto referenceElement(const T&, std::enable_if_t<IsNumber<std::decay_t<T>>::value,const Dune::GeometryType&> gt, Dune::Dim<dim>)
345 // Evaluates to the correct reference element iff <T...> matches the pattern <number_type,Dim<int>>
441 DUNE_DEPRECATED_MSG("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();
446 // This just makes sure the user doesn't use invalid syntax (by checking against the -1 default for
447 // 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:56
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:277
typename detected_or< Default, Op, Args... >::type detected_or_t
Returns Op<Args...> if that is valid; otherwise returns the fallback type Default.
Definition: type_traits.hh:384
typename detected_or< nonesuch, Op, Args... >::type detected_t
Returns Op<Args...> if that is valid; otherwise returns nonesuch.
Definition: type_traits.hh:369
#define DUNE_DEPRECATED_MSG(text)
Mark some entity as deprecated.
Definition: deprecated.hh:169
bool gt(const T &first, const T &second, typename EpsilonType< T >::Type epsilon)
test if first greater than second
Definition: float_cmp.cc:147
unspecified-type ReferenceElement
Returns the type of reference element for the argument types T...
Definition: referenceelements.hh:415
unspecified value type referenceElement(T &&... t)
Returns a reference element for the objects t....
unspecified-type ReferenceElement
Returns the type of reference element for the argument type T.
Definition: referenceelements.hh:495
constexpr GeometryType cube(unsigned int dim)
Returns a GeometryType representing a hypercube of dimension dim.
Definition: type.hh:705
constexpr GeometryType prism
GeometryType representing a 3D prism.
Definition: type.hh:763
constexpr GeometryType pyramid
GeometryType representing a 3D pyramid.
Definition: type.hh:757
constexpr GeometryType simplex(unsigned int dim)
Returns a GeometryType representing a simplex of dimension dim.
Definition: type.hh:696
STL namespace.
Class providing access to the singletons of the reference elements.
Definition: referenceelements.hh:168
Iterator iterator
Iterator over available reference elements.
Definition: referenceelements.hh:192
typename Container::ReferenceElement ReferenceElement
The reference element type.
Definition: referenceelements.hh:186
static const ReferenceElement & cube()
get hypercube reference elements
Definition: referenceelements.hh:208
ctype_ ctype
The coordinate field type of the contained reference elements.
Definition: referenceelements.hh:171
static const ReferenceElement & general(const GeometryType &type)
get general reference elements
Definition: referenceelements.hh:196
static const ReferenceElement & simplex()
get simplex reference elements
Definition: referenceelements.hh:202
typename Container::const_iterator Iterator
Iterator over available reference elements.
Definition: referenceelements.hh:189
static constexpr int dimension
The dimension of the contained reference elements.
Definition: referenceelements.hh:177
ctype CoordinateField
The coordinate field type of the contained reference elements.
Definition: referenceelements.hh:174
Whether this type acts as a scalar in the context of (hierarchically blocked) containers.
Definition: typetraits.hh:162
A unique label for each type of element that can occur in a grid.
Traits for type conversions and type information.
Definition of macros controlling symbol visibility at the ABI level.
#define DUNE_EXPORT
Export a symbol as part of the public ABI.
Definition: visibility.hh:18
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 13, 23:29, 2024)