]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix vertex numbering from deal to UCD
authorNils Margenberg <margenbn@hsu-hh.de>
Tue, 17 Jan 2023 11:49:38 +0000 (12:49 +0100)
committerNils Margenberg <margenbn@hsu-hh.de>
Tue, 7 Mar 2023 07:47:10 +0000 (08:47 +0100)
include/deal.II/base/geometry_info.h

index 9f8832b8d4bc2bd9d3d8e1e4fe41b681ec471cec..76de3d69ace4a17dac249076ea2d891d25df6a23 100644 (file)
@@ -157,7 +157,7 @@ namespace internal
       static constexpr std::array<unsigned int, 8>
       ucd_to_deal()
       {
-        return {{0, 1, 5, 4, 2, 3, 7, 6}};
+        return {{0, 4, 5, 1, 2, 6, 7, 3}};
       }
 
       static constexpr std::array<unsigned int, 6>

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.