embedding code-aster py script into c++ app
embedding code-aster py script into c++ appPosted by Golov Oleg at January 09. 2013
Dear salome and code-aster users,
I'm sorry that my question is not about salome, but I'm sure I can get help only on Salome or Code-aster forums.
I develop FEA GUI application for solving plane strain boundary value problem.
I want to use code-aster for the purpose. I utilise Qt/C++ for developing.
My application can create a model and can generate comm-file and mail-file from the model already.
Now I'd like to run analysis from c++ code using as_run:
I tried Qt class QProcess, PyRun_SimpleString from Python.h without success.
It seems to me that I need execute a method of a python class of code-aster.
Could you help me to execute as_run from c++ code?