Commit 191d8697 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Simplified virial in some colvars

For DISTANCE, ANGLE, TORSION and PUCKERING,
I implemented something similar to GYR, where atoms coordinates
are first made whole, then the virial is computed assuming them whole.

Notice that modified coordinates are the local ones, so that the
change does not impact other actions.

Moreover, this required fixing numerical errors in a couple of regtests
parent eee77b7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment