FEM: Make FEM compatible with SMESH7
This commit is contained in:
committed by
wmayer
parent
088f1e4719
commit
f7c77a446a
@@ -362,8 +362,6 @@ Mesh::MeshObject* Mesher::createMesh() const
|
||||
}
|
||||
|
||||
// clean up
|
||||
delete meshgen;
|
||||
|
||||
TopoDS_Shape aNull;
|
||||
mesh->ShapeToMesh(aNull);
|
||||
mesh->Clear();
|
||||
@@ -371,6 +369,8 @@ Mesh::MeshObject* Mesher::createMesh() const
|
||||
for (std::list<SMESH_Hypothesis*>::iterator it = hypoth.begin(); it != hypoth.end(); ++it)
|
||||
delete *it;
|
||||
|
||||
delete meshgen;
|
||||
|
||||
MeshCore::MeshKernel kernel;
|
||||
kernel.Adopt(verts, faces, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user