mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Merge branch 'export_timestamp' into 'master'
export mesh timestamp to python See merge request jschoeberl/netgen!84
This commit is contained in:
commit
aa13a2fbb4
@ -482,6 +482,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.def("__str__", &ToString<Mesh>)
|
.def("__str__", &ToString<Mesh>)
|
||||||
|
.def_property_readonly("_timestamp", &Mesh::GetTimeStamp)
|
||||||
.def("Load", FunctionPointer
|
.def("Load", FunctionPointer
|
||||||
([](Mesh & self, const string & filename)
|
([](Mesh & self, const string & filename)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user