changes to fixes that use THERMO_ENERGY
This commit is contained in:
@ -46,6 +46,7 @@ FixGravity::FixGravity(LAMMPS *lmp, int narg, char **arg) :
|
||||
scalar_flag = 1;
|
||||
global_freq = 1;
|
||||
extscalar = 1;
|
||||
energy_global_flag = 1;
|
||||
respa_level_support = 1;
|
||||
ilevel_respa = 0;
|
||||
|
||||
@ -62,7 +63,7 @@ FixGravity::FixGravity(LAMMPS *lmp, int narg, char **arg) :
|
||||
mstyle = CONSTANT;
|
||||
}
|
||||
|
||||
int iarg=4;
|
||||
int iarg = 4;
|
||||
|
||||
if (strcmp(arg[4],"chute") == 0) {
|
||||
if (narg < 6) error->all(FLERR,"Illegal fix gravity command");
|
||||
@ -186,7 +187,6 @@ int FixGravity::setmask()
|
||||
{
|
||||
int mask = 0;
|
||||
mask |= POST_FORCE;
|
||||
mask |= THERMO_ENERGY;
|
||||
mask |= POST_FORCE_RESPA;
|
||||
return mask;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user