Magnetohydrodynamics and Spectral Theory