#include <Rodin/Variational/P0g/P0gElement.h>
template<class Scalar>
P0gElement class
Forward declaration of global P0 finite elements.
| Specialization | Description |
|---|---|
| P0gElement<Scalar> | Scalar global constant element with one basis function . |
| P0gElement<Math:: | Vector-valued global constant element with one constant basis vector per component. |
Base classes
-
template<class Derived>class FiniteElementBase<P0gElement<Scalar>>
- Base class for finite elements.
Public types
- class BasisFunction
- Basis function of the P0g element.
- class LinearForm
- Degree-of-freedom functional of the P0g element.
- using Parent = FiniteElementBase<P0gElement<Scalar>>
- Parent class type.
- using ScalarType = Scalar
- Scalar value type.
- using RangeType = Scalar
- Range (evaluation value) type.
Constructors, destructors, conversion operators
- P0gElement(G geometry) explicit constexpr
- Constructs the P0gElement from the given arguments.
- P0gElement(const P0gElement&) defaulted constexpr
- Copy constructor.
- P0gElement(P0gElement&& other) constexpr
- Move constructor.
Public functions
- auto operator=(const P0gElement& other) -> P0gElement& constexpr
- Copy assignment.
- auto getCount() const -> size_t constexpr
- Gets the number of degrees of freedom of the element.
-
auto getNode(size_t i) const -> const Math::
SpatialVector<Real>& - Gets the node of a local degree of freedom.
- auto getLinearForm(size_t) const -> LinearForm constexpr
- Gets the degree-of-freedom functional of a local degree of freedom.
- auto getBasis(size_t) const -> BasisFunction constexpr
- Gets the basis function of a local degree of freedom.
- auto getOrder() const -> size_t constexpr
- Returns the polynomial order.