Defines polynomials in the 2D on the reference square \([-1,1]^2\) or reference triangle \( Conv\{(-1,-1),(1,-1),(-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< 2 > &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 2D on the reference square \([-1,1]^2\) or reference triangle \( Conv\{(-1,-1),(1,-1),(-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 (triangle or square) |
polydeg | The degree of the polynomial |