Re: [Gmsh] Python scripts as onelab solvers

2019-12-06 Thread Max Orok
Thank you, that's very helpful. I was trying to add Gmsh API python scripts through the Add Solver -> Choose exe path and think it was failing because the lack of proper onelab.py setup. On Fri, Dec 6, 2019 at 4:18 AM Christophe Geuzaine wrote: > > > > On 5 Dec 2019, at 23:29, Max Orok

Re: [Gmsh] Python scripts as onelab solvers

2019-12-06 Thread Christophe Geuzaine
> On 5 Dec 2019, at 23:29, Max Orok wrote: > > 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

[Gmsh] Python scripts as onelab solvers

2019-12-05 Thread Max Orok
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