From d1a9f7ee3d85f5999181e8d0fe16d2a37330ce54 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Fri, 28 Feb 2025 09:04:20 +0100 Subject: [PATCH] raise Exception on BoundaryLayer call (should be given as meshing parameters now) --- 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 6825a2fd..f92bfbbf 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -1492,6 +1492,7 @@ py::arg("point_tolerance") = -1.) bool sides_keep_surfaceindex, bool disable_curving) { + throw Exception("Call syntax has changed! Pass a list of BoundaryLayerParameters to the GenerateMesh call instead: \ngeo.GenerateMesh(..., boundary_layers=[BoundaryLayerParameters(...), BoundaryLayerParameters(...), ...])"); BoundaryLayerParameters blp; blp.boundary = boundary; blp.thickness = thickness;