Hello,
i am working on an iterative algorithm that solves a PDE in every step and I am trying to save a snapshot in every step. This looks conceptually similar to
import netgen.gui
for i in range(N):
solution = SolvePDE()
Draw(solution,mesh,'solution')
time.sleep(1)
SnapShot()
The problem is, that the "Draw"-function does not change the GUI until the loop is over and therefore will only produce one image.
I tried this in and without Jupyter Notebooks but I can't find a workarount.
Can someone help me?