git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3101 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -45,7 +45,7 @@ void Minimize::command(int narg, char **arg)
|
|||||||
update->beginstep = update->firststep = update->ntimestep;
|
update->beginstep = update->firststep = update->ntimestep;
|
||||||
update->endstep = update->laststep = update->firststep + update->nsteps;
|
update->endstep = update->laststep = update->firststep + update->nsteps;
|
||||||
|
|
||||||
update->whichflag = 1;
|
update->whichflag = 2;
|
||||||
|
|
||||||
lmp->init();
|
lmp->init();
|
||||||
update->minimize->setup();
|
update->minimize->setup();
|
||||||
@ -54,7 +54,7 @@ void Minimize::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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user