//
//#define CHRONODEF
-
+//
+#ifndef DISABLE_PARAMESH
#include <boost/asio.hpp>
+#endif
#include "SMESH_Gen.hxx"
#include "SMESH_DriverMesh.hxx"
smToCompute->ComputeStateEngine( SMESH_subMesh::CHECK_COMPUTE_STATE );
continue;
}
+#ifdef DISABLE_PARASMESH
+ compute_function(smToCompute, computeEvent,
+ shapeSM, aShapeOnly, allowedSubShapes,
+ aShapesId);
+#else
boost::asio::post(*(aMesh._pool), std::bind(compute_function, smToCompute, computeEvent,
shapeSM, aShapeOnly, allowedSubShapes,
aShapesId));
+#endif
}
// Waiting for the thread for Solids to finish
return ret;
};
-
//=============================================================================
/*
* Compute a mesh