Skip to content
Snippets Groups Projects
Commit 2c428763 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

allow dynamics groups for fix nve/limit and fix temp/rescale

parent f8daea5f
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ FixNVELimit::FixNVELimit(LAMMPS *lmp, int narg, char **arg) : ...@@ -38,6 +38,7 @@ FixNVELimit::FixNVELimit(LAMMPS *lmp, int narg, char **arg) :
scalar_flag = 1; scalar_flag = 1;
global_freq = 1; global_freq = 1;
extscalar = 1; extscalar = 1;
dynamic_group_allow = 1;
xlimit = force->numeric(FLERR,arg[3]); xlimit = force->numeric(FLERR,arg[3]);
......
...@@ -48,6 +48,7 @@ FixTempRescale::FixTempRescale(LAMMPS *lmp, int narg, char **arg) : ...@@ -48,6 +48,7 @@ FixTempRescale::FixTempRescale(LAMMPS *lmp, int narg, char **arg) :
scalar_flag = 1; scalar_flag = 1;
global_freq = nevery; global_freq = nevery;
extscalar = 1; extscalar = 1;
dynamic_group_allow = 1;
tstr = NULL; tstr = NULL;
if (strstr(arg[4],"v_") == arg[4]) { if (strstr(arg[4],"v_") == arg[4]) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment