]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Matrix-free evaluation kernels: Do not template tensor_none case 16982/head
authorMartin Kronbichler <martin.kronbichler@rub.de>
Thu, 9 May 2024 08:59:35 +0000 (10:59 +0200)
committerMartin Kronbichler <martin.kronbichler@rub.de>
Thu, 9 May 2024 08:59:35 +0000 (10:59 +0200)
include/deal.II/matrix_free/evaluation_kernels.h

index 25419d5ded1100fe84626e181d80126affc781bf..ecab2eac0c1236bfd18e9e69a956324666a7d7ca 100644 (file)
@@ -2060,6 +2060,16 @@ namespace internal
             fe_eval,
             sum_into_values_array);
         }
+      else if (element_type == ElementType::tensor_none)
+        {
+          evaluate_or_integrate<
+            FEEvaluationImpl<ElementType::tensor_none, dim, -1, 0, Number>>(
+            n_components,
+            actual_flag,
+            values_dofs,
+            fe_eval,
+            sum_into_values_array);
+        }
       else if (element_type == ElementType::tensor_symmetric_plus_dg0)
         {
           evaluate_or_integrate<
@@ -2086,19 +2096,6 @@ namespace internal
             fe_eval,
             sum_into_values_array);
         }
-      else if (element_type == ElementType::tensor_none)
-        {
-          evaluate_or_integrate<FEEvaluationImpl<ElementType::tensor_none,
-                                                 dim,
-                                                 fe_degree,
-                                                 n_q_points_1d,
-                                                 Number>>(
-            n_components,
-            actual_flag,
-            values_dofs,
-            fe_eval,
-            sum_into_values_array);
-        }
       else if (element_type == ElementType::tensor_raviart_thomas)
         {
           if constexpr (fe_degree > 0 && n_q_points_1d > 0 && dim > 1)

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.