git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8456 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2012-07-02 14:07:44 +00:00
parent b1a4398a74
commit 0aaac5757c
1 changed files with 1 additions and 1 deletions

View File

@ -728,7 +728,7 @@ void Velocity::zero_rotation()
if (mask[i] & groupbit) {
xbox = (image[i] & IMGMASK) - IMGMAX;
ybox = (image[i] >> IMGBITS & IMGMASK) - IMGMAX;
zbox = (image[i] >> IMG2BITS) - IMGMASK;
zbox = (image[i] >> IMG2BITS) - IMGMAX;
dx = (x[i][0] + xbox*xprd) - xcm[0];
dy = (x[i][1] + ybox*yprd) - xcm[1];
dz = (x[i][2] + zbox*zprd) - xcm[2];