hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Namespaces | Functions
polynomials.hpp File Reference
#include <span>
#include "hpfem/core/types.hpp"
Include dependency graph for polynomials.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  hpfem
 
namespace  hpfem::fespace
 

Functions

void hpfem::fespace::legendre (int n, Real x, std::span< Real > values, std::span< Real > derivatives)
 
void hpfem::fespace::scaled_integrated_legendre (int n, Real x, Real t, std::span< Real > values, std::span< Real > dx, std::span< Real > dt)
 
void hpfem::fespace::jacobi (int n, Real alpha, Real beta, Real x, std::span< Real > values)
 

Detailed Description

Legendre, integrated Legendre and their scaled (homogenised) variants, the building blocks of the hierarchical H1 and H(curl) bases (docs/theory/h1-basis.md, Zaglmayr 2006 Sect. 2.3 / 5.1). All recurrences are evaluated without divisions by the scaling variable, so they are exact at the collapsed vertex t = 0.