]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix tangential vector of wedge 11848/head
authorPeter Munch <peterrmuench@gmail.com>
Thu, 4 Mar 2021 15:32:41 +0000 (16:32 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Thu, 4 Mar 2021 15:32:41 +0000 (16:32 +0100)
include/deal.II/grid/reference_cell.h
tests/simplex/unit_tangential_vectors_01.output

index c2a2a563baab2d62639150471c8b24ae50c7d777..0c45adc3beda950085fc8b51cb647e7486aa26b8 100644 (file)
@@ -1672,11 +1672,11 @@ ReferenceCell::unit_tangential_vectors(const unsigned int face_no,
       AssertIndexRange(face_no, 5);
       static const ndarray<Tensor<1, dim>, 5, 2> table = {
         {{{Point<dim>(0, 1, 0), Point<dim>(1, 0, 0)}},
+         {{Point<dim>(1, 0, 0), Point<dim>(0, 1, 0)}},
          {{Point<dim>(1, 0, 0), Point<dim>(0, 0, 1)}},
          {{Point<dim>(-1 / std::sqrt(2.0), +1 / std::sqrt(2.0), 0),
            Point<dim>(0, 0, 1)}},
-         {{Point<dim>(0, 0, 1), Point<dim>(0, 1, 0)}},
-         {{Point<dim>(1, 0, 0), Point<dim>(0, 0, 1)}}}};
+         {{Point<dim>(0, 0, 1), Point<dim>(0, 1, 0)}}}};
 
       return table[face_no][i];
     }
index 9684a9bcd0ea71cd16e10285690982d21a94781d..2064c7733b3d38de9fe759d306757069ec51abd1 100644 (file)
@@ -47,6 +47,9 @@ DEAL::
 DEAL::0.00000 0.00000 -1.00000
 DEAL::0.00000 1.00000 0.00000
 DEAL::1.00000 0.00000 0.00000
+DEAL::0.00000 0.00000 1.00000
+DEAL::1.00000 0.00000 0.00000
+DEAL::0.00000 1.00000 0.00000
 DEAL::0.00000 -1.00000 0.00000
 DEAL::1.00000 0.00000 0.00000
 DEAL::0.00000 0.00000 1.00000
@@ -56,9 +59,6 @@ DEAL::0.00000 0.00000 1.00000
 DEAL::-1.00000 0.00000 0.00000
 DEAL::0.00000 0.00000 1.00000
 DEAL::0.00000 1.00000 0.00000
-DEAL::0.00000 -1.00000 0.00000
-DEAL::1.00000 0.00000 0.00000
-DEAL::0.00000 0.00000 1.00000
 DEAL::
 DEAL::-1.00000 0.00000 0.00000
 DEAL::0.00000 -1.00000 0.00000

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.