From: Daniel Arndt Date: Wed, 21 Aug 2024 13:22:54 +0000 (-0400) Subject: MemorySpace -> MemorySpaceType X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17582%2Fhead;p=dealii.git MemorySpace -> MemorySpaceType --- 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() ==