From: Peter Munch Date: Tue, 19 Oct 2021 06:39:49 +0000 (+0200) Subject: Fix order of vertices of wedges in ReferenceCell::vertex X-Git-Tag: v9.4.0-rc1~926^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12845%2Fhead;p=dealii.git Fix order of vertices of wedges in ReferenceCell::vertex --- 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