bugfix for 2 recenty reported neighbor issues, also a ReaxFF fix species issue
This commit is contained in:
@ -156,7 +156,7 @@ void NPairHalfSizeBinNewton::build(NeighList *list)
|
||||
|
||||
// loop over all atoms in other bins in stencil, store every pair
|
||||
|
||||
ibin = coord2bin(x[i]);
|
||||
ibin = atom2bin[i];
|
||||
for (k = 0; k < nstencil; k++) {
|
||||
for (j = binhead[ibin+stencil[k]]; j >= 0; j = bins[j]) {
|
||||
if (exclude && exclusion(i,j,type[i],type[j],mask,molecule)) continue;
|
||||
|
||||
Reference in New Issue
Block a user