}
+//=============================================================================
+/*!
+ * Algo to run the computation of all the submeshes of a mesh in sequentila
+ */
+//=============================================================================
bool SMESH_Gen::sequentialComputeSubMeshes(
SMESH_Mesh & aMesh,
//=============================================================================
/*
- * Parallel compute of a submesh
- * This function is used to pass to thread_pool
+ * compute of a submesh
+ * This function is passed to the thread pool
*/
//=============================================================================
const std::function<void(SMESH_subMesh*,
});
+//=============================================================================
+/*!
+ * Algo to run the computation of all the submeshes of a mesh in parallel
+ */
+//=============================================================================
+
bool SMESH_Gen::parallelComputeSubMeshes(
SMESH_Mesh & aMesh,
const TopoDS_Shape & aShape,
#include "SMESH_Mesh.hxx"
+/*
+ * When instanced will run the command Lock from a SMESH_Mesh
+ */
SMESH_MeshLocker::SMESH_MeshLocker(SMESH_Mesh * aMesh) : _myMesh(aMesh)
{
_myMesh->Lock();
}
+/*
+ * When freed will run the command Unlock from the SMESH_Mesh associated
+ */
SMESH_MeshLocker::~SMESH_MeshLocker()
{
_myMesh->Unlock();