]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Only set direction flags in the codim-1 case. 16345/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 12 Dec 2023 07:10:08 +0000 (00:10 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 12 Dec 2023 07:10:08 +0000 (00:10 -0700)
source/grid/tria.cc

index de285dca22eb4a2ed7283ab2fd23d3ef370bb5ed..83b6a244dcd7732befdc99cc70096a7e4db854b3 100644 (file)
@@ -12682,7 +12682,7 @@ void Triangulation<dim, spacedim>::create_triangulation(
       more readable.
 
     */
-  if (dim < spacedim && all_reference_cells_are_hyper_cube())
+  if ((dim == spacedim - 1) && all_reference_cells_are_hyper_cube())
     {
       Table<2, bool> correct(GeometryInfo<dim>::faces_per_cell,
                              GeometryInfo<dim>::faces_per_cell);

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.