netgen/libsrc/csg
Matthias Hochsteger 163135981e Fix GIL issues in GenerateMesh() functions
Functions with a python typed argument (kwargs in this case) cannot use
  py::call_guard<py::gil_scoped_release>()
because it means, the GIL is not held when the function returns (and
cleans up arguments/temporary variables).

Thus, remove the global call guard and create a local variable
  py::gil_scoped_release gil_release;
after arguments are processed and before meshing starts.

This local variable is destroyed before the function returns
(acquiring the GIL again).
2024-06-21 11:36:37 +02:00
..
algprim.cpp Add std::any to py::object caster for archive registered types 2021-09-28 22:34:11 +02:00
algprim.hpp Store Ellipsoid csg surface in mesh files 2020-01-15 15:13:08 +01:00
brick.cpp Add std::any to py::object caster for archive registered types 2021-09-28 22:34:11 +02:00
brick.hpp Rename Array to NgArray 2019-07-09 10:39:16 +02:00
bspline2d.cpp autotools 2009-01-12 23:40:13 +00:00
CMakeLists.txt rework build system, separate gui and non-gui code 2022-05-05 14:39:31 +02:00
csg.hpp remove <vector> from csg header again 2017-02-27 11:35:56 +01:00
csgeom.cpp fix more sprintf warnings 2022-12-08 15:26:27 +01:00
csgeom.hpp fix compiler warnings 2023-07-25 19:45:16 +02:00
csgparser.cpp Revolution should keep shared_ptr to splinegeo2d 2021-06-08 11:56:57 +02:00
csgparser.hpp add elliptic cone csg primitive 2018-02-26 14:08:22 +01:00
csgpkg.cpp replace sprintf by snprintf (remove warnings), remove old mpi-interface header 2022-12-08 15:19:16 +01:00
curve2d.cpp autotools 2009-01-12 23:40:13 +00:00
curve2d.hpp Fix various typos 2022-03-25 18:22:05 -04:00
edgeflw.cpp Fix various typos 2022-03-25 18:22:05 -04:00
edgeflw.hpp Rename Array to NgArray 2019-07-09 10:39:16 +02:00
explicitcurve2d.cpp autotools 2009-01-12 23:40:13 +00:00
explicitcurve2d.hpp Fix various typos 2022-03-25 18:22:05 -04:00
extrusion.cpp thread safe ExtrusionFace :: CalcProj 2022-03-07 20:59:24 +01:00
extrusion.hpp fix override warnings 2021-04-17 16:27:30 +02:00
gencyl.cpp mesh rendering fixes 2009-01-24 23:28:47 +00:00
gencyl.hpp namespaces, layers for 2D geometry 2009-09-07 11:50:13 +00:00
genmesh.cpp rework build system, separate gui and non-gui code 2022-05-05 14:39:31 +02:00
geoml.hpp autotools 2009-01-12 23:40:13 +00:00
identify.cpp Fix various typos 2022-03-25 18:22:05 -04:00
identify.hpp Fix leftover "Identifyable" from last commit 2022-03-28 17:45:00 +02:00
manifold.cpp autotools 2009-01-12 23:40:13 +00:00
manifold.hpp namespaces, layers for 2D geometry 2009-09-07 11:50:13 +00:00
meshsurf.cpp implement meshing2 functionality for 3d geometries 2019-10-28 13:44:51 +01:00
meshsurf.hpp implement meshing2 functionality for 3d geometries 2019-10-28 13:44:51 +01:00
polyhedra.cpp Fix typos 2022-09-08 11:08:25 -04:00
polyhedra.hpp robust implementation of Polyhedra::VecInSolid2 2020-10-17 08:18:32 +02:00
python_csg.cpp Fix GIL issues in GenerateMesh() functions 2024-06-21 11:36:37 +02:00
revolution.cpp fixing warnings 2023-08-05 12:01:01 +02:00
revolution.hpp Revolution should keep shared_ptr to splinegeo2d 2021-06-08 11:56:57 +02:00
singularref.cpp unique-ptr for TangentialSolid 2020-10-16 09:44:11 +02:00
singularref.hpp Fix various typos 2022-03-25 18:22:05 -04:00
solid.cpp Throw in case "op" enum value is invalid 2022-01-27 11:49:42 +01:00
solid.hpp cleanup solid checks 2020-10-17 17:08:58 +02:00
specpoin.cpp Fix typos 2022-09-08 11:08:25 -04:00
specpoin.hpp Fix various typos 2022-03-25 18:22:05 -04:00
spline3d.cpp autotools 2009-01-12 23:40:13 +00:00
spline3d.hpp Rename Array to NgArray 2019-07-09 10:39:16 +02:00
splinesurface.cpp Add std::any to py::object caster for archive registered types 2021-09-28 22:34:11 +02:00
splinesurface.hpp Rename Array to NgArray 2019-07-09 10:39:16 +02:00
surface.cpp Archive with nondefault constructor 2023-08-28 10:02:22 +02:00
surface.hpp cleanup solid checks 2020-10-17 17:08:58 +02:00
triapprox.cpp Rename BitArray to NgBitArray 2019-08-28 14:04:05 +02:00
triapprox.hpp Rename Array to NgArray 2019-07-09 10:39:16 +02:00
vscsg.cpp fixing warnings 2023-08-05 12:01:01 +02:00
vscsg.hpp rework build system, separate gui and non-gui code 2022-05-05 14:39:31 +02:00
zrefine.cpp Rename BitArray to NgBitArray 2019-08-28 14:04:05 +02:00