forked from lijiext/lammps
correct minor issues, so LAMMPS compiles again
This commit is contained in:
parent
844858d3a7
commit
6886dcb2e4
|
@ -790,7 +790,7 @@ void FixRigidSmall::initial_integrate(int vflag)
|
||||||
which are added in when a new fcm/torque are calculated
|
which are added in when a new fcm/torque are calculated
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
void FixRigidSmall::apply_langevin_thermostat(int vflag)
|
void FixRigidSmall::apply_langevin_thermostat()
|
||||||
{
|
{
|
||||||
double gamma1,gamma2;
|
double gamma1,gamma2;
|
||||||
|
|
||||||
|
@ -865,6 +865,15 @@ void FixRigidSmall::enforce2d()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
void FixRigidSmall::post_force(int vflag)
|
||||||
|
{
|
||||||
|
if (langflag) apply_langevin_thermostat();
|
||||||
|
if (earlyflag) compute_forces_and_torques();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
||||||
void FixRigidSmall::compute_forces_and_torques()
|
void FixRigidSmall::compute_forces_and_torques()
|
||||||
|
|
|
@ -237,7 +237,7 @@ void FixRigidNHOMP::initial_integrate(int vflag)
|
||||||
|
|
||||||
void FixRigidNHOMP::compute_forces_and_torques()
|
void FixRigidNHOMP::compute_forces_and_torques()
|
||||||
{
|
{
|
||||||
int ibody
|
int ibody;
|
||||||
|
|
||||||
double * const * _noalias const x = atom->x;
|
double * const * _noalias const x = atom->x;
|
||||||
const dbl3_t * _noalias const f = (dbl3_t *) atom->f[0];
|
const dbl3_t * _noalias const f = (dbl3_t *) atom->f[0];
|
||||||
|
|
Loading…
Reference in New Issue