forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@141 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
122d35f516
commit
8e8f2616f8
20
src/run.cpp
20
src/run.cpp
|
@ -24,10 +24,6 @@
|
|||
#include "timer.h"
|
||||
#include "error.h"
|
||||
|
||||
#define CommandInclude
|
||||
#include "style.h"
|
||||
#undef CommandInclude
|
||||
|
||||
#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
||||
#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
|
@ -182,21 +178,7 @@ void Run::command(int narg, char **arg)
|
|||
if (postflag || nleft == 0) finish.end(1);
|
||||
else finish.end(0);
|
||||
|
||||
if (commandstr) {
|
||||
command = input->one(commandstr);
|
||||
if (command) {
|
||||
if (0) return;
|
||||
|
||||
#define CommandClass
|
||||
#define CommandStyle(key,Class) \
|
||||
else if (strcmp(command,#key) == 0) { \
|
||||
Class key; \
|
||||
key.command(input->narg,input->arg); \
|
||||
}
|
||||
#include "style.h"
|
||||
#undef CommandClass
|
||||
}
|
||||
}
|
||||
if (commandstr) command = input->one(commandstr);
|
||||
|
||||
nleft -= nsteps;
|
||||
iter++;
|
||||
|
|
Loading…
Reference in New Issue