Next: Kinetic energy
Up: Simple statistical quantities to
Previous: Simple statistical quantities to
The average potential energy V is obtained by averaging
its instantaneous value, which is usually obtained
straightforwardly at the same time as the force computation
is made. For instance, in the case of two-body interactions

Even if not strictly necessary to perform the time integration
(forces are all is needed), knowledge of V is required
to verify energy conservation.
This is an important check to do in any MD simulation.
Furio Ercolessi
9/10/1997