mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 09:50:36 +05:00
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
loadDependentMeshes() before algo->Compute()
This commit is contained in:
parent
3ca6b8c524
commit
264238f852
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user