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

This commit is contained in:
sjplimp
2012-10-23 15:51:01 +00:00
parent 68415eae0e
commit 6394161a7c
5 changed files with 32 additions and 12 deletions

View File

@ -35,11 +35,11 @@ Rerun::Rerun(LAMMPS *lmp) : Pointers(lmp) {}
void Rerun::command(int narg, char **arg)
{
if (narg < 2) error->all(FLERR,"Illegal rerun command");
if (domain->box_exist == 0)
error->all(FLERR,"Rerun command before simulation box is defined");
if (narg < 2) error->all(FLERR,"Illegal rerun command");
// list of dump files = args until a keyword
int iarg = 0;