]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add 3/2 over-integration to list of instantiated quadratures
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 18 Sep 2020 15:10:14 +0000 (17:10 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 18 Sep 2020 15:11:14 +0000 (17:11 +0200)
include/deal.II/matrix_free/evaluation_template_factory.templates.h

index f89eee257dba815d7ef62ca23373c15a2466a572..d730f89e1c24a783c84d19f723ba0ee18e9ae140 100644 (file)
@@ -47,6 +47,9 @@ namespace internal
           return EvaluatorType::template run<degree, degree + 2>(args...);
         else if (n_q_points_1d == degree)
           return EvaluatorType::template run<degree, degree>(args...);
+        else if (n_q_points_1d == (3 * degree) / 2 + 1)
+          return EvaluatorType::template run<degree, (3 * degree) / 2 + 1>(
+            args...);
         else
           // slow path
           return EvaluatorType::template run<-1, 0>(args...);

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.