mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
empty mesh constructor for python
This commit is contained in:
parent
df327f8665
commit
50e5b2ef7b
@ -121,6 +121,14 @@ void ExportNetgenMeshing()
|
||||
{
|
||||
return self.AddPoint (Point3d(p));
|
||||
}))
|
||||
.def("__init__", bp::make_constructor
|
||||
(FunctionPointer ([]()
|
||||
{
|
||||
auto tmp = new Mesh();
|
||||
return tmp;
|
||||
})),
|
||||
"create empty mesh"
|
||||
)
|
||||
;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user