SPECTRE: A robust solver for 3D equilibria with arbitrary topology
E. Balkovic
J. LoizuE. LantiC. SmietC. LazzatiR. RamasamyAGA. GoodmanJ. Geiger
J. P. Graves E. Balkovic

J. Loizu
E. Lanti
C. Smiet
C. Lazzati
R. Ramasamy
AGA. Goodman
J. Geiger

J. P. Graves
+9
SPECTRE is a new equilibrium solver for 3D magnetic confinement configurations with arbitrary topology, including flux surfaces, islands, and chaos. Built on the multi-region relaxed MHD (MRxMHD) model, it improves on the earlier SPEC code through a reformulated force, a trust-region least-squares minimizer, and other features. The solver is verified against known equilibria in vacuum and finite-beta, fixed- and free-boundary modes, including a quasi-axisymmetric device, W7-X, and a classical stellarator. Applied to a modern finite-beta quasi-isodynamic configuration, SPECTRE reproduces a strongly-shaped equilibrium with a core island matching a HINT calculation.

arXiv ·
· July 29, 2026