Adding full atomonly bin npair style

This commit is contained in:
jtclemm
2023-10-23 16:54:56 -06:00
parent 51577eff2c
commit 8054d2807a
3 changed files with 8 additions and 2 deletions

View File

@ -159,7 +159,7 @@ void NPairMultiOld<HALF, NEWTON, TRI, SIZE>::build(NeighList *list)
// Half neighbor list, newton on, orthonormal
// store every pair for every bin in stencil,except for i's bin
if (stencil[k] == 0) {
if (s[k] == 0) {
// if j is owned atom, store it, since j is beyond i in linked list
// if j is ghost, only store if j coords are "above and to the "right" of i
if (j >= nlocal) {