Numerically solves the equations of magnetohydrodynamics.