Always build occasional lists on first step
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user