diff --git a/Geo/MHexahedron.cpp b/Geo/MHexahedron.cpp index 458be4e8253682fbaf1b5e856f26af59af48ba4e..c7075e7717e1cb826406bcebba3793b71d5e3c44 100644 --- a/Geo/MHexahedron.cpp +++ b/Geo/MHexahedron.cpp @@ -413,6 +413,7 @@ int MHexahedronN::getNumFacesRep(bool curved) int MHexahedron::getNumFacesRep(bool curved) { + if (CTX::instance()->mesh.numSubEdges == 1) return 24; return 6 * (CTX::instance()->mesh.numSubEdges * CTX::instance()->mesh.numSubEdges * 2); }