git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15364 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2016-07-23 00:24:54 +00:00
parent caf9483a0a
commit 08ac3d54dd
3 changed files with 14 additions and 3 deletions

View File

@ -448,10 +448,9 @@ void Update::reset_timestep(bigint newstep)
for (int i = 0; i < modify->ncompute; i++)
if (modify->compute[i]->timeflag) modify->compute[i]->clearstep();
// set last_build of all neigh lists to -1 to force rebuild
// Neighbor Bin/Stencil/Pair classes store timestamps that need to be cleared
for (int i = 0; i < neighbor->nlist; i++)
neighbor->lists[i]->last_build = -1;
neighbor->reset_timestep(ntimestep);
// NOTE: 7Jun12, adding rerun command, don't think this is required