FORTVSH: A Fortran Module For Vector Spherical Harmonics Computations
Justin G. Elfritz
astro-ph.SR, astro-ph.IM, physics.comp-ph
Submitted: 2026-08-16
Updated: 2026-08-18
Comments: 22 pages with 10 figures
Code: https://github.com/justinelfritz/FORTVSH
License: http://creativecommons.org/licenses/by/4.0/
The gist: The vector spherical harmonics (VSH) are crucial ingredients for representation of arbitrary vector fields in curvilinear coordinate systems throughout mathematical physics.
Terminology
Abstract
The vector spherical harmonics (VSH) are crucial ingredients for representation of arbitrary vector fields in curvilinear coordinate systems throughout mathematical physics. Performant, efficient computations of the VSH are essential to high-performance computing applications that utilize spectral analysis, including magnetohydrodynamics (MHD) simulations for geophysics and astrophysics. The open-source FORTVSH package provides a catalog of numerical routines for evaluating various VSH forms and related mathematical functions. This manuscript establishes the theoretical basis, addresses the computational need for efficient VSH solvers, and presents a comprehensive overview of the FORTVSH routines.
Related papers
- HXI-DLA2: A Physics-Constrained Deep Learning Algorithm for the ASO-S Hard X-ray Imager
- Effect of Neutron Star Jets on Common Envelope Evolution
- Constraining the origin of magnetic white dwarfs
- JW-FD: A 15-Year Multimodal Dataset for Solar Flare Forecasting
- Phlegethon: a fully compressible magnetohydrodynamic code for simulations in stellar astrophysics
- Can MHD Oscillations Modulate Quasi-Periodic Plasma Release from Coronal Streamers?