From ec39a51e924a5c39759502be45b2a15a6ff93f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Fri, 22 Sep 2017 12:39:57 +0200 Subject: [PATCH] assign default geometry in the (Python) mesh ctor --- libsrc/meshing/python_mesh.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index 11c4a561..510b3372 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -443,6 +443,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m) auto mesh = make_shared(); mesh -> SetDimension(dim); SetGlobalMesh(mesh); // for visualization + mesh -> SetGeometry (make_shared()); return mesh; } ), py::arg("dim")=3