mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
assign default geometry in the (Python) mesh ctor
This commit is contained in:
parent
2e243a7d07
commit
ec39a51e92
@ -443,6 +443,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
||||
auto mesh = make_shared<Mesh>();
|
||||
mesh -> SetDimension(dim);
|
||||
SetGlobalMesh(mesh); // for visualization
|
||||
mesh -> SetGeometry (make_shared<NetgenGeometry>());
|
||||
return mesh;
|
||||
} ),
|
||||
py::arg("dim")=3
|
||||
|
Loading…
Reference in New Issue
Block a user