From cc57f9cfd27d55f1cc2990a385e57c8e0402c57a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 10 Mar 2025 17:53:00 -0600 Subject: [PATCH] Do not use 'static' functions in header files. --- include/deal.II/fe/fe_tools.templates.h | 6 +++--- include/deal.II/numerics/matrix_creator.templates.h | 3 ++- include/deal.II/numerics/vector_tools_boundary.templates.h | 2 +- .../numerics/vector_tools_integrate_difference.templates.h | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/include/deal.II/fe/fe_tools.templates.h b/include/deal.II/fe/fe_tools.templates.h index 1f3ec76b14..5cd3518c77 100644 --- a/include/deal.II/fe/fe_tools.templates.h +++ b/include/deal.II/fe/fe_tools.templates.h @@ -2905,7 +2905,7 @@ namespace FETools // FETools::convert_generalized_support_point_values_to_dof_values template - static void + void convert_helper(const FiniteElement &finite_element, const std::vector> &support_point_values, std::vector &dof_values) @@ -2937,7 +2937,7 @@ namespace FETools template - static void + void convert_helper( const FiniteElement &finite_element, const std::vector>> &support_point_values, @@ -2995,7 +2995,7 @@ namespace FETools template - static void + void convert_helper(const FiniteElement &finite_element, const std::vector> &support_point_values, std::vector &dof_values) diff --git a/include/deal.II/numerics/matrix_creator.templates.h b/include/deal.II/numerics/matrix_creator.templates.h index 4fbb7b289f..f7c3569ff8 100644 --- a/include/deal.II/numerics/matrix_creator.templates.h +++ b/include/deal.II/numerics/matrix_creator.templates.h @@ -983,7 +983,7 @@ namespace MatrixCreator namespace internal { template - void static inline create_boundary_mass_matrix_1( + void inline create_boundary_mass_matrix_1( const typename DoFHandler::active_cell_iterator &cell, const MatrixCreator::internal::AssemblerBoundary::Scratch &, MatrixCreator::internal::AssemblerBoundary:: @@ -1311,6 +1311,7 @@ namespace MatrixCreator DEAL_II_NOT_IMPLEMENTED(); } + template <> void inline create_boundary_mass_matrix_1<1, 3, double>( const DoFHandler<1, 3>::active_cell_iterator & /*cell*/, diff --git a/include/deal.II/numerics/vector_tools_boundary.templates.h b/include/deal.II/numerics/vector_tools_boundary.templates.h index 51d73f1869..8f51c6a145 100644 --- a/include/deal.II/numerics/vector_tools_boundary.templates.h +++ b/include/deal.II/numerics/vector_tools_boundary.templates.h @@ -55,7 +55,7 @@ namespace VectorTools typename number, template class M_or_MC> - static inline void + inline void do_interpolate_boundary_values( const M_or_MC &mapping, const DoFHandler &dof, diff --git a/include/deal.II/numerics/vector_tools_integrate_difference.templates.h b/include/deal.II/numerics/vector_tools_integrate_difference.templates.h index 53543aad41..6065dd9190 100644 --- a/include/deal.II/numerics/vector_tools_integrate_difference.templates.h +++ b/include/deal.II/numerics/vector_tools_integrate_difference.templates.h @@ -431,7 +431,7 @@ namespace VectorTools template DEAL_II_CXX20_REQUIRES(concepts::is_writable_dealii_vector_type) - static void do_integrate_difference( + void do_integrate_difference( const dealii::hp::MappingCollection &mapping, const DoFHandler &dof, const ReadVector &fe_function, -- 2.39.5