Magnetostatics is the study of static magnetic fields.The magnetic field, caused by a known distribution of direct current, is computed by solving  Maxwell's equations. We design or analyze a variety of devices such as solenoids, electric motors, magnetic shields, permanent magnets, magnetic disk drives, etc. using magnetostatic analysis. The parameters of interest are usually the magnetic flux density, field intensity, force, torque, inductance, and flux linkage.