From c842c42fff38eab21cab024a216053d69fbc0758 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Tue, 4 Sep 2018 23:25:15 +0200 Subject: [PATCH] Remove useless access members --- src/mesh/SubItemValuePerItem.hpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/mesh/SubItemValuePerItem.hpp b/src/mesh/SubItemValuePerItem.hpp index 5778fc739..52d91666b 100644 --- a/src/mesh/SubItemValuePerItem.hpp +++ b/src/mesh/SubItemValuePerItem.hpp @@ -86,13 +86,6 @@ class SubItemValuePerItem<DataType, return m_is_built; } - KOKKOS_FORCEINLINE_FUNCTION - DataType& operator()(const size_t& j, const size_t& r) - { - Assert(m_is_built); - return m_values[m_host_row_map(j)+r]; - } - // Following Kokkos logic, these classes are view and const view does allow // changes in data KOKKOS_FORCEINLINE_FUNCTION @@ -109,13 +102,6 @@ class SubItemValuePerItem<DataType, return m_values.extent(0); } - KOKKOS_FORCEINLINE_FUNCTION - DataType& operator[](const size_t& i) - { - Assert(m_is_built); - return m_values[i]; - } - // Following Kokkos logic, these classes are view and const view does allow // changes in data KOKKOS_FORCEINLINE_FUNCTION -- GitLab