Commit e0d0ef12 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@16039 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 43370b75
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1889,6 +1889,7 @@ void Neighbor::set(int narg, char **arg)
/* ----------------------------------------------------------------------
   reset timestamps in all NeignBin, NStencil, NPair classes
   so that neighbor lists will rebuild properly with timestep change
   ditto for lastcall and last_setup_bins
------------------------------------------------------------------------- */

void Neighbor::reset_timestep(bigint ntimestep)
@@ -1901,6 +1902,9 @@ void Neighbor::reset_timestep(bigint ntimestep)
    if (!neigh_pair[i]) continue;
    neigh_pair[i]->last_build = -1;
  }

  lastcall = -1;
  last_setup_bins = -1;
}

/* ----------------------------------------------------------------------