git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4046 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user