mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
GetGeometry from mesh
This commit is contained in:
parent
17c35f0640
commit
bcf5ea67aa
@ -694,11 +694,11 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
||||
Refinement().MakeSecondOrder(self);
|
||||
}))
|
||||
|
||||
.def ("SetGeometry", FunctionPointer
|
||||
([](Mesh & self, shared_ptr<NetgenGeometry> geo)
|
||||
.def ("GetGeometry", [] (Mesh& self) { return self.GetGeometry(); })
|
||||
.def ("SetGeometry", [](Mesh & self, shared_ptr<NetgenGeometry> geo)
|
||||
{
|
||||
self.SetGeometry(geo);
|
||||
}))
|
||||
})
|
||||
|
||||
/*
|
||||
.def ("SetGeometry", FunctionPointer
|
||||
|
Loading…
Reference in New Issue
Block a user