Commit a085ee0c authored by David Nicholson's avatar David Nicholson
Browse files

Always build occasional lists on first step

parent c16b7a32
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;