diff --git a/Geo/MHexahedron.h b/Geo/MHexahedron.h index ca1d221024d0949ae1f87b97fed5cc89f4e6bb07..c1802e03f48f1cd9f8ca0a162013be5f7d5ccc98 100644 --- a/Geo/MHexahedron.h +++ b/Geo/MHexahedron.h @@ -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,