The
integration is performed with equally spaced points, while the
integration uses Gauss-Legendre quadrature, which is designed to exactly integrate all polynomials up to degree
2NP-1, where
NP is the number of points. To exactly integrate all spherical harmonics up to degree L, the
quadrature requires (L+1)/2 points and the
quadrature L+1 points, thus
which is 2/3 the efficiency of the Lebedev scheme.