Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bca8bf9
)
bos #20646 [CEA] Fix error in polyhedron per solid on pentahedron
author
eap
<eap@opencascade.com>
Thu, 28 Jan 2021 13:07:06 +0000
(16:07 +0300)
committer
eap
<eap@opencascade.com>
Thu, 28 Jan 2021 13:07:58 +0000
(16:07 +0300)
src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx
b/src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx
index 5debedb31bfdf524a729edb6617e460fdff4eac7..b8e1089589087033f005b863e0db28d077f3bc34 100644
(file)
--- a/
src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx
+++ b/
src/StdMeshers/StdMeshers_PolyhedronPerSolid_3D.cxx
@@
-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