git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1183 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -237,9 +237,7 @@ FixAveSpatial::FixAveSpatial(LAMMPS *lmp, int narg, char **arg) :
|
||||
nvalid = update->ntimestep;
|
||||
else
|
||||
nvalid -= (nrepeat-1)*nevery;
|
||||
|
||||
if (nvalid < update->ntimestep)
|
||||
error->all("Fix ave/spatial cannot be started on this timestep");
|
||||
if (nvalid < update->ntimestep) nvalid += nfreq;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user