From: Anthony Geay Date: Mon, 7 Aug 2023 14:29:10 +0000 (+0200) Subject: [EDF27859] : Correct bug in case of HEXA/HEXA in P1P0 mode with PLANAR_FACE5 and... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d208e8f65e62a57ec57de3d267b1fb4d1add8afc;p=tools%2Fmedcoupling.git [EDF27859] : Correct bug in case of HEXA/HEXA in P1P0 mode with PLANAR_FACE5 and PLANAR_FACE6 --- diff --git a/src/INTERP_KERNEL/SplitterTetra.txx b/src/INTERP_KERNEL/SplitterTetra.txx index 77b54d2cc..11202f04c 100644 --- a/src/INTERP_KERNEL/SplitterTetra.txx +++ b/src/INTERP_KERNEL/SplitterTetra.txx @@ -1065,7 +1065,9 @@ namespace INTERP_KERNEL for(int j = 0; j < 4; ++j) { conn[j] = subZone[ SPLIT_NODES_5[4*i+j] ]; - nodes[j] = getCoordsOfSubNode(conn[j]); + typename MyMeshTypeS::MyConnType realConn; + nodes[j] = getCoordsOfSubNode2(conn[j],realConn); + conn[j] = realConn; } SplitterTetra* t = new SplitterTetra(_src_mesh, nodes,conn); tetra.push_back(t); @@ -1089,7 +1091,9 @@ namespace INTERP_KERNEL for(int j = 0; j < 4; ++j) { conn[j] = subZone[SPLIT_NODES_6[4*i+j]]; - nodes[j] = getCoordsOfSubNode(conn[j]); + typename MyMeshTypeS::MyConnType realConn; + nodes[j] = getCoordsOfSubNode2(conn[j],realConn); + conn[j] = realConn; } SplitterTetra* t = new SplitterTetra(_src_mesh, nodes,conn); tetra.push_back(t);