From 9b01eec4369742bc99653487bf8c3bf5030da98d Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sat, 12 Dec 2015 00:33:46 -0500 Subject: [PATCH] no need for atom types in coul/wolf/kk and coul/dsf/kk pair styles --- src/KOKKOS/pair_coul_dsf_kokkos.cpp | 5 +---- src/KOKKOS/pair_coul_dsf_kokkos.h | 1 - src/KOKKOS/pair_coul_wolf_kokkos.cpp | 5 +---- src/KOKKOS/pair_coul_wolf_kokkos.h | 1 - 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/KOKKOS/pair_coul_dsf_kokkos.cpp b/src/KOKKOS/pair_coul_dsf_kokkos.cpp index f80fe0d38e..f3f1dcad90 100644 --- a/src/KOKKOS/pair_coul_dsf_kokkos.cpp +++ b/src/KOKKOS/pair_coul_dsf_kokkos.cpp @@ -103,7 +103,6 @@ void PairCoulDSFKokkos::compute(int eflag_in, int vflag_in) x = atomKK->k_x.view(); f = atomKK->k_f.view(); q = atomKK->k_q.view(); - type = atomKK->k_type.view(); nlocal = atom->nlocal; nall = atom->nlocal + atom->nghost; newton_pair = force->newton_pair; @@ -250,7 +249,6 @@ void PairCoulDSFKokkos::operator()(TagPairCoulDSFKernelA::operator()(TagPairCoulDSFKernelA::sbmask(const int& j) const { template class PairCoulDSFKokkos; #ifdef KOKKOS_HAVE_CUDA template class PairCoulDSFKokkos; -#endif \ No newline at end of file +#endif diff --git a/src/KOKKOS/pair_coul_dsf_kokkos.h b/src/KOKKOS/pair_coul_dsf_kokkos.h index f9bc250557..e50f92c370 100644 --- a/src/KOKKOS/pair_coul_dsf_kokkos.h +++ b/src/KOKKOS/pair_coul_dsf_kokkos.h @@ -66,7 +66,6 @@ class PairCoulDSFKokkos : public PairCoulDSF { typename ArrayTypes::t_x_array_randomread x; typename ArrayTypes::t_f_array f; typename ArrayTypes::t_float_1d_randomread q; - typename ArrayTypes::t_int_1d_randomread type; DAT::tdual_efloat_1d k_eatom; DAT::tdual_virial_array k_vatom; diff --git a/src/KOKKOS/pair_coul_wolf_kokkos.cpp b/src/KOKKOS/pair_coul_wolf_kokkos.cpp index 4d2804ce0f..d11611468f 100644 --- a/src/KOKKOS/pair_coul_wolf_kokkos.cpp +++ b/src/KOKKOS/pair_coul_wolf_kokkos.cpp @@ -104,7 +104,6 @@ void PairCoulWolfKokkos::compute(int eflag_in, int vflag_in) x = atomKK->k_x.view(); f = atomKK->k_f.view(); q = atomKK->k_q.view(); - type = atomKK->k_type.view(); nlocal = atom->nlocal; nall = atom->nlocal + atom->nghost; newton_pair = force->newton_pair; @@ -251,7 +250,6 @@ void PairCoulWolfKokkos::operator()(TagPairCoulWolfKernelA::operator()(TagPairCoulWolfKernelA::sbmask(const int& j) const { template class PairCoulWolfKokkos; #ifdef KOKKOS_HAVE_CUDA template class PairCoulWolfKokkos; -#endif \ No newline at end of file +#endif diff --git a/src/KOKKOS/pair_coul_wolf_kokkos.h b/src/KOKKOS/pair_coul_wolf_kokkos.h index 1efafca99c..bde26c0c3e 100644 --- a/src/KOKKOS/pair_coul_wolf_kokkos.h +++ b/src/KOKKOS/pair_coul_wolf_kokkos.h @@ -66,7 +66,6 @@ class PairCoulWolfKokkos : public PairCoulWolf { typename ArrayTypes::t_x_array_randomread x; typename ArrayTypes::t_f_array f; typename ArrayTypes::t_float_1d_randomread q; - typename ArrayTypes::t_int_1d_randomread type; DAT::tdual_efloat_1d k_eatom; DAT::tdual_virial_array k_vatom;