diff --git a/src/Integrator/BDHI/FCM/FCM_impl.cuh b/src/Integrator/BDHI/FCM/FCM_impl.cuh index 781720d2..989b0ba3 100644 --- a/src/Integrator/BDHI/FCM/FCM_impl.cuh +++ b/src/Integrator/BDHI/FCM/FCM_impl.cuh @@ -239,8 +239,6 @@ namespace uammd{ auto d_gridVels = (real3*)thrust::raw_pointer_cast(gridVels.data()); IBM ibm(kernel, grid, IBM_ns::LinearIndex3D(nx, n.y, n.z)); ibm.spread(pos, force_r3, d_gridVels, numberParticles, st); - std::vector hvels(gridVels.size()); - thrust::copy(gridVels.begin(), gridVels.end(), hvels.begin()); CudaCheckError(); return gridVels; }