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

This commit is contained in:
sjplimp 2009-08-18 17:59:59 +00:00
parent 464bdb0bf5
commit bc24aa5b96
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ void Temper::command(int narg, char **arg)
// setup for long tempering run // setup for long tempering run
update->whichflag = 0; update->whichflag = 1;
update->nsteps = nsteps; update->nsteps = nsteps;
update->beginstep = update->firststep = update->ntimestep; update->beginstep = update->firststep = update->ntimestep;
update->endstep = update->laststep = update->firststep + nsteps; update->endstep = update->laststep = update->firststep + nsteps;
@ -302,7 +302,7 @@ void Temper::command(int narg, char **arg)
Finish finish(lmp); Finish finish(lmp);
finish.end(1); finish.end(1);
update->whichflag = -1; update->whichflag = 0;
update->firststep = update->laststep = 0; update->firststep = update->laststep = 0;
update->beginstep = update->endstep = 0; update->beginstep = update->endstep = 0;
} }