Magnetic field and current density