]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
authoreap <eap@opencascade.com>
Thu, 22 Mar 2012 14:09:13 +0000 (14:09 +0000)
committereap <eap@opencascade.com>
Thu, 22 Mar 2012 14:09:13 +0000 (14:09 +0000)
   loadDependentMeshes() before algo->Compute()

src/SMESH/SMESH_subMesh.cxx

index 7485f18fb71446d16ce476309a1f2a7013e0b33f..79e64e1dcbb493fa6e1c727f24cf0cdcd548ec9e 100644 (file)
@@ -1383,9 +1383,11 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
             break;
           }
         }
-        // compute
-//         cleanDependants(); for "UseExisting_*D" algos
-//         removeSubMeshElementsAndNodes();
+        // Compute
+
+        //cleanDependants(); for "UseExisting_*D" algos
+        //removeSubMeshElementsAndNodes();
+        loadDependentMeshes();
         ret = false;
         _computeState = FAILED_TO_COMPUTE;
         _computeError = SMESH_ComputeError::New(COMPERR_OK,"",algo);
@@ -1638,6 +1640,8 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
         else
           _computeState = NOT_READY;
       break;
+    // case SUBMESH_LOADED:
+    //   break;
     default:
       ASSERT(0);
       break;