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