allow fix viscous to be used with dynamic groups

This commit is contained in:
Axel Kohlmeyer
2017-09-18 18:08:57 -04:00
parent 1ac90815f3
commit aad8cd10ff

View File

@ -30,6 +30,8 @@ FixViscous::FixViscous(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg),
gamma(NULL)
{
dynamic_group_allow = 1;
if (narg < 4) error->all(FLERR,"Illegal fix viscous command");
double gamma_one = force->numeric(FLERR,arg[3]);