SMESH_subMesh *sm = aMesh.GetSubMesh(aShape);
+ if ( sm->GetComputeState() == SMESH_subMesh::COMPUTE_OK )
+ return true; // already computed
+
// -----------------------------------------------------------------
// apply algos that do not require descretized boundaries, starting
// from the most complex shapes