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

This commit is contained in:
sjplimp
2009-08-18 21:52:42 +00:00
parent b16daa15d8
commit f785919592
3 changed files with 15 additions and 10 deletions

View File

@ -42,14 +42,14 @@ void Minimize::command(int narg, char **arg)
if (update->etol < 0.0 || update->ftol < 0.0)
error->all("Illegal minimize command");
update->whichflag = 2;
update->beginstep = update->firststep = update->ntimestep;
update->endstep = update->laststep = update->firststep + update->nsteps;
update->whichflag = 2;
lmp->init();
update->minimize->setup();
update->minimize->run();
update->minimize->cleanup();
Finish finish(lmp);
finish.end(1);