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

This commit is contained in:
sjplimp 2010-04-23 20:33:51 +00:00
parent a551447ab1
commit c6a6c1e667
1 changed files with 4 additions and 3 deletions

View File

@ -164,9 +164,10 @@ void Neighbor::half_nsq_newton(NeighList *list)
if ((itag+jtag) % 2 == 1) continue;
} else {
if (x[j][2] < ztmp) continue;
else if (x[j][2] == ztmp && x[j][1] < ytmp) continue;
else if (x[j][2] == ztmp && x[j][1] == ytmp && x[j][0] < xtmp)
continue;
if (x[j][2] == ztmp) {
if (x[j][1] < ytmp) continue;
if (x[j][1] == ytmp && x[j][0] < xtmp) continue;
}
}
}