git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15364 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -1931,6 +1931,17 @@ void Neighbor::set(int narg, char **arg)
|
||||
if (style == MULTI && lmp->citeme) lmp->citeme->add(cite_neigh_multi);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
reset timestamps in all NeighList classes
|
||||
so that neighbor lists will rebuild properly with timestep change
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
void Neighbor::reset_timestep(bigint ntimestep)
|
||||
{
|
||||
for (int i = 0; i < nlist; i++)
|
||||
lists[i]->last_build = -1;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
modify parameters of the pair-wise neighbor build
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user