bos #20646 [CEA] Fix error in polyhedron per solid on pentahedron

This commit is contained in:
eap 2021-01-28 16:07:06 +03:00
parent bca8bf9ddb
commit b586ea5065

View File

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