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

This commit is contained in:
sjplimp 2012-07-02 14:14:01 +00:00
parent 0aaac5757c
commit f38a94ae8a
3 changed files with 3 additions and 3 deletions

View File

@ -602,7 +602,7 @@ void Atom::data_atoms(int n, char *buf)
imagedata = imagedata =
(((tagint) atoi(values[iptr+2]) + IMGMAX & IMGMASK) << IMG2BITS) | (((tagint) atoi(values[iptr+2]) + IMGMAX & IMGMASK) << IMG2BITS) |
(((tagint) atoi(values[iptr+1]) + IMGMAX & IMGMASK) << IMGBITS) | (((tagint) atoi(values[iptr+1]) + IMGMAX & IMGMASK) << IMGBITS) |
(atoi(values[iptr]) + IMGMASK & IMGMASK); (atoi(values[iptr]) + IMGMAX & IMGMASK);
else imagedata = ((tagint) IMGMAX << IMG2BITS) | else imagedata = ((tagint) IMGMAX << IMG2BITS) |
((tagint) IMGMAX << IMGBITS) | IMGMAX; ((tagint) IMGMAX << IMGBITS) | IMGMAX;

View File

@ -272,7 +272,7 @@ void CreateAtoms::add_single()
if (remapflag) { if (remapflag) {
tagint imagetmp = ((tagint) IMGMAX << IMG2BITS) | tagint imagetmp = ((tagint) IMGMAX << IMG2BITS) |
((tagint) IMGMASK << IMGBITS) | IMGMAX; ((tagint) IMGMAX << IMGBITS) | IMGMAX;
domain->remap(xone,imagetmp); domain->remap(xone,imagetmp);
} }

View File

@ -1652,7 +1652,7 @@ void FixRigid::setup_bodies()
for (ibody = 0; ibody < nbody; ibody++) for (ibody = 0; ibody < nbody; ibody++)
imagebody[ibody] = ((tagint) IMGMAX << IMG2BITS) | imagebody[ibody] = ((tagint) IMGMAX << IMG2BITS) |
((tagint) IMGMASK << IMGBITS) | IMGMAX; ((tagint) IMGMAX << IMGBITS) | IMGMAX;
pre_neighbor(); pre_neighbor();