PTEMS  0.1.0-dev+git.81fd0e4
PolyTopic Element Method Solver
ptems::LagrangePolynomials< 3 > Struct Reference

Defines Lagrange 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/lagrangepolynomials.hpp>

Inheritance diagram for ptems::LagrangePolynomials< 3 >:
Collaboration diagram for ptems::LagrangePolynomials< 3 >:

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...
 

Detailed Description

Defines Lagrange 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.

Member Function Documentation

◆ NumberDoFs()

static constexpr std::size_t ptems::Polynomials< 3 >::NumberDoFs ( const ReferenceElement< 3 > &  element,
std::size_t  polydeg 
)
inlinestaticconstexprinherited

Gets the number of degrees of freedom required for a polynomial of the specified degree on the specified reference element.

Parameters
elementThe reference element (simplex, cube, prism, or pyramid)
polydegThe degree of the polynomial
Returns
The number of degrees of freedom

The documentation for this struct was generated from the following file: