]> https://gitweb.dealii.org/ - dealii.git/commitdiff
FEEvaluation: precompile for n_q_points==2*fe_degree 14387/head
authorPeter Munch <peterrmuench@gmail.com>
Wed, 2 Nov 2022 19:26:52 +0000 (20:26 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Thu, 8 Dec 2022 20:45:16 +0000 (21:45 +0100)
include/deal.II/matrix_free/evaluation_template_factory_internal.h
tests/matrix_free/fe_evaluation_print_01.output

index 94f66caeaddc3402e732785f16b9344d925c590f..1afea5917d36b325db62a4ea6e8484afad4c8036 100644 (file)
@@ -45,6 +45,8 @@ namespace internal
         else if (n_q_points_1d == (3 * degree) / 2 + 1)
           return EvaluatorType::template run<degree, (3 * degree) / 2 + 1>(
             args...);
+        else if ((n_q_points_1d == (2 * degree)) && (degree <= 4))
+          return EvaluatorType::template run<degree, (2 * degree)>(args...);
         else
           // slow path
           return EvaluatorType::template run<-1, 0>(args...);
index 742ac8d8337cb7670e4ef46001952b2f7dbea0db..b62b26a189159adfb309cdf3c01feaf369f96954 100644 (file)
@@ -1,8 +1,8 @@
 
 DEAL::1 1 1                                           
 DEAL::  1 1 1                                         
-DEAL::    1 1 1                                       
-DEAL::      1 1 1 1                                   
+DEAL::    1 1 1 1                                     
+DEAL::      1 1 1 1 1                                 
 DEAL::        1 1 1 1                                 
 DEAL::          1 1 1   1                             
 DEAL::                                                
@@ -25,8 +25,8 @@ DEAL::
 DEAL::                                                
 DEAL::1 1 1                                           
 DEAL::  1 1 1                                         
-DEAL::    1 1 1                                       
-DEAL::      1 1 1 1                                   
+DEAL::    1 1 1 1                                     
+DEAL::      1 1 1 1 1                                 
 DEAL::        1 1 1 1                                 
 DEAL::          1 1 1   1                             
 DEAL::                                                

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.