From e4d1068c702dd9f675baf5f458d3dfbc796314a8 Mon Sep 17 00:00:00 2001 From: Steve Plimpton Date: Wed, 10 Jun 2020 16:47:55 -0600 Subject: [PATCH] flag a couple fixes and their derived clases as incompatible with resetting atom IDs --- src/RIGID/fix_rigid_small.cpp | 3 ++- src/RIGID/fix_shake.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/RIGID/fix_rigid_small.cpp b/src/RIGID/fix_rigid_small.cpp index 4fa35cf5fd..068573f345 100644 --- a/src/RIGID/fix_rigid_small.cpp +++ b/src/RIGID/fix_rigid_small.cpp @@ -72,7 +72,8 @@ FixRigidSmall::FixRigidSmall(LAMMPS *lmp, int narg, char **arg) : create_attribute = 1; dof_flag = 1; enforce2d_flag = 1; - + stores_ids = 1; + MPI_Comm_rank(world,&me); MPI_Comm_size(world,&nprocs); diff --git a/src/RIGID/fix_shake.cpp b/src/RIGID/fix_shake.cpp index b1ce975005..90c07d16a0 100644 --- a/src/RIGID/fix_shake.cpp +++ b/src/RIGID/fix_shake.cpp @@ -64,7 +64,8 @@ FixShake::FixShake(LAMMPS *lmp, int narg, char **arg) : thermo_virial = 1; create_attribute = 1; dof_flag = 1; - + stores_ids = 1; + // error check molecular = atom->molecular;