Salome HOME
More comments
authorYoann Audouin <yoann.audouin@edf.fr>
Mon, 16 Jan 2023 09:41:35 +0000 (10:41 +0100)
committerYoann Audouin <yoann.audouin@edf.fr>
Mon, 16 Jan 2023 09:41:35 +0000 (10:41 +0100)
src/SMESH/SMESH_subMesh.cxx

index 76dfb83e1478c38ae5faecbd3388717e79feb9a1..bc3aa8792e0dfa6789bd966c8cfa0298d2ca9c5e 100644 (file)
@@ -1515,7 +1515,8 @@ bool SMESH_subMesh::ComputeStateEngine(compute_event event)
         TopoDS_Shape shape = _subShape;
         algo->setSubMeshesToCompute(this);
         // check submeshes needed
-        // In parallel there would be no submesh to check
+        // When computing in parallel mode we do not have a additional layer of submesh
+        // The check should not be done in parallel as that check is not thread-safe
         if (_father->HasShapeToMesh() && !_father->IsParallel()) {
           bool subComputed = false, subFailed = false;
           if (!algo->OnlyUnaryInput()) {