Skip to content
Snippets Groups Projects
Commit e9169534 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

patch from bug report #199 for Abaqus Hex20 node ordering

parent fd87cc1a
No related branches found
No related tags found
No related merge requests found
......@@ -242,7 +242,12 @@ class MHexahedron20 : public MHexahedron {
9, 10, 12, 14, 15, 16, 18, 19, 17};
return getVertex(map[num]);
}
virtual MVertex *getVertexINP(int num){ return getVertexBDF(num); }
virtual MVertex *getVertexINP(int num)
{
static const int map[20]={0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 13,
9, 16, 18, 19, 17, 10, 12, 14, 15};
return getVertex(map[num]);
}
virtual MVertex *getVertexDIFF(int num)
{
static const int map[20] = {2, 3, 7, 6, 0, 1, 5, 4, 9, 18, 12,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment