- #1
xperrylinn
- 3
- 0
When calculating the center of mass for an MD simulation, I've seen a few codes that subtract the average velocity from each atoms velocity. I think the reasoning behind this is that you want the velocity of center of mass for the simulation to be zero, which I understand, but I don't understand computationally how subtracting the average velocity from each velocity achieves this.