“…The SPEC code [25] does allow for discontinuities. SPEC formally finds extrema of the multi-region, relaxed, MHD (MRxMHD) energy functional, as proposed by Hole, Hudson and Dewar [20,26]. While in globally-ideal equilibria the topology of the magnetic field is continuously constrained, in MRxMHD the topology is discretely constrained at a finite number, N , of so-called, "ideal" interfaces, where discontinuities in the pressure and tangential magnetic field are allowed.…”