]> https://gitweb.dealii.org/ - dealii.git/commitdiff
tests: simplex/step-67: add mapping for non-p4est case
authorMarc Fehling <mafehling.git@gmail.com>
Wed, 7 Jul 2021 06:09:22 +0000 (00:09 -0600)
committerMarc Fehling <marc.fehling@gmx.net>
Wed, 7 Jul 2021 22:11:03 +0000 (16:11 -0600)
tests/simplex/step-67.cc

index d0f59b7f033aca0d5d0edaf30a2f17b3830128ea..912b01b9105a313e57a744079bd8e3d042a9f2b0 100644 (file)
@@ -1901,15 +1901,19 @@ namespace Euler_DG
 #ifdef DEAL_II_WITH_P4EST
 #  ifdef HEX
     parallel::distributed::Triangulation<dim> triangulation;
-    MappingQGeneric<dim>                      mapping;
 #  else
     parallel::fullydistributed::Triangulation<dim> triangulation;
-    MappingFE<dim>                                 mapping;
 #  endif
 #else
     Triangulation<dim>                                  triangulation;
 #endif
 
+#ifdef HEX
+    MappingQGeneric<dim> mapping;
+#else
+    MappingFE<dim>                                      mapping;
+#endif
+
     FESystem<dim>   fe;
     DoFHandler<dim> dof_handler;
 

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.