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