class
SphericalHarmonicSphericalHarmonic operator that provides a spherical harmonic on a 2D sphere.
Constructors, destructors, conversion operators
- SphericalHarmonic(int n, int m, bool caching = false)
- Constructor.
Public functions
- auto operator()(double lon, double lat) const -> double
- Evaluate the spherical harmonic function for given longitude and latitude.
Function documentation
atlas:: util:: function:: SphericalHarmonic:: SphericalHarmonic(int n,
int m,
bool caching = false)
Constructor.
Parameters | |
---|---|
n | Total wave number |
m | Zonal wave number |
caching | When true, internally cache the results of Associated Legendre Polynomials in a map. Warning: this is not thread-safe |