git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3904 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2010-03-18 21:37:44 +00:00
parent 3f78c5199d
commit 730bbe82f4

View File

@ -86,6 +86,13 @@ FixPrint::FixPrint(LAMMPS *lmp, int narg, char **arg) :
copy = new char[MAXLINE];
work = new char[MAXLINE];
// add nfirst to all computes that store invocation times
// since don't know a priori which are invoked via variables by this fix
// once in end_of_step() can set timestep for ones actually invoked
int nfirst = (update->ntimestep/nevery)*nevery + nevery;
modify->addstep_compute_all(nfirst);
}
/* ---------------------------------------------------------------------- */