]> https://gitweb.dealii.org/ - dealii.git/commitdiff
set_periodicity_constraints(): use ReferenceCell.
authorDavid Wells <drwells@email.unc.edu>
Sat, 26 Apr 2025 17:39:39 +0000 (13:39 -0400)
committerDavid Wells <drwells@email.unc.edu>
Sun, 27 Apr 2025 01:15:14 +0000 (21:15 -0400)
source/dofs/dof_tools_constraints.cc

index 489c7be69f86babee51a1db402c27e4fc7c7d66c..f2b569250de6c2e00acced6c2b2eef5cca307a46 100644 (file)
@@ -3149,7 +3149,7 @@ namespace DoFTools
       if ((!use_mg) && face_2->has_children())
         {
           Assert(face_2->n_children() ==
-                   GeometryInfo<dim>::max_children_per_face,
+                   face_2->reference_cell().template n_children<dim - 1>(),
                  ExcNotImplemented());
 
           const unsigned int dofs_per_face =

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.