From 2dd202cc761de7afb9419294a52652edc8cf278d Mon Sep 17 00:00:00 2001 From: Tim Mattox Date: Wed, 30 Aug 2017 10:34:09 -0500 Subject: [PATCH] USER-DPD: remove some out-of-date FIXME comments in fix_shardlow_kokkos.cpp --- src/KOKKOS/fix_shardlow_kokkos.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/KOKKOS/fix_shardlow_kokkos.cpp b/src/KOKKOS/fix_shardlow_kokkos.cpp index a09c8bc1ba..ea7cc21fff 100644 --- a/src/KOKKOS/fix_shardlow_kokkos.cpp +++ b/src/KOKKOS/fix_shardlow_kokkos.cpp @@ -164,17 +164,13 @@ void FixShardlowKokkos::init() k_params = Kokkos::DualView ("FixShardlowKokkos::params",ntypes+1,ntypes+1); params = k_params.template view(); -//FIXME either create cutsq and fill it in, or just point to pairDPD's... -// memory->destroy(cutsq); //FIXME -// memory->create_kokkos(k_cutsq,cutsq,ntypes+1,ntypes+1,"FixShardlowKokkos:cutsq"); k_pairDPDE->k_cutsq.template sync(); - d_cutsq = k_pairDPDE->k_cutsq.template view(); //FIXME + d_cutsq = k_pairDPDE->k_cutsq.template view(); const double boltz2 = 2.0*force->boltz; for (int i = 1; i <= ntypes; i++) { for (int j = i; j <= ntypes; j++) { F_FLOAT cutone = k_pairDPDE->cut[i][j]; -// k_cutsq.h_view(i,j) = k_cutsq.h_view(j,i) = cutone*cutone; //FIXME if (cutone > EPSILON) k_params.h_view(i,j).cutinv = 1.0/cutone; else k_params.h_view(i,j).cutinv = FLT_MAX; k_params.h_view(i,j).halfsigma = 0.5*k_pairDPDE->sigma[i][j]; @@ -190,7 +186,6 @@ void FixShardlowKokkos::init() } } - // k_cutsq.template modify(); k_params.template modify(); }