From aad8cd10ffa28f6681f7e5b7351ea6ed695a8ab9 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 18 Sep 2017 18:08:57 -0400 Subject: [PATCH] allow fix viscous to be used with dynamic groups --- src/fix_viscous.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fix_viscous.cpp b/src/fix_viscous.cpp index 911fcf84ef..423bccc383 100644 --- a/src/fix_viscous.cpp +++ b/src/fix_viscous.cpp @@ -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]);