reset image flag for bondlist option

This commit is contained in:
jrgissing
2022-02-13 14:06:19 -05:00
parent 2a4dbe5bbc
commit 7288d78331

View File

@ -107,6 +107,11 @@ void Replicate::command(int narg, char **arg)
maxmol = maxmol_all;
}
// reset image flags for bondlist option
if (bondlist_flag)
for (i=0; i<atom->nlocal; ++i)
atom->image[i] = 0;
// check image flags maximum extent
// only efficient small image flags compared to new system