mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 18:00:33 +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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// compute
|
// Compute
|
||||||
// cleanDependants(); for "UseExisting_*D" algos
|
|
||||||
// removeSubMeshElementsAndNodes();
|
//cleanDependants(); for "UseExisting_*D" algos
|
||||||
|
//removeSubMeshElementsAndNodes();
|
||||||
|
loadDependentMeshes();
|
||||||
ret = false;
|
ret = false;
|
||||||
_computeState = FAILED_TO_COMPUTE;
|
_computeState = FAILED_TO_COMPUTE;
|
||||||
_computeError = SMESH_ComputeError::New(COMPERR_OK,"",algo);
|
_computeError = SMESH_ComputeError::New(COMPERR_OK,"",algo);
|
||||||
@ -1638,6 +1640,8 @@ bool SMESH_subMesh::ComputeStateEngine(int event)
|
|||||||
else
|
else
|
||||||
_computeState = NOT_READY;
|
_computeState = NOT_READY;
|
||||||
break;
|
break;
|
||||||
|
// case SUBMESH_LOADED:
|
||||||
|
// break;
|
||||||
default:
|
default:
|
||||||
ASSERT(0);
|
ASSERT(0);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user