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

This commit is contained in:
sjplimp
2015-01-20 23:25:40 +00:00
parent 1833a9abc4
commit e59417b0f7
11 changed files with 26 additions and 15 deletions

View File

@ -42,7 +42,7 @@ void Run::command(int narg, char **arg)
if (domain->box_exist == 0)
error->all(FLERR,"Run command before simulation box is defined");
bigint nsteps_input = ATOBIGINT(arg[0]);
bigint nsteps_input = force->bnumeric(FLERR,arg[0]);
// parse optional args
@ -65,12 +65,12 @@ void Run::command(int narg, char **arg)
} else if (strcmp(arg[iarg],"start") == 0) {
if (iarg+2 > narg) error->all(FLERR,"Illegal run command");
startflag = 1;
start = ATOBIGINT(arg[iarg+1]);
start = force->bnumeric(FLERR,arg[iarg+1]);
iarg += 2;
} else if (strcmp(arg[iarg],"stop") == 0) {
if (iarg+2 > narg) error->all(FLERR,"Illegal run command");
stopflag = 1;
stop = ATOBIGINT(arg[iarg+1]);
stop = force->bnumeric(FLERR,arg[iarg+1]);
iarg += 2;
} else if (strcmp(arg[iarg],"pre") == 0) {
if (iarg+2 > narg) error->all(FLERR,"Illegal run command");