add rigid body overlap warnings to change_box and delete_atoms
This commit is contained in:
@ -316,6 +316,9 @@ void ChangeBox::command(int narg, char **arg)
|
||||
|
||||
} else if (ops[m].style == REMAP) {
|
||||
|
||||
if (modify->check_rigid_group_overlap(groupbit))
|
||||
error->warning(FLERR,"Attempting to remap atoms in rigid bodies");
|
||||
|
||||
// convert atoms to lamda coords, using last box state
|
||||
// convert atoms back to box coords, using current box state
|
||||
// save current box state
|
||||
|
||||
Reference in New Issue
Block a user