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

This commit is contained in:
sjplimp
2007-11-02 20:25:11 +00:00
parent f12471d507
commit 6de4e59a38
28 changed files with 610 additions and 280 deletions

View File

@ -17,6 +17,7 @@
#include "domain.h"
#include "update.h"
#include "integrate.h"
#include "modify.h"
#include "output.h"
#include "finish.h"
#include "input.h"
@ -182,7 +183,13 @@ void Run::command(int narg, char **arg)
if (postflag || nleft == 0) finish.end(1);
else finish.end(0);
if (commandstr) char *command = input->one(commandstr);
// command string may invoke a compute that affects Verlet::eflag,vflag
if (commandstr) {
modify->clearstep_compute();
char *command = input->one(commandstr);
modify->addstep_compute(update->ntimestep + nevery);
}
nleft -= nsteps;
iter++;