Always build occasional lists on first step

This commit is contained in:
David Nicholson
2017-11-13 04:53:16 -05:00
parent c16b7a3273
commit a085ee0c55
3 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ void ComputeAggregateAtom::compute_peratom()
// invoke full neighbor list (will copy or build if necessary)
neighbor->build_one(list,1);
neighbor->build_one(list);
// if group is dynamic, insure ghost atom masks are current

View File

@ -113,7 +113,7 @@ void ComputeClusterAtom::compute_peratom()
// invoke full neighbor list (will copy or build if necessary)
neighbor->build_one(list,1);
neighbor->build_one(list);
inum = list->inum;
ilist = list->ilist;

View File

@ -2144,7 +2144,7 @@ void Neighbor::build_one(class NeighList *mylist, int preflag)
NPair *np = neigh_pair[mylist->index];
if (preflag) {
if (preflag || update->firststep == update->ntimestep) {
if (np->last_build > lastcall) return;
} else {
if (np->last_build >= lastcall) return;