Skip to content
Snippets Groups Projects
Commit 0c8af070 authored by Stan Moore's avatar Stan Moore
Browse files

Tweak to npair_halffull_newtoff.cpp

parent f1901237
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment