re-initialize neighbor lists at end to clear out the occasional list entry

This commit is contained in:
Axel Kohlmeyer
2022-08-28 11:38:01 -04:00
parent 6e71318086
commit 28925f69f5
2 changed files with 2 additions and 0 deletions

View File

@ -298,6 +298,7 @@ void CreateBonds::many()
}
}
}
neighbor->init();
// recount bonds

View File

@ -420,6 +420,7 @@ void DeleteAtoms::delete_overlap(int narg, char **arg)
break;
}
}
neighbor->init();
}
/* ----------------------------------------------------------------------