]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Progress bar. Increase difference between computeCost of EDGE and FACE
authoreap <eap@opencascade.com>
Tue, 3 Sep 2013 15:48:57 +0000 (15:48 +0000)
committereap <eap@opencascade.com>
Tue, 3 Sep 2013 15:48:57 +0000 (15:48 +0000)
src/SMESH/SMESH_subMesh.cxx

index 7f96a76fdb0505717158b8b207d4f0c7e13f8058..1246c5fa39f8bd8c624fc745f96cd428513968af 100644 (file)
@@ -385,9 +385,9 @@ int SMESH_subMesh::computeCost() const
     int computeCost;
     switch ( _subShape.ShapeType() ) {
     case TopAbs_SOLID:
-    case TopAbs_SHELL: computeCost = 1000; break;
-    case TopAbs_FACE:  computeCost = 100; break;
-    case TopAbs_EDGE:  computeCost = 10; break;
+    case TopAbs_SHELL: computeCost = 5000; break;
+    case TopAbs_FACE:  computeCost = 500; break;
+    case TopAbs_EDGE:  computeCost = 2; break;
     default:           computeCost = 1;
     }
     SMESH_subMeshIteratorPtr childIt = getDependsOnIterator(/*includeSelf=*/false);