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

This commit is contained in:
sjplimp
2011-05-26 22:00:16 +00:00
parent b2adca8e0e
commit 0ca2e3b389
9 changed files with 79 additions and 59 deletions

View File

@ -42,7 +42,7 @@
#include "neighbor.h"
#include "special.h"
#include "variable.h"
#include "accelerator.h"
#include "accelerator_cuda.h"
#include "error.h"
#include "memory.h"
@ -813,13 +813,13 @@ void Input::accelerator()
if (strcmp(arg[0],"off") == 0) {
if (narg != 1) error->all("Illegal accelerator command");
lmp->offaccel = 1;
lmp->accelerator = 0;
return;
}
if (strcmp(arg[0],"on") == 0) {
if (narg != 1) error->all("Illegal accelerator command");
lmp->offaccel = 0;
lmp->accelerator = 1;
return;
}