SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
YlmTestFunctions::ProductOfPolynomials Class Reference

Product of polynomials regular on the surface of a sphere. More...

#include <YlmTestFunctions.hpp>

Public Member Functions

 ProductOfPolynomials (size_t pow_nx, size_t pow_ny, size_t pow_nz)
 
DataVector operator() (const DataVector &theta, const DataVector &phi) const
 
template<typename Fr >
DataVector operator() (const tnsr::I< DataVector, 2, Fr > &theta_and_phi) const
 
DataVector df_dth (const DataVector &theta, const DataVector &phi) const
 
template<typename Fr >
DataVector df_dth (const tnsr::I< DataVector, 2, Fr > &theta_and_phi) const
 
DataVector df_dph (const DataVector &theta, const DataVector &phi) const
 
template<typename Fr >
DataVector df_dph (const tnsr::I< DataVector, 2, Fr > &theta_and_phi) const
 
double definite_integral () const
 

Detailed Description

Product of polynomials regular on the surface of a sphere.

Details

Computes nxkxnykynzkz where nx=sinθcosϕ, ny=sinθsinϕ, and nz=cosθ. The function and its first derivatives are exactly representable by spherical harmonics of order (L,M) if L>kx+ky+kz and M>kx+ky.


The documentation for this class was generated from the following file: