[Gmsh] Python scripts as onelab solvers

Max Orok morok at mevex.com
Thu Dec 5 23:29:37 CET 2019


Hello all,

I believe you can only use executable files as Gmsh solvers.
Would there be any interest in using Python scripts as solvers directly?
Perhaps there's a clever workaround used right now.

>From the GUI, I'd like to be able to:

   - add a python solver to the solver list
   - have that solver modify the gui window with onelab parameters, like
   exec solvers do currently

I know about the custom_gui.py demo, but believe it requires users to start
it from the command line.

Maybe this could be a more portable option for distributing solvers or
reduce the barrier to writing one?

Thank you,
Max

-- 
Max Orok
Contractor
www.mevex.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20191205/f26b5e2a/attachment.html>


More information about the gmsh mailing list