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

This commit is contained in:
sjplimp
2012-04-10 15:02:16 +00:00
parent e75bdb13f0
commit fb1c3d6019
8 changed files with 102 additions and 42 deletions

View File

@ -497,7 +497,7 @@ void Set::set(int keyword)
if (yimageflag) ybox = yimage;
if (zimageflag) zbox = zimage;
atom->image[i] = ((zbox + 512 & 1023) << 20) |
((ybox + 512 & 1023) << 10) | (xbox + 512 & 1023);
((ybox + 512 & 1023) << 10) | (xbox + 512 & 1023);
// set dipole moment