Skip to content
Snippets Groups Projects
Commit 0dbd1c2a authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MeL] Fix face nodes of hex 20 element.

For the face #1 the last node is not 11 but 16. This
also corresponds with the edge numbering.
parent 79059546
No related branches found
No related tags found
No related merge requests found
...@@ -18,15 +18,13 @@ ...@@ -18,15 +18,13 @@
#include "Line.h" #include "Line.h"
namespace MeshLib { namespace MeshLib {
const unsigned HexRule20::face_nodes[6][8] = {
const unsigned HexRule20::face_nodes[6][8] = {0, 3, 2, 1, 11, 10, 9, 8}, // Face 0
{ {0, 1, 5, 4, 8, 17, 12, 16}, // Face 1
{0, 3, 2, 1, 11, 10, 9, 8}, // Face 0 {1, 2, 6, 5, 9, 18, 13, 17}, // Face 2
{0, 1, 5, 4, 8, 17, 12, 11}, // Face 1 {2, 3, 7, 6, 10, 19, 14, 18}, // Face 3
{1, 2, 6, 5, 9, 18, 13, 17}, // Face 2 {3, 0, 4, 7, 11, 16, 15, 19}, // Face 4
{2, 3, 7, 6, 10, 19, 14, 18}, // Face 3 {4, 5, 6, 7, 12, 13, 14, 15} // Face 5
{3, 0, 4, 7, 11, 16, 15, 19}, // Face 4
{4, 5, 6, 7, 12, 13, 14, 15} // Face 5
}; };
const unsigned HexRule20::edge_nodes[12][3] = const unsigned HexRule20::edge_nodes[12][3] =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment