//#define CHRONODEF
+#include <boost/asio.hpp>
#include "SMESH_Gen.hxx"
#include "SMESH_DriverMesh.hxx"
using namespace std;
#include <boost/filesystem.hpp>
-#include <boost/asio.hpp>
namespace fs = boost::filesystem;
// Environment variable separator
}
+//=============================================================================
+/*!
+ * 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*,
bool,
TopTools_IndexedMapOfShape *,
TSetOfInt*)>
- compute_function([&] (SMESH_subMesh* sm,
+ compute_function([] (SMESH_subMesh* sm,
SMESH_subMesh::compute_event event,
SMESH_subMesh *shapeSM,
bool aShapeOnly,
});
+//=============================================================================
+/*!
+ * 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,