| Module | Source File | Description |
|---|---|---|
| BENCHMARK | benchmark.f90 | Timing benchmarks comparing the batch ( |
| GLOBALS | globals.f90 | Physical/mathematical constants shared across the library: and the imaginary unit , both at dp precision so every expression built from them (spherical harmonics, VSH, coupling coefficients) stays in double precision without repeated literal casts. |
| KINDS | kinds.f90 | Numerical storage size parameters for real and integer values https://fortran-lang.org/en/learn/best_practices/floating_point/ |
| TESTS | tests.f90 | The numerical validation suite backing FORTVSH's accuracy claims (see the "Numerical Validation" appendix of the accompanying manuscript). Three families of checks: |
| VSH | vsh.f90 | Scalar and vector spherical harmonics (VSH), Legendre functions, and the angular-momentum coupling coefficients (Clebsch-Gordan, Wigner 3-j, and Geppert-Wiebicke) used to build them. |