Choose the PBC image of each rotation group atom depending
authorCarsten Kutzner <ckutzne@gwdg.de>
Tue, 30 Apr 2013 15:32:04 +0000 (17:32 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 16 May 2013 03:11:02 +0000 (05:11 +0200)
commitd2ca1e0a4e919aeae00618de64a416781b21c203
tree34d44df955bdbcf3a031cb6d594a8c76e903c85a
parentd22fe36ae4b920b115900a8de50cffb9fa464ef2
Choose the PBC image of each rotation group atom depending
on the current position of it reference atom. Therefore,
1) in choose_pbc_image() the correctly rotated reference position
has to be used (the addition of the pivot vector was missing)
2) in init_rot_group(), the reference positions have to be
correctly determined for restarts. In these cases, the initial
angle of the reference group is different from zero.

Change-Id: I57f886c507317385619e42bf387e407479b0c08d
src/mdlib/pull_rotation.c