|
SpECTRE
v2025.08.19
|
The monomial \(x^n\). More...
#include <PolynomialTestFunctions.hpp>
Public Member Functions | |
| Monomial (size_t pow_x) | |
| DataVector | operator() (const DataVector &x) const |
| double | operator() (double x) const |
| DataVector | df_dx (const DataVector &x) const |
| DataVector | int_f (const DataVector &x) const |
| The indefinite integral, with constant of integration chosen so that the integral is zero at \(x = -1\). | |
| double | definite_integral () const |
| The definite integral on the interval \([-1,1]\). | |
| template<Spectral::Basis basis> | |
| DataVector | modes () const |
| A modal vector of modes for the given basis. More... | |
The monomial \(x^n\).
| DataVector PolynomialTestFunctions::Monomial::modes | ( | ) | const |
A modal vector of modes for the given basis.
The modal coefficients are stored in a modal vector as \(\{u_0, u_1, \ldots, u_n\}\).