]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Another attempt at telling the compiler that everything is initialized. 16268/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 14 Nov 2023 15:37:26 +0000 (08:37 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 14 Nov 2023 15:40:46 +0000 (08:40 -0700)
include/deal.II/base/geometry_info.h

index 11205f1a9a2061446440038ab8fc2fc28768e2c1..9b7f66d90759aa02588325f1b542e7e1250f4a2c 100644 (file)
@@ -4426,8 +4426,9 @@ GeometryInfo<2>::child_cell_on_face(const RefinementCase<2> &ref_case,
   // refined neighbor. this simplifies setting neighbor
   // information in execute_refinement.
   constexpr unsigned int
-    subcells[2][RefinementPossibilities<2>::isotropic_refinement]
-            [faces_per_cell][max_children_per_face] = {
+    subcells[/* possible face orientation */ 2]
+            [/* number of different ways to refine a cell */ 4]
+            [/* faces_per_cell */ 4][/* max_children_per_face */ 2] = {
               {
                 // Normal orientation (face_flip = false)
                 {{0, 0}, {1, 1}, {0, 1}, {0, 1}}, // cut_x

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.