|
SpECTRE
v2026.04.01
|
Product of polynomials regular on the surface of a disk. More...
#include <DiskTestFunctions.hpp>
Public Member Functions | |
| ProductOfPolynomials (size_t pow_nx, size_t pow_ny) | |
| DataVector | operator() (const DataVector &r, const DataVector &phi) const |
| double | operator() (double r, double phi) const |
| DataVector | df_dr (const DataVector &r, const DataVector &phi) const |
| DataVector | df_dph (const DataVector &r, const DataVector &phi) const |
| double | definite_integral () const |
Product of polynomials regular on the surface of a disk.
Computes \( n_x^{k_x} n_y^{k_y} \) where \(n_x = r \cos \phi\) and \(n_y = r \sin \phi\). The function and its first derivatives are exactly representable by Fourier modes of order \((M)\) if \(M > k_x + k_y\).