It excludes any potential energy a body may have because of its location in external gravitational or electrostatic field , although the potential energy it has in a field due to an induced electric or magnetic dipole moment does count , as does the energy of deformation of solids ( stress-strain ) . It further excludes any kinetic or potential energy a body may have because of its location in external gravitational , electrostatic , or electromagnetic force fields .