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

This commit is contained in:
sjplimp
2011-05-20 15:28:28 +00:00
parent 8037991332
commit 3145254774
2 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,7 @@ Compute::Compute(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
timeflag = 0; timeflag = 0;
comm_forward = comm_reverse = 0; comm_forward = comm_reverse = 0;
cudable = 0;
invoked_scalar = invoked_vector = invoked_array = -1; invoked_scalar = invoked_vector = invoked_array = -1;
invoked_peratom = invoked_local = -1; invoked_peratom = invoked_local = -1;

View File

@ -77,6 +77,8 @@ class Compute : protected Pointers {
int comm_forward; // size of forward communication (0 if none) int comm_forward; // size of forward communication (0 if none)
int comm_reverse; // size of reverse communication (0 if none) int comm_reverse; // size of reverse communication (0 if none)
int cudable; // 1 if compute is CUDA-enabled
Compute(class LAMMPS *, int, char **); Compute(class LAMMPS *, int, char **);
virtual ~Compute(); virtual ~Compute();
void modify_params(int, char **); void modify_params(int, char **);