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

This commit is contained in:
sjplimp
2010-04-23 20:35:56 +00:00
parent c6a6c1e667
commit 6676e21183
2 changed files with 5 additions and 3 deletions

View File

@ -138,8 +138,10 @@ void Neighbor::half_from_full_newton(NeighList *list)
} else {
if (j >= nall) j %= nall;
if (x[j][2] < ztmp) continue;
if (x[j][2] == ztmp && x[j][1] < ytmp) continue;
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;
}
}
neighptr[n++] = joriginal;
}

View File

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