DUNE PDELab (unstable)
localbasis.hh
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
Q1 basis in dim-d enriched by an (order 2) element bubble function.
Definition: localbasis.hh:36
static constexpr std::size_t size() noexcept
Returns number of shape functions.
Definition: localbasis.hh:59
static constexpr void partial(const std::array< unsigned int, dim > &order, const DomainType &x, std::vector< RangeType > &out)
Evaluate partial derivatives of all shape functions.
Definition: localbasis.hh:112
static constexpr unsigned int order() noexcept
Returns maximal polynomial order of the basis functions.
Definition: localbasis.hh:157
static constexpr void evaluateJacobian(const DomainType &x, std::vector< JacobianType > &out)
Evaluate Jacobian of all shape functions.
Definition: localbasis.hh:84
static constexpr void evaluateFunction(const DomainType &x, std::vector< RangeType > &out)
Evaluate all shape functions.
Definition: localbasis.hh:65
Interpolation into the CubeQ1BubbleLocalBasis.
Definition: localinterpolation.hh:34
constexpr value_type & back()
return reference to last element
Definition: densevector.hh:319
Implements a matrix constructed from a given type representing a field and compile-time given number ...
Implements a vector constructed from a given type representing a field and a compile-time given size.
Some useful basic math stuff.
constexpr Base power(Base m, Exponent p)
Power method for integer exponents.
Definition: math.hh:75
