From cf349633f77050a78b085094e1b6a3eb39d18397 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 26 Mar 2019 13:09:49 -0400 Subject: [PATCH] cosmetic changes --- src/RIGID/fix_rigid_small.cpp | 2 +- src/RIGID/fix_rigid_small.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/RIGID/fix_rigid_small.cpp b/src/RIGID/fix_rigid_small.cpp index 18057b7c14..ce44fb4e93 100644 --- a/src/RIGID/fix_rigid_small.cpp +++ b/src/RIGID/fix_rigid_small.cpp @@ -660,7 +660,7 @@ void FixRigidSmall::setup(int vflag) // must check here, not in init, b/c neigh/comm values set after fix init double cutghost = MAX(neighbor->cutneighmax,comm->cutghostuser); - if (maxextent > cutghost) + if (maxextent > cutghost) error->all(FLERR,"Rigid body extent > ghost cutoff - use comm_modify cutoff"); //check(1); diff --git a/src/RIGID/fix_rigid_small.h b/src/RIGID/fix_rigid_small.h index f6ad1b7206..b5a3d5208d 100644 --- a/src/RIGID/fix_rigid_small.h +++ b/src/RIGID/fix_rigid_small.h @@ -22,9 +22,6 @@ FixStyle(rigid/small,FixRigidSmall) #include "fix.h" -// replace this later -//#include - namespace LAMMPS_NS { class FixRigidSmall : public Fix {