|
Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
Struct providing coefficients for Discrete Legendre Transformation (DLT) related operations. More...
Static Public Member Functions | |
| static std::vector< real_type > | abscissas (unsigned n) |
| Return Gauss-Legendre nodes on the interval [-1,1]. | |
| static std::vector< real_type > | weights (unsigned n) |
| Return Gauss-Legendre weights. | |
| static std::vector< real_type > | backward (unsigned n) |
| Return backward DLT trafo matrix. | |
| static std::vector< real_type > | forward (unsigned n) |
| Return forward DLT trafo matrix. | |
| static std::vector< real_type > | backwardEQ (unsigned n) |
| Return equidistant backward DLT trafo matrix. | |
Struct providing coefficients for Discrete Legendre Transformation (DLT) related operations.
For n <= 20 we have tabulated values
| real_type | value type (double or float) of the coefficients |
|
inlinestatic |
Return Gauss-Legendre nodes on the interval [-1,1].
| n | Number of polynomial coefficients n <= 20 |
n abscissas
|
inlinestatic |
Return backward DLT trafo matrix.
accesss elements in C-fashion: \( F_{ij} =\) backward()[i*n+j]
n*n backward transformation coefficients
|
inlinestatic |
Return equidistant backward DLT trafo matrix.
For vizualisation purposes it is useful to have the values of the DLT - expansion on an equidistant grid. accesss elements in C-fashion: \( F_{ij} = \) backwardEQ()[i*n+j]
n*n equidistant backward transformation coefficients
|
inlinestatic |
|
inlinestatic |
Return Gauss-Legendre weights.
| n | Number of polynomial coefficients n <= 20 |
n weights