forked from lijiext/lammps
change incorrect EINERTIA constant in rigid body integrators from 4.0 to 2.0 (same as in other integrators)
This commit is contained in:
parent
0ecdb99885
commit
6b289b0794
|
@ -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
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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};
|
||||
|
||||
|
|
Loading…
Reference in New Issue