From 9573dfcea03b51ae12a12709cbcab143a28d0e6b Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 20 May 2011 16:03:21 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6174 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/fix.cpp | 1 + src/fix.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/fix.cpp b/src/fix.cpp index e2c077fbc4..2ed2dc7485 100644 --- a/src/fix.cpp +++ b/src/fix.cpp @@ -58,6 +58,7 @@ Fix::Fix(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp) time_depend = 0; create_attribute = 0; restart_pbc = 0; + cudable_comm = 0; scalar_flag = vector_flag = array_flag = 0; peratom_flag = local_flag = 0; diff --git a/src/fix.h b/src/fix.h index ca7008a8b2..b1ede8b67c 100644 --- a/src/fix.h +++ b/src/fix.h @@ -41,6 +41,7 @@ class Fix : protected Pointers { // setting when a new atom is created int restart_pbc; // 1 if fix moves atoms (except integrate) // so write_restart must remap to PBC + int cudable_comm; // 1 if fix has CUDA-enabled communication int scalar_flag; // 0/1 if compute_scalar() function exists int vector_flag; // 0/1 if compute_vector() function exists