diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index 510b3372..b3a7210a 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -643,6 +643,14 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) py::arg("pid2"), py::arg("identnr"), py::arg("type")) + .def ("CalcLocalH", &Mesh::CalcLocalH) + .def ("SetMaxHDomain", [] (Mesh& self, py::list maxhlist) + { + Array maxh; + for(auto el : maxhlist) + maxh.Append(py::cast(el)); + self.SetMaxHDomain(maxh); + }) .def ("GenerateVolumeMesh", [](Mesh & self, py::object pymp) {