forgot to update lammps.cpp

This commit is contained in:
Axel Kohlmeyer
2021-09-03 11:37:03 -04:00
parent f768b701ee
commit 6290054e52

View File

@ -126,7 +126,7 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator) :
cslib = nullptr;
cscomm = 0;
skipflag = 0;
skiprunflag = 0;
screen = nullptr;
logfile = nullptr;
@ -395,7 +395,7 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator) :
} else if (strcmp(arg[iarg],"-skiprun") == 0 ||
strcmp(arg[iarg],"-sr") == 0) {
skipflag = 1;
skiprunflag = 1;
++iarg;
} else if (strcmp(arg[iarg],"-suffix") == 0 ||
@ -832,7 +832,7 @@ void LAMMPS::create()
void LAMMPS::post_create()
{
if (skipflag) input->one("timer timeout 0 every 1");
if (skiprunflag) input->one("timer timeout 0 every 1");
// default package command triggered by "-k on"