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 281a368702
commit c43cce54ab
2 changed files with 2 additions and 0 deletions

View File

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

View File

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