Gmsh GUI or terminal stop working when using Printf to print a variable with many points or surfaces
Hello,
I found that when printing a large number of variables using printf
on the Gmsh GUI terminal, Gmsh will stop working and crash.
At first, I guessed that the reason might be that the GUI terminal could not display so many variables, leading to the crash of Gmsh. I tried using the non-interactive mode > gmsh untitled_1.geo
and printing the variables to an untitled_1.txt
file using Printf
, but Gmsh still crashes.
I have attached a test example, where Gmsh fails to work when the variable Point_f1()
contains a large number of points to print. I would like to know what is causing this problem and if there is a solution. My test platform is Win11 + Gmsh-git(4.11).
Thank you!