]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
bos #20646 [CEA] Fix error in polyhedron per solid on pentahedron
authoreap <eap@opencascade.com>
Thu, 28 Jan 2021 13:07:06 +0000 (16:07 +0300)
committereap <eap@opencascade.com>
Thu, 28 Jan 2021 13:07:58 +0000 (16:07 +0300)
src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx

index 5debedb31bfdf524a729edb6617e460fdff4eac7..b8e1089589087033f005b863e0db28d077f3bc34 100644 (file)
@@ -299,10 +299,6 @@ namespace
     if ( hexa[1] == -1 )
       return newHexPrism;
 
-    int iSide = hexa[0] + 1;
-    if ( iSide == hexa[1] )
-      ++iSide;
-
     const SMDS_MeshElement* botFace = faces[ hexa[ 0 ]];
     const SMDS_MeshElement* topFace = faces[ hexa[ 1 ]];
     std::vector< const SMDS_MeshNode* > nodes( 24 ); // last 12 is a working buffer