Skip to content

Latest commit

 

History

History
61 lines (30 loc) · 1.05 KB

nglqshn.pod

File metadata and controls

61 lines (30 loc) · 1.05 KB

NGLQSHN

NGLQSHN -

Determine the number of Gauss-Legendre quadrature points required when computing the spherical harmonic coefficients of a function raised to the nth power.

SYNOPSIS

INTEGER FUNCTION NGLQSHN (

L )

    INTEGER

    L

DESCRIPTION

NGLQSHN will determine the number of Gauss-Legendre quadrature points required when computing the spherical harmonic coefficients of a function of degree L raised to the nth power. This is equal to ceiling( ((N+1)*L + 1)/2). For this situation, the integrand is equal to the function raised to the nth power multiplied by a spherical harmonic.

ARGUMENTS

N

(input) INTEGER

The spherical harmonic degree of the function.

SEE ALSO

preglq(1), nglq(1), nglqsh(1)

http://shtools.ipgp.fr/

COPYRIGHT AND LICENSE

Copyright 2012 by Mark Wieczorek <wieczor@ipgp.fr>.

This is free software; you can distribute and modify it under the terms of the revised BSD license.