diff --git a/src/fix_ave_correlate.cpp b/src/fix_ave_correlate.cpp index 3a946ac7e9..80b2e22cd4 100644 --- a/src/fix_ave_correlate.cpp +++ b/src/fix_ave_correlate.cpp @@ -140,7 +140,7 @@ FixAveCorrelate::FixAveCorrelate(LAMMPS * lmp, int narg, char **arg): } } iarg += 2; - } else if (strcmp(arg[iarg],"rewrite") == 0) { + } else if (strcmp(arg[iarg],"overwrite") == 0) { overwrite = 1; iarg += 1; } else if (strcmp(arg[iarg],"title1") == 0) { diff --git a/src/fix_ave_histo.cpp b/src/fix_ave_histo.cpp index 1f9a453a5f..d29b7756b4 100644 --- a/src/fix_ave_histo.cpp +++ b/src/fix_ave_histo.cpp @@ -940,7 +940,7 @@ void FixAveHisto::options(int narg, char **arg) else if (strcmp(arg[iarg+1],"extra") == 0) beyond = EXTRA; else error->all(FLERR,"Illegal fix ave/histo command"); iarg += 2; - } else if (strcmp(arg[iarg],"rewrite") == 0) { + } else if (strcmp(arg[iarg],"overwrite") == 0) { overwrite = 1; iarg += 1; } else if (strcmp(arg[iarg],"title1") == 0) { diff --git a/src/fix_ave_spatial.cpp b/src/fix_ave_spatial.cpp index 4bde5d2782..e7e92004ba 100644 --- a/src/fix_ave_spatial.cpp +++ b/src/fix_ave_spatial.cpp @@ -218,7 +218,7 @@ FixAveSpatial::FixAveSpatial(LAMMPS *lmp, int narg, char **arg) : } iarg += 2; if (ave == WINDOW) iarg++; - } else if (strcmp(arg[iarg],"rewrite") == 0) { + } else if (strcmp(arg[iarg],"overwrite") == 0) { overwrite = 1; iarg += 1; } else if (strcmp(arg[iarg],"title1") == 0) { diff --git a/src/fix_ave_time.cpp b/src/fix_ave_time.cpp index a595965b08..18003af66c 100644 --- a/src/fix_ave_time.cpp +++ b/src/fix_ave_time.cpp @@ -875,7 +875,7 @@ void FixAveTime::options(int narg, char **arg) memory->grow(offlist,noff+1,"ave/time:offlist"); offlist[noff++] = atoi(arg[iarg+1]); iarg += 2; - } else if (strcmp(arg[iarg],"rewrite") == 0) { + } else if (strcmp(arg[iarg],"overwrite") == 0) { overwrite = 1; iarg += 1; } else if (strcmp(arg[iarg],"title1") == 0) {