diff --git a/src/USER-CUDA/atom_vec_angle_cuda.cpp b/src/USER-CUDA/atom_vec_angle_cuda.cpp index 054bb68e0b..4179094730 100644 --- a/src/USER-CUDA/atom_vec_angle_cuda.cpp +++ b/src/USER-CUDA/atom_vec_angle_cuda.cpp @@ -369,8 +369,8 @@ int AtomVecAngleCuda::pack_exchange(int dim, double *buf) { int dm= modify->fix[atom->extra_grow[iextra]]->pack_exchange(i,&buf_p[m]); m+=dm; - nextra+=dm; - if(ifix[atom->extra_grow[iextra]]->copy_arrays(copylist[j],i,delflag); + nextra+=dm; + if(ifix[atom->extra_grow[iextra]]->copy_arrays(copylist[j],i,1); if(m>*maxsend) {grow_send(m,buf_pointer,1); buf_p=*buf_pointer;} } diff --git a/src/USER-CUDA/atom_vec_atomic_cuda.cpp b/src/USER-CUDA/atom_vec_atomic_cuda.cpp index 1a4dbad736..bf8865b5cc 100644 --- a/src/USER-CUDA/atom_vec_atomic_cuda.cpp +++ b/src/USER-CUDA/atom_vec_atomic_cuda.cpp @@ -330,7 +330,7 @@ int AtomVecAtomicCuda::pack_exchange(int dim, double *buf) int dm = modify->fix[atom->extra_grow[iextra]]->pack_exchange(i,&((*buf_pointer)[m])); m+=dm; nextra+=dm; - if(ifix[atom->extra_grow[iextra]]->copy_arrays(copylist[j],i,delflag); + if(ifix[atom->extra_grow[iextra]]->copy_arrays(copylist[j],i,1); if(m>*maxsend) grow_send(m,buf_pointer,1); } (*buf_pointer)[j+1] = nextra; diff --git a/src/USER-CUDA/atom_vec_charge_cuda.cpp b/src/USER-CUDA/atom_vec_charge_cuda.cpp index 86736c79e8..f9cb3673e1 100644 --- a/src/USER-CUDA/atom_vec_charge_cuda.cpp +++ b/src/USER-CUDA/atom_vec_charge_cuda.cpp @@ -336,7 +336,7 @@ int AtomVecChargeCuda::pack_exchange(int dim, double *buf) int dm = modify->fix[atom->extra_grow[iextra]]->pack_exchange(i,&((*buf_pointer)[m])); m+=dm; nextra+=dm; - if(ifix[atom->extra_grow[iextra]]->copy_arrays(copylist[j],i,delflag); + if(ifix[atom->extra_grow[iextra]]->copy_arrays(copylist[j],i,1); if(m>*maxsend) grow_send(m,buf_pointer,1); } (*buf_pointer)[j+1] = nextra; diff --git a/src/USER-CUDA/atom_vec_full_cuda.cpp b/src/USER-CUDA/atom_vec_full_cuda.cpp index 4aa4d1326b..4b859290c5 100644 --- a/src/USER-CUDA/atom_vec_full_cuda.cpp +++ b/src/USER-CUDA/atom_vec_full_cuda.cpp @@ -60,8 +60,8 @@ using namespace LAMMPS_NS; #define BUF_FLOAT double /* ---------------------------------------------------------------------- */ -AtomVecFullCuda::AtomVecFullCuda(LAMMPS *lmp, int narg, char **arg) : - AtomVecFull(lmp, narg, arg) +AtomVecFullCuda::AtomVecFullCuda(LAMMPS *lmp) : + AtomVecFull(lmp) { cuda = lmp->cuda; if(cuda == NULL) @@ -393,7 +393,7 @@ int AtomVecFullCuda::pack_exchange(int dim, double *buf) int dm= modify->fix[atom->extra_grow[iextra]]->pack_exchange(i,&buf_p[m]); m+=dm; nextra+=dm; - if(ifix[atom->extra_grow[iextra]]->copy_arrays(copylist[j],i,delflag); + if(ifix[atom->extra_grow[iextra]]->copy_arrays(copylist[j],i,1); if(m>*maxsend) {grow_send(m,buf_pointer,1); buf_p=*buf_pointer;} } diff --git a/src/USER-CUDA/atom_vec_full_cuda.h b/src/USER-CUDA/atom_vec_full_cuda.h index 5ce96a203c..9580777442 100644 --- a/src/USER-CUDA/atom_vec_full_cuda.h +++ b/src/USER-CUDA/atom_vec_full_cuda.h @@ -37,7 +37,7 @@ namespace LAMMPS_NS { class AtomVecFullCuda : public AtomVecFull { public: - AtomVecFullCuda(class LAMMPS *, int, char **); + AtomVecFullCuda(class LAMMPS *); virtual ~AtomVecFullCuda() {} void grow_copylist(int n); void grow_send(int n,double** buf_send,int flag);