template<size_t K>
DubinerTetrahedron class
Dubiner orthogonal modal basis on the reference tetrahedron.
| Template parameters | |
|---|---|
| K | Maximum polynomial degree. |
Provides evaluation of the Dubiner basis functions on collapsed coordinates , mapped from the reference tetrahedron with vertices .
The basis uses a Duffy-type collapse and is constructed as:
Public static functions
-
template<size_t P, size_t Q, size_t R>static void getBasis(Real& basis, Real a, Real b, Real c) constexpr
- Evaluates the Dubiner basis function .
-
template<size_t P, size_t Q, size_t R>static void getGradient(Real& dpsi_da, Real& dpsi_db, Real& dpsi_dc, Real a, Real b, Real c) constexpr
- Gets the gradient of the basis function.
- static void getCollapsed(Real& a, Real& b, Real& c, Real x, Real y, Real z) constexpr
- Maps reference coordinates to collapsed coordinates.
Function documentation
template<size_t K>
template<size_t P, size_t Q, size_t R>
static void Rodin:: Variational:: DubinerTetrahedron<K>:: getBasis(Real& basis,
Real a,
Real b,
Real c) constexpr
Evaluates the Dubiner basis function .
| Template parameters | |
|---|---|
| P | First modal index. |
| Q | Second modal index. |
| R | Third modal index (P + Q + R ≤ K). |
| Parameters | |
| basis out | The computed basis function value. |
| a | First collapsed coordinate. |
| b | Second collapsed coordinate. |
| c | Third collapsed coordinate. |