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:
8a85c65
)
Progress bar. Increase difference between computeCost of EDGE and FACE
author
eap
<eap@opencascade.com>
Tue, 3 Sep 2013 15:48:57 +0000
(15:48 +0000)
committer
eap
<eap@opencascade.com>
Tue, 3 Sep 2013 15:48:57 +0000
(15:48 +0000)
src/SMESH/SMESH_subMesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_subMesh.cxx
b/src/SMESH/SMESH_subMesh.cxx
index 7f96a76fdb0505717158b8b207d4f0c7e13f8058..1246c5fa39f8bd8c624fc745f96cd428513968af 100644
(file)
--- a/
src/SMESH/SMESH_subMesh.cxx
+++ b/
src/SMESH/SMESH_subMesh.cxx
@@
-385,9
+385,9
@@
int SMESH_subMesh::computeCost() const
int computeCost;
switch ( _subShape.ShapeType() ) {
case TopAbs_SOLID:
int computeCost;
switch ( _subShape.ShapeType() ) {
case TopAbs_SOLID:
- case TopAbs_SHELL: computeCost =
1
000; break;
- case TopAbs_FACE: computeCost =
1
00; break;
- case TopAbs_EDGE: computeCost =
10
; break;
+ case TopAbs_SHELL: computeCost =
5
000; break;
+ case TopAbs_FACE: computeCost =
5
00; break;
+ case TopAbs_EDGE: computeCost =
2
; break;
default: computeCost = 1;
}
SMESH_subMeshIteratorPtr childIt = getDependsOnIterator(/*includeSelf=*/false);
default: computeCost = 1;
}
SMESH_subMeshIteratorPtr childIt = getDependsOnIterator(/*includeSelf=*/false);