quadratureS2Grid edit page

Compute nodes and weights for quadrature on Sphere.

Description

The following quadrature rules are implemented:

  • 'optimal' is an optimal precomputed quadrature grid with low number of quadrature points
  • 'ClenshawCurtis' combines the Gauss quadrature in polar angle (theta) with Clenshaw Curtis quadrature in azimuth angle (rho)
  • 'GaussLegendre' combines the Gauss quadrature in in polar angle (theta) with Gauss Legendre quadrature in azimuth angle (rho)

Syntax

S2G = quadratureS2Grid(N)
S2G = quadratureS2Grid(N, 'GaussLegendre')

Input

N bandwidth

Output

S2G quadratureS2Grid

Options

chebychev optimal grid of chebychev style (default)
gauss optimal grid of gaussian style
ClenshawCurtis use Clenshaw Curtis quadrature nodes and weights (default)
GaussLegendre use Gauss Legendre quadrature nodes and weights

See also

regularS2Grid S2FunHarmonic.quadrature