hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Classes | Namespaces
orthogonal_basis.hpp File Reference
#include <span>
#include <vector>
#include "hpfem/core/types.hpp"
Include dependency graph for orthogonal_basis.hpp:

Go to the source code of this file.

Classes

class  hpfem::fespace::DubinerBasis< Dim >
 

Namespaces

namespace  hpfem
 
namespace  hpfem::fespace
 

Detailed Description

L2-orthonormal polynomial basis of total degree ≤ p on the reference simplex (Dubiner / Koornwinder): Legendre and Jacobi polynomials in collapsed coordinates. Used to expand a discrete field cell by cell and read the decay of its coefficients (the smoothness indicator of the hp decision, docs/theory/hp-adaptivity.md#hp-decision).

Unit triangle, \( a = 2\xi_1/(1-\xi_2) - 1 \), \( b = 2\xi_2 - 1 \): \( \psi_{ij} = P_i(a)\,\big(\tfrac{1-b}{2}\big)^i P_j^{(2i+1,0)}(b) \), \( i + j \le p \), with \( \|\psi_{ij}\|^2 = 1/((2i+1)(2i+2j+2)) \); unit tetrahedron with the third collapsed coordinate \( c = 2\xi_3 - 1 \) and the factor \( ((1-c)/2)^{i+j} P_k^{(2i+2j+2,0)}(c) \), \( \|\psi_{ijk}\|^2 = 1/((2i+1)(2i+2j+2)(2i+2j+2k+3)) \). Functions are ordered by ascending total degree.