164 vector.getMap()->getLocalElement(
167# if DEAL_II_TRILINOS_VERSION_GTE(13, 2, 0)
168 auto vector_2d = vector.template getLocalView<Kokkos::HostSpace>(
169 Tpetra::Access::ReadWrite);
171 vector.template sync<Kokkos::HostSpace>();
172 auto vector_2d = vector.template getLocalView<Kokkos::HostSpace>();
174 auto vector_1d = Kokkos::subview(vector_2d, Kokkos::ALL(), 0);
175# if !DEAL_II_TRILINOS_VERSION_GTE(13, 2, 0)
177 vector.template modify<Kokkos::HostSpace>();
179 vector_1d(trilinos_i) +=
value;
180# if !DEAL_II_TRILINOS_VERSION_GTE(13, 2, 0)
181 vector.template sync<
182 typename Tpetra::Vector<NumberType, int, types::signed_global_dof_index>::
183 device_type::memory_space>();
200 vector.getMap()->getLocalElement(
203# if DEAL_II_TRILINOS_VERSION_GTE(13, 2, 0)
204 auto vector_2d = vector.template getLocalView<Kokkos::HostSpace>(
205 Tpetra::Access::ReadWrite);
207 vector.template sync<Kokkos::HostSpace>();
208 auto vector_2d = vector.template getLocalView<Kokkos::HostSpace>();
210 auto vector_1d = Kokkos::subview(vector_2d, Kokkos::ALL(), 0);
212# if !DEAL_II_TRILINOS_VERSION_GTE(13, 2, 0)
213 vector.template modify<Kokkos::HostSpace>();
215 vector_1d(trilinos_i) =
value;
216# if !DEAL_II_TRILINOS_VERSION_GTE(13, 2, 0)
217 vector.template sync<
218 typename Tpetra::Vector<NumberType, int, types::signed_global_dof_index>::
219 device_type::memory_space>();