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

Defines polynomials in the 1D reference element (the internval \(4[-1.1]\) ) More...

#include <ptems/spaces/polynomials.hpp>

Inheritance diagram for ptems::Polynomials< 1 >:

Static Public Member Functions

static constexpr std::size_t NumberDoFs ([[maybe_unused]] const ReferenceElement< 1 > &refElement, 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 polynomials in the 1D reference element (the internval \(4[-1.1]\) )

Member Function Documentation

◆ NumberDoFs()

static constexpr std::size_t ptems::Polynomials< 1 >::NumberDoFs ( [[maybe_unused] ] const ReferenceElement< 1 > &  refElement,
std::size_t  polydeg 
)
inlinestaticconstexpr

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

Parameters
refElementThe reference interval (parameter is ignored)
polydegThe degree of the polynomial
Returns
The number of degrees of freedom

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