mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 01:40:33 +05:00
cleanup
This commit is contained in:
parent
955a1a5422
commit
dd63353c2b
@ -2999,14 +2999,12 @@ void SMDS_Mesh::CompactMesh()
|
||||
this->myCompactTime = this->myModifTime;
|
||||
|
||||
bool idsChange = HasNumerationHoles();
|
||||
|
||||
if ( idsChange )
|
||||
{
|
||||
std::set< SMDS_ElementHolder* >::iterator holder = myElemHolders.begin();
|
||||
for ( ; holder != myElemHolders.end(); ++holder )
|
||||
(*holder)->beforeCompacting();
|
||||
}
|
||||
|
||||
smIdType oldCellSize = myCellFactory->GetMaxID();
|
||||
|
||||
// remove "holes" in SMDS numeration
|
||||
|
@ -118,7 +118,7 @@ SET(SMESHimpl_SOURCES
|
||||
SMESH_HypoFilter.cxx
|
||||
SMESH_ProxyMesh.cxx
|
||||
SMESH_MesherHelper.cxx
|
||||
# MG_ADAPT.cxx
|
||||
MG_ADAPT.cxx
|
||||
SMESH_Homard.cxx
|
||||
SMESH_DriverMesh.cxx
|
||||
SMESH_DriverShape.cxx
|
||||
|
@ -51,8 +51,10 @@
|
||||
#include "memoire.h"
|
||||
#include <functional>
|
||||
|
||||
// #include <QString>
|
||||
// #include <QProcess>
|
||||
#ifndef __EMSCRIPTEN__
|
||||
#include <QString>
|
||||
#include <QProcess>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
@ -446,9 +448,11 @@ bool SMESH_Gen::parallelComputeSubMeshes(
|
||||
shapeSM, aShapeOnly, allowedSubShapes,
|
||||
aShapesId);
|
||||
}else{
|
||||
// boost::asio::post(*(aParMesh.GetPool()), std::bind(compute_function, smToCompute, computeEvent,
|
||||
// shapeSM, aShapeOnly, allowedSubShapes,
|
||||
// aShapesId));
|
||||
#ifndef __EMSCRIPTEN__
|
||||
boost::asio::post(*(aParMesh.GetPool()), std::bind(compute_function, smToCompute, computeEvent,
|
||||
shapeSM, aShapeOnly, allowedSubShapes,
|
||||
aShapesId));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@ -762,7 +766,6 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
|
||||
aMesh.GetMeshDS()->Modified();
|
||||
aMesh.GetMeshDS()->CompactMesh();
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user