From 5a940b0b13e3b81b353eb2c91f30e28b3dbf3edd Mon Sep 17 00:00:00 2001 From: Christoph Lehrenfeld Date: Wed, 14 Dec 2016 13:27:01 +0100 Subject: [PATCH] Compress and DeleteSurfaceElements --- libsrc/meshing/python_mesh.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index 10a19466..f6d8a2a0 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -447,6 +447,17 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) return self.AddFaceDescriptor (fd); })) + .def ("DeleteSurfaceElement", FunctionPointer ([](Mesh & self, int i) + { + return self.DeleteSurfaceElement (i); + })) + + .def ("Compress", FunctionPointer ([](Mesh & self) + { + return self.Compress (); + })) + + .def ("SetBCName", &Mesh::SetBCName) .def ("GetBCName", FunctionPointer([](Mesh & self, int bc)->string { return self.GetBCName(bc); }))