forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8456 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
b1a4398a74
commit
0aaac5757c
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue