]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
[EDF27859] : Correct bug in case of HEXA/HEXA in P1P0 mode with PLANAR_FACE5 and...
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 7 Aug 2023 14:29:10 +0000 (16:29 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 7 Aug 2023 14:29:10 +0000 (16:29 +0200)
src/INTERP_KERNEL/SplitterTetra.txx

index 77b54d2cc33a986bffde3b5f117eef6316a4985f..11202f04c5675fa4c8b90b8d8182388c0306f713 100644 (file)
@@ -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<MyMeshTypeS>* t = new SplitterTetra<MyMeshTypeS>(_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<MyMeshTypeS>* t = new SplitterTetra<MyMeshTypeS>(_src_mesh, nodes,conn);
         tetra.push_back(t);