Compress and DeleteSurfaceElements

This commit is contained in:
Christoph Lehrenfeld 2016-12-14 13:27:01 +01:00
parent 775d998235
commit 5a940b0b13

View File

@ -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); }))