export update method for mesh

This commit is contained in:
Michael 2020-03-30 20:44:39 +02:00
parent a52ccd7ce5
commit cb015c95d0

View File

@ -1016,6 +1016,10 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
res["tet"] = py::make_tuple( values[2], values[3] ); res["tet"] = py::make_tuple( values[2], values[3] );
return res; return res;
}, py::arg("badelement_limit")=175.0) }, py::arg("badelement_limit")=175.0)
.def ("Update", [](Mesh & self)
{
self.SetNextTimeStamp();
})
.def ("CalcTotalBadness", &Mesh::CalcTotalBad) .def ("CalcTotalBadness", &Mesh::CalcTotalBad)
.def ("GetQualityHistogram", &Mesh::GetQualityHistogram) .def ("GetQualityHistogram", &Mesh::GetQualityHistogram)
; ;