mirror of
https://github.com/NGSolve/netgen.git
synced 2025-02-22 20:15:40 +05:00
export restrictlocalh of netgen mesh
This commit is contained in:
parent
5e742f017c
commit
2220fc093f
@ -994,7 +994,11 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
|||||||
.def("FaceDescriptor", static_cast<FaceDescriptor&(Mesh::*)(int)> (&Mesh::GetFaceDescriptor),
|
.def("FaceDescriptor", static_cast<FaceDescriptor&(Mesh::*)(int)> (&Mesh::GetFaceDescriptor),
|
||||||
py::return_value_policy::reference)
|
py::return_value_policy::reference)
|
||||||
.def("GetNFaceDescriptors", &Mesh::GetNFD)
|
.def("GetNFaceDescriptors", &Mesh::GetNFD)
|
||||||
|
.def("RestrictLocalH", [](Mesh& self, const Point<3>& pnt, double maxh,
|
||||||
|
int layer)
|
||||||
|
{
|
||||||
|
self.RestrictLocalH(pnt, maxh, layer);
|
||||||
|
}, py::arg("p"), py::arg("h"), py::arg("layer")=1)
|
||||||
.def("FaceDescriptors",
|
.def("FaceDescriptors",
|
||||||
// static_cast<Array<Element>&(Mesh::*)()> (&Mesh::FaceDescriptors),
|
// static_cast<Array<Element>&(Mesh::*)()> (&Mesh::FaceDescriptors),
|
||||||
&Mesh::FaceDescriptors,
|
&Mesh::FaceDescriptors,
|
||||||
|
Loading…
Reference in New Issue
Block a user