]> https://gitweb.dealii.org/ - dealii.git/commitdiff
No need to say the same thing three times. 18109/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 10 Feb 2025 03:30:21 +0000 (20:30 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 10 Feb 2025 03:30:54 +0000 (20:30 -0700)
include/deal.II/base/polynomials_wedge.h

index 8d88fa499b96bcceb948517a875270fc6b430f2c..d38cdf8e3b3737f1e12251a568134831076f4abc 100644 (file)
@@ -32,7 +32,7 @@ namespace internal
    * to access the right shape function within the triangle and within
    * the line.
    */
-  static const constexpr dealii::ndarray<unsigned int, 6, 2> wedge_table_1{
+  constexpr dealii::ndarray<unsigned int, 6, 2> wedge_table_1{
     {{{0, 0}}, {{1, 0}}, {{2, 0}}, {{0, 1}}, {{1, 1}}, {{2, 1}}}};
 
   /**
@@ -40,25 +40,24 @@ namespace internal
    * to access the right shape function within the triangle and within
    * the line.
    */
-  static const constexpr dealii::ndarray<unsigned int, 18, 2> wedge_table_2{
-    {{{0, 0}},
-     {{1, 0}},
-     {{2, 0}},
-     {{0, 1}},
-     {{1, 1}},
-     {{2, 1}},
-     {{3, 0}},
-     {{4, 0}},
-     {{5, 0}},
-     {{3, 1}},
-     {{4, 1}},
-     {{5, 1}},
-     {{0, 2}},
-     {{1, 2}},
-     {{2, 2}},
-     {{3, 2}},
-     {{4, 2}},
-     {{5, 2}}}};
+  constexpr dealii::ndarray<unsigned int, 18, 2> wedge_table_2{{{{0, 0}},
+                                                                {{1, 0}},
+                                                                {{2, 0}},
+                                                                {{0, 1}},
+                                                                {{1, 1}},
+                                                                {{2, 1}},
+                                                                {{3, 0}},
+                                                                {{4, 0}},
+                                                                {{5, 0}},
+                                                                {{3, 1}},
+                                                                {{4, 1}},
+                                                                {{5, 1}},
+                                                                {{0, 2}},
+                                                                {{1, 2}},
+                                                                {{2, 2}},
+                                                                {{3, 2}},
+                                                                {{4, 2}},
+                                                                {{5, 2}}}};
 } // namespace internal
 
 

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.