where the first term is the kinetic energy of the n atoms of mass m a , and the potential energy U is a sum of the potential energy due to the nearest-neighbor interaction and that of the substrate potential: U = U sub + U int .