Replies: 2 comments 5 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Some comments regarding PR #1300. Not only did we update the mesh deformation routines, but we also exposed them to Python. We have that same goal in mind: to couple with other Python-based MDAO frameworks, optimization routines, etc. Here are the refactored routines. Some quick remarks:
Once again, these are intended to be used with Python as in your case. We had to add meson build files and also update pySU2 files (pySU2.i and pySU2ad.i, and most importantly the meson.build file in that directory) to expose them to Python. I don’t believe it is as simple as what you have already tried and described (i.e. adding include statement into the pySU2.i file) and compiling. Please try with these additional files and let me know if it helps! On a related note, we have another branch called feature_pysu2_fsi_adjoint. This is the latest version of our refactoring efforts for pysu2/pysu2ad, and includes a significantly improved Python API with a lot more functionality for analysis and sensitivity analysis. We are in process of starting a new PR for this latest work, so it can be integrated in future releases of SU2. |
Beta Was this translation helpful? Give feedback.
-
Hello!
I've been trying to wrap SU2_DOT in python to interface with a code I've developed. I tried it last week by simply including "SU2_DOT.hpp" in the pySU2.i file, and it was working!! However after having deleted and re-downloaded the code, by simply repeating the same steps (in the same order) I get errors in the compilation, addressing "undefined references " to functions created in SU2_DOT.
Can anyone help with this?
Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions