git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8803 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -496,9 +496,9 @@ void Set::set(int keyword)
|
||||
if (ximageflag) xbox = ximage;
|
||||
if (yimageflag) ybox = yimage;
|
||||
if (zimageflag) zbox = zimage;
|
||||
atom->image[i] = ((zbox + (tagint) IMGMAX & IMGMASK) << IMG2BITS) |
|
||||
((ybox + (tagint) IMGMAX & IMGMASK) << IMGBITS) |
|
||||
(xbox + IMGMAX & IMGMASK);
|
||||
atom->image[i] = ((tagint) (xbox + IMGMAX) & IMGMASK) |
|
||||
(((tagint) (ybox + IMGMAX) & IMGMASK) << IMGBITS) |
|
||||
(((tagint) (zbox + IMGMAX) & IMGMASK) << IMG2BITS);
|
||||
|
||||
// set dipole moment
|
||||
|
||||
|
||||
Reference in New Issue
Block a user