Fem: remove some superfluous const_cast

This commit is contained in:
wmayer
2022-06-24 19:43:33 +02:00
parent 5b708b1ba1
commit 6e80ffaec3
8 changed files with 21 additions and 36 deletions

View File

@@ -230,21 +230,6 @@ App::DocumentObjectExecReturn *FemMeshShapeObject::execute(void)
myNetGenMesher.Compute();
#endif
//SMESHDS_Mesh* data = const_cast<SMESH_Mesh*>(newMesh.getSMesh())->GetMeshDS();
//const SMDS_MeshInfo& info = data->GetMeshInfo();
//int numNode = info.NbNodes();
//int numTria = info.NbTriangles();
//int numQuad = info.NbQuadrangles();
//int numPoly = info.NbPolygons();
//int numVolu = info.NbVolumes();
//int numTetr = info.NbTetras();
//int numHexa = info.NbHexas();
//int numPyrd = info.NbPyramids();
//int numPris = info.NbPrisms();
//int numHedr = info.NbPolyhedrons();
// set the value to the object
FemMesh.setValue(newMesh);