Defines polynomials in the 3D on the reference cube \([-1,1]^2\), simplex \( Conv\{(-1,-1,-1),(1,-1,-1),(-1,1,-1),(-1,-1,1)\} \), pyramid \( Conv\{(-1,-1,-1),(1,-1,-1),(1,1,-1),(-1,1,-1),(-1,-1,1)\} \), or prism \( Conv\{(-1,-1),(1,-1),(-1,1)\} \times [-1,1] \), where \(Conv\) is the convex hull. More...
#include <ptems/spaces/polynomials.hpp>
Static Public Member Functions | |
static constexpr std::size_t | NumberDoFs (const ReferenceElement< 3 > &element, std::size_t polydeg) |
Gets the number of degrees of freedom required for a polynomial of the specified degree on the specified reference element. More... | |
Defines polynomials in the 3D on the reference cube \([-1,1]^2\), simplex \( Conv\{(-1,-1,-1),(1,-1,-1),(-1,1,-1),(-1,-1,1)\} \), pyramid \( Conv\{(-1,-1,-1),(1,-1,-1),(1,1,-1),(-1,1,-1),(-1,-1,1)\} \), or prism \( Conv\{(-1,-1),(1,-1),(-1,1)\} \times [-1,1] \), where \(Conv\) is the convex hull.
|
inlinestaticconstexpr |
Gets the number of degrees of freedom required for a polynomial of the specified degree on the specified reference element.
element | The reference element (simplex, cube, prism, or pyramid) |
polydeg | The degree of the polynomial |