The goal here is to speed up computation by running sub-meshes in parallel
(multi-threading).
-*******
Concept
-*******
+#######
.. image:: ../images/diagram_parallel_mesh.png
ensure that all the solids can be computed without any concurrency.
-******
How to
-******
+######
You follow the same principle as the creation of a sequential Mesh.
ret = SMESH_Hypothesis::HYP_INCOMPATIBLE;
}
else if (!_father->IsUsedHypothesis( anHyp, this ))
- ret = SMESH_Hypothesis::HYP_INCOMPATIBLE;
+ {
+ if ( anHyp->GetDim() == this->GetAlgo()->GetDim() )
+ ret = SMESH_Hypothesis::HYP_INCOMPATIBLE;
+ }
if (SMESH_Hypothesis::IsStatusFatal( ret ))
{