atlas::util::function::SphericalHarmonic class

SphericalHarmonic 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
This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.