]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused template 16314/head
authorMaximilian Bergbauer <maximilian.bergbauer@tum.de>
Fri, 1 Dec 2023 16:15:33 +0000 (17:15 +0100)
committerMaximilian Bergbauer <maximilian.bergbauer@tum.de>
Fri, 1 Dec 2023 22:38:09 +0000 (23:38 +0100)
include/deal.II/matrix_free/evaluation_kernels_hanging_nodes.h
include/deal.II/matrix_free/evaluation_template_factory_internal.h
tests/matrix_free/hanging_node_kernels_01.cc

index 58bc4e2497dba0ff0aed39f6aca9951f1f7d9986..ef1e59afdce332293ed96ab760539c4bae124b02 100644 (file)
@@ -1704,7 +1704,7 @@ namespace internal
   struct FEEvaluationImplHangingNodes
   {
   public:
-    template <int fe_degree, int n_q_points_1d>
+    template <int fe_degree>
     static bool
     run(const unsigned int                            n_desired_components,
         const MatrixFreeFunctions::ShapeInfo<Number> &shape_info,
index ea52c477dd5b1c36fb3c142e1e05cc3ad693817a..ca0cb4f03f0f82266ece2f143bd42d41e7561922 100644 (file)
@@ -82,7 +82,7 @@ namespace internal
   {
     if (given_degree == degree)
       {
-        return EvaluatorType::template run<degree, degree + 1>(args...);
+        return EvaluatorType::template run<degree>(args...);
       }
     else if (degree < FE_EVAL_FACTORY_DEGREE_MAX)
       return instantiation_helper_degree_run<
@@ -90,7 +90,7 @@ namespace internal
         EvaluatorType>(given_degree, args...);
     else
       // slow path
-      return EvaluatorType::template run<-1, 0>(args...);
+      return EvaluatorType::template run<-1>(args...);
   }
 
 } // end of namespace internal
index 0c5c49da58f8c527e62c77c1eb06d05650506319..55a9aeac85d18f2eee220878277e994216920483 100644 (file)
@@ -44,7 +44,7 @@ namespace dealii
     template <int dim, typename Number, bool is_face>
     struct FEEvaluationImplHangingNodesReference
     {
-      template <int fe_degree, int n_q_points_1d>
+      template <int fe_degree>
       static bool
       run(
         const FEEvaluationData<dim, Number, is_face> &fe_eval,
@@ -486,9 +486,9 @@ test(const unsigned int                                           degree,
       internal::FEEvaluationImplHangingNodesReference<
         dim,
         VectorizedArray<double>,
-        false>::template run<-1, -1>(eval, b == 1, cmask_, values1.data());
+        false>::template run<-1>(eval, b == 1, cmask_, values1.data());
       internal::FEEvaluationImplHangingNodes<dim, VectorizedArray<double>>::
-        template run<-1, -1>(
+        template run<-1>(
           1, eval.get_shape_info(), b == 1, cmask, values2.data());
 
       for (const auto i : values1)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.