fix compilation issues

This commit is contained in:
Axel Kohlmeyer
2021-05-11 18:32:18 -04:00
parent ed75618ad6
commit 0d4cca5af9
2 changed files with 2 additions and 4 deletions

View File

@ -13,7 +13,7 @@
#ifdef BOND_CLASS
BondStyle(fene / expand, BondFENEExpand)
BondStyle(fene/expand, BondFENEExpand)
#else

View File

@ -46,7 +46,7 @@ FixPropelSelf::FixPropelSelf(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg)
{
virial_flag = 1;
virial_global_flag = virial_peratom_flag = 1;
if (narg != 5 && narg != 9)
error->all(FLERR,"Illegal fix propel/self command");
@ -207,7 +207,6 @@ void FixPropelSelf::post_force_velocity(int vflag)
double **x = atom->x;
int *mask = atom->mask;
int nlocal = atom->nlocal;
int *type = atom->type;
double nv2,fnorm,fx,fy,fz;
@ -262,7 +261,6 @@ void FixPropelSelf::post_force_quaternion(int vflag)
double **x = atom->x;
int *mask = atom->mask;
int nlocal = atom->nlocal;
int *type = atom->type;
int* ellipsoid = atom->ellipsoid;
// ellipsoidal properties