Tweak to npair_halffull_newtoff.cpp

This commit is contained in:
Stan Moore
2018-01-16 16:43:25 -07:00
parent f1901237be
commit 0c8af0704e

View File

@ -82,12 +82,5 @@ void NPairHalffullNewtoff::build(NeighList *list)
}
list->inum = inum;
if (list->ghost) {
int num = 0;
for (i = 0; i < inum; i++)
if (ilist[i] < nlocal) num++;
else break;
list->inum = num;
list->gnum = inum - num;
}
if (list->ghost) list->gnum = list->listfull->gnum;
}