Ampere's law that relates the magnetic field lines that surround a static current is a macroscopic version of the (static) Maxwell equation :