You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how we can use values of few variables into python. For example, in Fortran, I am running a calculation for calculation of few coordinates. That coordinate values I have to use in my python machine learning program. The value returned from python code is to be further used in Fortran program. So how can i do this using call_py_fort??
The text was updated successfully, but these errors were encountered:
you can call set state/get state multiple times with different names to handle multiple inputs/outputs.
you can “return a python value to fortran” by setting it in the state dictionary passed to the python function with some key, and then use that key in “get_state” on the fortran side.
how we can use values of few variables into python. For example, in Fortran, I am running a calculation for calculation of few coordinates. That coordinate values I have to use in my python machine learning program. The value returned from python code is to be further used in Fortran program. So how can i do this using call_py_fort??
The text was updated successfully, but these errors were encountered: