From a98fbf4867c806e9ae66c581dc6a1dea44458a18 Mon Sep 17 00:00:00 2001 From: Magdalena Schreter Date: Fri, 15 Mar 2024 10:26:52 +0100 Subject: [PATCH] Fix template parameter of DoFHandler --- .../deal.II/numerics/vector_tools_interpolate.h | 16 ++++++++-------- .../vector_tools_interpolate.templates.h | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/include/deal.II/numerics/vector_tools_interpolate.h b/include/deal.II/numerics/vector_tools_interpolate.h index 8407108a24..dfcfcbcccf 100644 --- a/include/deal.II/numerics/vector_tools_interpolate.h +++ b/include/deal.II/numerics/vector_tools_interpolate.h @@ -305,12 +305,12 @@ namespace VectorTools * The opposite operation, interpolation from a coarser to a finer mesh, * is implemented in the interpolate_to_finer_mesh() function. */ - template + template DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type) void interpolate_to_coarser_mesh( - const DoFHandler &dof_handler_fine, - const VectorType &u_fine, - const DoFHandler &dof_handler_coarse, + const DoFHandler &dof_handler_fine, + const VectorType &u_fine, + const DoFHandler &dof_handler_coarse, const AffineConstraints &constraints_coarse, VectorType &u_coarse); @@ -338,12 +338,12 @@ namespace VectorTools * The opposite operation, interpolation from a finer to a coarser mesh, * is implemented in the interpolate_to_coarser_mesh() function. */ - template + template DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type) void interpolate_to_finer_mesh( - const DoFHandler &dof_handler_coarse, - const VectorType &u_coarse, - const DoFHandler &dof_handler_fine, + const DoFHandler &dof_handler_coarse, + const VectorType &u_coarse, + const DoFHandler &dof_handler_fine, const AffineConstraints &constraints_fine, VectorType &u_fine); diff --git a/include/deal.II/numerics/vector_tools_interpolate.templates.h b/include/deal.II/numerics/vector_tools_interpolate.templates.h index 90b2aa7012..48975fea3a 100644 --- a/include/deal.II/numerics/vector_tools_interpolate.templates.h +++ b/include/deal.II/numerics/vector_tools_interpolate.templates.h @@ -1104,12 +1104,12 @@ namespace VectorTools } // namespace InterpolateBetweenMeshes - template + template DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type) void interpolate_to_coarser_mesh( - const DoFHandler &dof_handler_fine, - const VectorType &u_fine, - const DoFHandler &dof_handler_coarse, + const DoFHandler &dof_handler_fine, + const VectorType &u_fine, + const DoFHandler &dof_handler_coarse, const AffineConstraints &constraints_coarse, VectorType &u_coarse) @@ -1174,12 +1174,12 @@ namespace VectorTools - template + template DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type) void interpolate_to_finer_mesh( - const DoFHandler &dof_handler_coarse, - const VectorType &u_coarse, - const DoFHandler &dof_handler_fine, + const DoFHandler &dof_handler_coarse, + const VectorType &u_coarse, + const DoFHandler &dof_handler_fine, const AffineConstraints &constraints_fine, VectorType &u_fine) { -- 2.39.5