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

@ -25,14 +25,11 @@
#include "region.h"
#include "compute.h"
#include "output.h"
#include "accelerator.h"
#include "memory.h"
#include "error.h"
using namespace LAMMPS_NS;
enum{NOACCEL,OPT,GPU,USERCUDA}; // same as lammps.cpp
/* ---------------------------------------------------------------------- */
Update::Update(LAMMPS *lmp) : Pointers(lmp)
@ -225,7 +222,7 @@ void Update::new_integrate(char *style, int narg, char **arg,
{
int success = 0;
if (suffix && lmp->offaccel == 0) {
if (suffix && lmp->accelerator) {
sflag = 1;
char estyle[256];
sprintf(estyle,"%s/%s",style,suffix);