From bc57d91865b5191bca7c9642c6ff0ab9c6a700c6 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 21 Aug 2024 09:22:54 -0400 Subject: [PATCH] MemorySpace -> MemorySpaceType --- include/deal.II/matrix_free/portable_matrix_free.h | 4 ++-- include/deal.II/matrix_free/portable_matrix_free.templates.h | 4 ++-- .../matrix_free_device_initialize_vector.cc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/deal.II/matrix_free/portable_matrix_free.h b/include/deal.II/matrix_free/portable_matrix_free.h index bd631563ed..e6f96b5d6b 100644 --- a/include/deal.II/matrix_free/portable_matrix_free.h +++ b/include/deal.II/matrix_free/portable_matrix_free.h @@ -380,10 +380,10 @@ namespace Portable * locally owned degrees of freedom and the ghost elements correspond to the * (additional) locally relevant dofs. */ - template + template void initialize_dof_vector( - LinearAlgebra::distributed::Vector &vec) const; + LinearAlgebra::distributed::Vector &vec) const; /** * Return the colored graph of locally owned active cells. diff --git a/include/deal.II/matrix_free/portable_matrix_free.templates.h b/include/deal.II/matrix_free/portable_matrix_free.templates.h index b782081a8c..ed94802a6e 100644 --- a/include/deal.II/matrix_free/portable_matrix_free.templates.h +++ b/include/deal.II/matrix_free/portable_matrix_free.templates.h @@ -566,10 +566,10 @@ namespace Portable template - template + template void MatrixFree::initialize_dof_vector( - LinearAlgebra::distributed::Vector &vec) const + LinearAlgebra::distributed::Vector &vec) const { if (partitioner) vec.reinit(partitioner); diff --git a/tests/matrix_free_kokkos/matrix_free_device_initialize_vector.cc b/tests/matrix_free_kokkos/matrix_free_device_initialize_vector.cc index d9389e4ce5..6eb2499267 100644 --- a/tests/matrix_free_kokkos/matrix_free_device_initialize_vector.cc +++ b/tests/matrix_free_kokkos/matrix_free_device_initialize_vector.cc @@ -34,9 +34,9 @@ #include "../tests.h" -template +template void -check(const LinearAlgebra::distributed::Vector &vector, +check(const LinearAlgebra::distributed::Vector &vector, const Utilities::MPI::Partitioner &reference_partitioner) { Assert(vector.get_partitioner()->locally_owned_range() == -- 2.39.5