mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
export mesh timestamp to python
This commit is contained in:
parent
ec1bcd8799
commit
8e73ba68fc
@ -482,6 +482,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
||||
*/
|
||||
|
||||
.def("__str__", &ToString<Mesh>)
|
||||
.def_property_readonly("timestamp", &Mesh::GetTimeStamp)
|
||||
.def("Load", FunctionPointer
|
||||
([](Mesh & self, const string & filename)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user