lebedev_laikov

Crates.iolebedev_laikov
lib.rslebedev_laikov
version0.1.0
sourcesrc
created_at2024-07-09 05:27:10.778816
updated_at2024-07-09 05:27:10.778816
descriptionLebedev–Laikov quadrature for numerical integration in spherical coordinates.
homepage
repositoryhttps://github.com/Rufflewind/lebedev_laikov
max_upload_size
id1296647
size293,570
(jahnsam)

documentation

https://docs.rs/lebedev_laikov

README

lebedev_laikov

Lebedev–Laikov quadrature for numerical integration in spherical coordinates.

In this scheme, surface integrals over the sphere are approximated as:

∫ f(Ω) dΩ = ∫ f(θ, φ) sin(θ) dθ dφ ≈ 4 π ∑ₖ wₖ f(xₖ, yₖ, zₖ)

Note that the weights are normalized such that they sum to one.

Usage

Building library requires a C compiler (but not Fortran). It uses C source code (bundled) translated from Fortran, originally hosted on ccl.net.

Reference

V. I. Lebedev, and D. N. Laikov, “A quadrature formula for the sphere of the 131st algebraic order of accuracy,” Doklady Mathematics, 59 (3), 477-481 (1999). http://rad.chem.msu.ru/~laikov/ru/DAN_366_741.pdf

Commit count: 1

cargo fmt