git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15203 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -36,6 +36,9 @@ void Minimize::command(int narg, char **arg)
|
||||
if (domain->box_exist == 0)
|
||||
error->all(FLERR,"Minimize command before simulation box is defined");
|
||||
|
||||
// ignore minimize command, if walltime limit was already reached
|
||||
if (timer->is_timeout()) return;
|
||||
|
||||
update->etol = force->numeric(FLERR,arg[0]);
|
||||
update->ftol = force->numeric(FLERR,arg[1]);
|
||||
update->nsteps = force->inumeric(FLERR,arg[2]);
|
||||
@ -54,6 +57,7 @@ void Minimize::command(int narg, char **arg)
|
||||
error->all(FLERR,"Cannot yet use minimize with Kokkos");
|
||||
|
||||
lmp->init();
|
||||
timer->init_timeout();
|
||||
update->minimize->setup();
|
||||
|
||||
timer->init();
|
||||
|
||||
Reference in New Issue
Block a user