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

Moved rerun bug fix to individual affected styles

parent 751465aa
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -120,8 +120,10 @@ void ComputeAggregateAtom::compute_peratom()
  }

  // invoke full neighbor list (will copy or build if necessary)
  // on the first step of a run, set preflag to one in neighbor->build_one(...)

  neighbor->build_one(list);
  if (update->firststep == update->ntimestep) neighbor->build_one(list,1);
  else neighbor->build_one(list);

  // if group is dynamic, insure ghost atom masks are current

+3 −1
Original line number Diff line number Diff line
@@ -112,8 +112,10 @@ void ComputeClusterAtom::compute_peratom()
  }

  // invoke full neighbor list (will copy or build if necessary)
  // on the first step of a run, set preflag to one in neighbor->build_one(...)

  neighbor->build_one(list);
  if (update->firststep == update->ntimestep) neighbor->build_one(list,1);
  else neighbor->build_one(list);

  inum = list->inum;
  ilist = list->ilist;
+3 −1
Original line number Diff line number Diff line
@@ -154,8 +154,10 @@ void ComputeHexOrderAtom::compute_peratom()
  }

  // invoke full neighbor list (will copy or build if necessary)
  // on the first step of a run, set preflag to one in neighbor->build_one(...)

  neighbor->build_one(list);
  if (update->firststep == update->ntimestep) neighbor->build_one(list,1);
  else 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 || update->firststep == update->ntimestep) {
  if (preflag) {
    if (np->last_build > lastcall) return;
  } else {
    if (np->last_build >= lastcall) return;