change incorrect EINERTIA constant in rigid body integrators from 4.0 to 2.0 (same as in other integrators)

This commit is contained in:
Axel Kohlmeyer 2017-06-12 14:07:40 -04:00
parent 0ecdb99885
commit 6b289b0794
4 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ enum{ISO,ANISO,TRICLINIC};
#define EPSILON 1.0e-7
#define SINERTIA 0.4 // moment of inertia prefactor for sphere
#define EINERTIA 0.4 // moment of inertia prefactor for ellipsoid
#define EINERTIA 0.2 // moment of inertia prefactor for ellipsoid
#define LINERTIA (1.0/12.0) // moment of inertia prefactor for line segment
/* ---------------------------------------------------------------------- */

View File

@ -54,7 +54,7 @@ FixRigidSmall *FixRigidSmall::frsptr;
#define BIG 1.0e20
#define SINERTIA 0.4 // moment of inertia prefactor for sphere
#define EINERTIA 0.4 // moment of inertia prefactor for ellipsoid
#define EINERTIA 0.2 // moment of inertia prefactor for ellipsoid
#define LINERTIA (1.0/12.0) // moment of inertia prefactor for line segment
#define DELTA_BODY 10000

View File

@ -39,7 +39,7 @@ using namespace MathConst;
enum{SINGLE,MOLECULE,GROUP}; // same as in FixRigid
#define EINERTIA 0.4 // moment of inertia prefactor for ellipsoid
#define EINERTIA 0.2 // moment of inertia prefactor for ellipsoid
typedef struct { double x,y,z; } dbl3_t;

View File

@ -37,7 +37,7 @@ using namespace LAMMPS_NS;
using namespace FixConst;
using namespace MathConst;
#define EINERTIA 0.4 // moment of inertia prefactor for ellipsoid
#define EINERTIA 0.2 // moment of inertia prefactor for ellipsoid
enum{FULL_BODY,INITIAL,FINAL,FORCE_TORQUE,VCM_ANGMOM,XCM_MASS,ITENSOR,DOF};