mirror of
https://github.com/NGSolve/netgen.git
synced 2025-05-04 17:50:50 +05:00
Export Mesh.GetCurveOrder() to Python
This commit is contained in:
parent
494b0ae37c
commit
aa66cd11c4
@ -1300,6 +1300,10 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
||||
.def("IdentifyPeriodicBoundaries", &Mesh::IdentifyPeriodicBoundaries,
|
||||
py::arg("identification_name"), py::arg("face1"), py::arg("mapping"),
|
||||
py::arg("point_tolerance") = -1.)
|
||||
.def("GetCurveOrder", [] (Mesh & self)
|
||||
{
|
||||
return self.GetCurvedElements().GetOrder();
|
||||
})
|
||||
.def("GetNrIdentifications", [](Mesh& self)
|
||||
{
|
||||
return self.GetIdentifications().GetMaxNr();
|
||||
|
Loading…
x
Reference in New Issue
Block a user