- NGLQSHN -
-
Determine the number of Gauss-Legendre quadrature points required when computing the spherical harmonic coefficients of a function raised to the nth power.
- INTEGER FUNCTION NGLQSHN (
-
L )
- INTEGER
-
L
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.
- N
-
(input) INTEGER
The spherical harmonic degree of the function.
preglq(1), nglq(1), nglqsh(1)
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.