bugfix for 2 recenty reported neighbor issues, also a ReaxFF fix species issue
This commit is contained in:
@ -92,7 +92,7 @@ void NPairHalfBinNewtoffGhost::build(NeighList *list)
|
||||
// no molecular test when i = ghost atom
|
||||
|
||||
if (i < nlocal) {
|
||||
ibin = coord2bin(x[i]);
|
||||
ibin = atom2bin[i];
|
||||
|
||||
for (k = 0; k < nstencil; k++) {
|
||||
for (j = binhead[ibin+stencil[k]]; j >= 0; j = bins[j]) {
|
||||
|
||||
Reference in New Issue
Block a user