disallow reset_timestep for time averaging fixes

This commit is contained in:
Axel Kohlmeyer
2021-12-09 15:09:42 -05:00
parent 878dd746db
commit facb49fc27
6 changed files with 6 additions and 0 deletions

View File

@ -70,6 +70,7 @@ FixAveCorrelateLong::FixAveCorrelateLong(LAMMPS * lmp, int narg, char **arg):
restart_global = 1;
global_freq = nfreq;
time_depend = 1;
// parse values until one isn't recognized

View File

@ -41,6 +41,7 @@ FixAveAtom::FixAveAtom(LAMMPS *lmp, int narg, char **arg) :
nevery = utils::inumeric(FLERR,arg[3],false,lmp);
nrepeat = utils::inumeric(FLERR,arg[4],false,lmp);
peratom_freq = utils::inumeric(FLERR,arg[5],false,lmp);
time_depend = 1;
nvalues = narg - 6;

View File

@ -61,6 +61,7 @@ FixAveChunk::FixAveChunk(LAMMPS *lmp, int narg, char **arg) :
global_freq = nfreq;
no_change_box = 1;
time_depend = 1;
char * group = arg[1];

View File

@ -52,6 +52,7 @@ FixAveCorrelate::FixAveCorrelate(LAMMPS * lmp, int narg, char **arg):
nrepeat = utils::inumeric(FLERR,arg[4],false,lmp);
nfreq = utils::inumeric(FLERR,arg[5],false,lmp);
time_depend = 1;
global_freq = nfreq;
// expand args if any have wildcard character "*"

View File

@ -61,6 +61,7 @@ FixAveHisto::FixAveHisto(LAMMPS *lmp, int narg, char **arg) :
size_array_cols = 3;
extarray = 0;
dynamic_group_allow = 1;
time_depend = 1;
lo = utils::numeric(FLERR,arg[6],false,lmp);
hi = utils::numeric(FLERR,arg[7],false,lmp);

View File

@ -56,6 +56,7 @@ FixAveTime::FixAveTime(LAMMPS *lmp, int narg, char **arg) :
global_freq = nfreq;
dynamic_group_allow = 1;
time_depend = 1;
// scan values to count them
// then read options so know mode = SCALAR/VECTOR before re-reading values