This problem considers the magnetic field in a core containing a permanent magnet.
The system obeys the PDE
curl((curl(A)-P)/mu) + J = 0,
where A is the magnetic vector potential, P is the magnetization, J is the current density, and mu is the permeability.
The magnetic potential Az
The magnetic field strength