]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
0021099: [CEA 437] interp3D hex splitting method
authoreap <eap@opencascade.com>
Thu, 20 Jan 2011 13:33:36 +0000 (13:33 +0000)
committereap <eap@opencascade.com>
Thu, 20 Jan 2011 13:33:36 +0000 (13:33 +0000)
    Fix GENERAL_24 splitting

src/INTERP_KERNEL/SplitterTetra.txx

index fd0d06a82281ec88f382b45ff11e21d2fc5a8a39..da0f74756d828504b5d490bf376af95b40957616 100644 (file)
@@ -709,7 +709,7 @@ namespace INTERP_KERNEL
         nodes[1] = getCoordsOfSubNode2(faceCenterNode,conn[1]);
         for(int j = 0; j < 4; ++j)
           {
-            const int row = 4*(faceCenterNode - 9) + j;
+            const int row = 4*(faceCenterNode - 8) + j;
             nodes[2] = getCoordsOfSubNode2(TETRA_EDGES[2*row],conn[2]);
             nodes[3] = getCoordsOfSubNode2(TETRA_EDGES[2*row + 1],conn[3]);
            
@@ -883,7 +883,7 @@ namespace INTERP_KERNEL
                   1,2,5,6,// sub-node 12 (face)
                   4,5,6,7,// sub-node 13 (face)
                   2,3,6,7,// sub-node 14 (face)
-                  9,10,11,12// sub-node 15 (cell)
+                  8,9,10,11// sub-node 15 (cell)
                 };
 
               for(int i = 0; i < 7; ++i)