Matthias Hochsteger
6ca5657c73
Fix race condition in mesh drawing with netgen pip package
...
When Draw() is running from python it
- sets the global mesh pointer (a weak pointer)
- tells the GUI thread to draw the mesh
The problem:
If the python script already finished, the mesh is dying before the GUI
thread picks it up for drawing. This does not happen for drawing a
function, since the NGSolve solution scene object already keeps a
shared_ptr to CF/GridFunction/mesh objects.
The fix:
Add a shared_ptr<Mesh> to the mesh scene object. This gets updated
automatically when the global weak_ptr is set (but only if the GUI was
loaded, that's why a callback is needed)
2026-01-26 13:57:15 +01:00
Matthias Hochsteger
fe8b294340
Utility function GetGlobalMesh
2026-01-23 11:08:15 +01:00
Joachim Schoeberl
ad62d850a0
move Netgen statushandler into ngcore
2025-10-10 20:14:28 +02:00
Christopher Lackner
95ca834605
move namespaces in meshing.hpp into headers
2023-09-04 13:43:47 +02:00
Matthias Hochsteger
267e8b33fb
cmake - use git to generate version string
2020-05-18 15:55:40 +02:00
Matthias Hochsteger
04de18d0b4
Check badness quality in tests
2019-10-04 10:25:14 +00:00
Matthias Hochsteger
36ada6f90c
clock() reports wrong times, use WallTime() instead
2019-09-27 11:54:33 +02:00
Matthias Hochsteger
cb87362f64
Rename Array to NgArray
2019-07-09 10:39:16 +02:00
Christopher Lackner
0a08450bfa
move testout to ngcore
2019-05-28 13:51:53 +02:00
Joachim Schöberl
734e96c87c
get rid of ng_comm
2019-02-12 22:11:55 +01:00
Joachim Schöberl
c6d49734fb
default ctor for NgMPI_Comm
2019-02-12 08:03:20 +01:00
Joachim Schöberl
9b8f273b14
mpiwrapper
2019-02-11 22:12:29 +01:00
Joachim Schöberl
9ced2f561f
mpi_wrapper
2019-02-11 21:37:28 +01:00
Lukas
e880bff515
DLL_HEADER for ng_comm
2019-02-01 16:12:30 +01:00
Lukas
c7fb6c7e4a
Add a global communicator. The mesh now has a communicator.
2019-01-29 16:10:02 +01:00
Matthias Hochsteger
4aa7e76bd1
MPI-Parallel output of profiler
2019-01-14 13:04:27 +01:00
Joachim Schöberl
7e83edabf1
order of d'tors for global variables: create VSSolution on demand, which is later
2017-08-28 18:19:20 +02:00
Matthias Hochsteger
990d0fce78
GUI support from Python
...
Enables experimental support for starting the Netgen GUI from Python
directly.
To use it, just import the gui module:
> import netgen.gui
2017-05-08 16:42:49 +02:00
Joachim Schöberl
0074d8b407
inline GetTimeStamp
2017-04-11 10:45:11 +02:00
Matthias Hochsteger
1b4f596446
get rid of OpenMP
2016-02-22 18:44:00 +01:00
Joachim Schöberl
f9e27448d0
output control
2015-12-21 20:21:36 +01:00
Matthias Hochsteger
8ac965d707
everything in one big dll on Windows
2015-10-19 10:08:30 +02:00
Joachim Schoeberl
0f493c6c14
mesh for vis
2015-01-08 21:18:33 +00:00
Joachim Schoeberl
c216e3f3ed
vis-library
2014-10-06 09:57:44 +00:00
Joachim Schoeberl
e2cf4ea591
closed modules
2014-08-30 00:15:59 +00:00
Joachim Schoeberl
1d163e69dc
get arguments
2012-07-06 07:49:05 +00:00
Joachim Schoeberl
9c4f4221ec
non-global variable mparam
2011-07-25 11:33:19 +00:00
Joachim Schoeberl
b95acb082c
geometry restructuring
2011-01-10 20:18:01 +00:00
Joachim Schoeberl
91d5c9888d
ARRAY -> Array
2009-01-25 12:35:25 +00:00
Joachim Schoeberl
4414d38106
rename files curvedelems_new -> curvedelems
...
bugfix with lock(mesh.mutex) in vsmesh
2009-01-24 13:35:44 +00:00
Joachim Schoeberl
161dc4cfd9
netgen - ngsolve integration
2009-01-18 17:36:38 +00:00
Joachim Schoeberl
310cb00b13
autotools
2009-01-12 23:40:13 +00:00