mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Merge branch 'py_exp_ComprAndDelsurfels' into 'master'
Compress and DeleteSurfaceElements to python export Compress and DeleteSurfaceElement to python. Perhaps you prefer having the ElementId-Version of DeleteSurfaceElement instead? See merge request !26
This commit is contained in:
commit
d3e1f0e8fd
@ -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); }))
|
||||
|
Loading…
Reference in New Issue
Block a user