The virial theorem and stress calculation in molecular dynamics | Synapse