I'm working on a project involving solving a PDE in a domain (using FreeFem) and then, using the calculated solution, evolving my system (implemented in Python). For now, I was using some temporary files to pass the information between two processes, but I would like to find a more efficient and elegant solution. As far, I've found two other projects trying to address this problem (both named pyFreeFem):
However, they are also using temporary files as a solution.
I'm interested in the possibility of binding the FreeFem code to Python. I'm not an expert, but there are many Python-C++ wrappers (SWIG, pybind11, cppyy, etc. ) which seem to, in principle, be able to perform such task. Do you think such a feature was already used somewhere or could be incorporated into FreeFem code?
Best regards and thank you for your work,
Stanisław
Dear FreeFEM developers,
I'm working on a project involving solving a PDE in a domain (using FreeFem) and then, using the calculated solution, evolving my system (implemented in Python). For now, I was using some temporary files to pass the information between two processes, but I would like to find a more efficient and elegant solution. As far, I've found two other projects trying to address this problem (both named pyFreeFem):
However, they are also using temporary files as a solution.
I'm interested in the possibility of binding the FreeFem code to Python. I'm not an expert, but there are many Python-C++ wrappers (SWIG, pybind11, cppyy, etc. ) which seem to, in principle, be able to perform such task. Do you think such a feature was already used somewhere or could be incorporated into FreeFem code?
Best regards and thank you for your work, Stanisław