From d208e8f65e62a57ec57de3d267b1fb4d1add8afc Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Mon, 7 Aug 2023 16:29:10 +0200 Subject: [PATCH] [EDF27859] : Correct bug in case of HEXA/HEXA in P1P0 mode with PLANAR_FACE5 and PLANAR_FACE6 --- src/INTERP_KERNEL/SplitterTetra.txx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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); -- 2.39.2