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:
cf35807
)
Performance regression of SALOME_TESTS/Grids/smesh/bugs_18/V9
V8_2_0b1
author
eap
<eap@opencascade.com>
Wed, 16 Nov 2016 15:07:42 +0000
(18:07 +0300)
committer
eap
<eap@opencascade.com>
Wed, 16 Nov 2016 15:07:42 +0000
(18:07 +0300)
src/StdMeshers/StdMeshers_Prism_3D.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_Prism_3D.cxx
b/src/StdMeshers/StdMeshers_Prism_3D.cxx
index 9aed55e3e88f7ea1e16b69652f2b98737fc31c31..3d6249a79570ac2574e98f7b9b75965bef54b8cc 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Prism_3D.cxx
+++ b/
src/StdMeshers/StdMeshers_Prism_3D.cxx
@@
-2400,6
+2400,9
@@
double StdMeshers_Prism_3D::getSweepTolerance( const Prism_3D::TPrismTopo& thePr
bool StdMeshers_Prism_3D::isSimpleBottom( const Prism_3D::TPrismTopo& thePrism )
{
+ if ( thePrism.myBottomEdges.size() != 4 )
+ return false;
+
// analyse angles between edges
double nbConcaveAng = 0, nbConvexAng = 0;
TopoDS_Face reverseBottom = TopoDS::Face( thePrism.myBottom.Reversed() ); // see initPrism()