Nonlinear tearing mode instability studied using Galerkin spectral method | Synapse