From 2287e9f15df257ca1369a5eda24a0f4fb3bddb7e Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Tue, 19 Oct 2021 08:39:49 +0200 Subject: [PATCH] Fix order of vertices of wedges in ReferenceCell::vertex --- include/deal.II/grid/reference_cell.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/deal.II/grid/reference_cell.h b/include/deal.II/grid/reference_cell.h index 9b4e89efef..9a8305908d 100644 --- a/include/deal.II/grid/reference_cell.h +++ b/include/deal.II/grid/reference_cell.h @@ -903,12 +903,12 @@ ReferenceCell::vertex(const unsigned int v) const } else if ((dim == 3) && (*this == ReferenceCells::Wedge)) { - static const Point vertices[6] = {Point{1.0, 0.0, 0.0}, + static const Point vertices[6] = {Point{0.0, 0.0, 0.0}, + Point{1.0, 0.0, 0.0}, Point{0.0, 1.0, 0.0}, - Point{0.0, 0.0, 0.0}, + Point{0.0, 0.0, 1.0}, Point{1.0, 0.0, 1.0}, - Point{0.0, 1.0, 1.0}, - Point{0.0, 0.0, 1.0}}; + Point{0.0, 1.0, 1.0}}; return vertices[v]; } else -- 2.39.5