add rigid body overlap warnings to change_box and delete_atoms

This commit is contained in:
Axel Kohlmeyer
2017-06-13 16:26:49 -04:00
parent 4c69bbcf5c
commit 32b967ed9c
3 changed files with 19 additions and 7 deletions

View File

@ -76,7 +76,7 @@ void DisplaceAtoms::command(int narg, char **arg)
groupbit = group->bitmask[igroup];
if (modify->check_rigid_group_overlap(groupbit))
error->warning(FLERR,"Displacing atoms in rigid bodies");
error->warning(FLERR,"Attempting to displace atoms in rigid bodies");
int style = -1;
if (strcmp(arg[1],"move") == 0) style = MOVE;