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
- Ongoing and Post-Mass-Transfer Binaries: A Living Catalog and Unified Review of Binary Mass Transfer Products
- Finite-Element Asteroseismology I: Two-Dimensional Adiabatic Oscillations of Rapidly Rotating N=3 Polytropes
- Constraining the origin of magnetic white dwarfs
- EPRV Asteroseismology of the K dwarfs GJ 570 A and GJ 783 A with ESPRESSO. Empirical mode-amplitude scaling in tension with 3D convection simulations