change to SurfaceElementIndex

This commit is contained in:
Joachim Schöberl 2016-12-15 13:05:34 +01:00
parent d3e1f0e8fd
commit 9790774b49

View File

@ -446,18 +446,19 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
{
return self.AddFaceDescriptor (fd);
}))
.def ("DeleteSurfaceElement", FunctionPointer ([](Mesh & self, int i)
{
return self.DeleteSurfaceElement (i);
}))
.def ("DeleteSurfaceElement",
FunctionPointer ([](Mesh & self, SurfaceElementIndex i)
{
return self.DeleteSurfaceElement (i);
}))
.def ("Compress", FunctionPointer ([](Mesh & self)
{
return self.Compress ();
}))
{
return self.Compress ();
}))
.def ("SetBCName", &Mesh::SetBCName)
.def ("GetBCName", FunctionPointer([](Mesh & self, int bc)->string
{ return self.GetBCName(bc); }))