forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8454 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
71f4cdf3f1
commit
ef2bb14bab
|
@ -601,7 +601,7 @@ void Atom::data_atoms(int n, char *buf)
|
|||
if (imageflag)
|
||||
imagedata =
|
||||
(((tagint) atoi(values[iptr+2]) + IMGMAX & IMGMASK) << IMG2BITS) |
|
||||
(((tagint) atoi(values[iptr+1]) + IMGMASK & IMGMASK) << IMGBITS) |
|
||||
(((tagint) atoi(values[iptr+1]) + IMGMAX & IMGMASK) << IMGBITS) |
|
||||
(atoi(values[iptr]) + IMGMASK & IMGMASK);
|
||||
else imagedata = ((tagint) IMGMAX << IMG2BITS) |
|
||||
((tagint) IMGMAX << IMGBITS) | IMGMAX;
|
||||
|
|
|
@ -279,7 +279,7 @@ void Replicate::command(int narg, char **arg)
|
|||
m = 0;
|
||||
while (m < n) {
|
||||
image = ((tagint) IMGMAX << IMG2BITS) |
|
||||
((tagint) IMGMASK << IMGBITS) | IMGMAX;
|
||||
((tagint) IMGMAX << IMGBITS) | IMGMAX;
|
||||
if (triclinic == 0) {
|
||||
x[0] = buf[m+1] + ix*old_xprd;
|
||||
x[1] = buf[m+2] + iy*old_yprd;
|
||||
|
|
Loading…
Reference in New Issue