Python+Idefix now available for testing #273
Replies: 3 comments 3 replies
-
|
For what it's worth idefix-cli is now aware of this feature (since version 5.2.0) and treats Python modules as source files by default in |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I just want to keep track of a small feature I added wrt the initial version of the Python binding module (which might be worth to include in future versions). For a slightly more advanced initialisation of the flow, I sometime need to know which sub-domain is handled by the current process (in multi-processing), which I usually know thanks to the gbeg, np_int/tot array of a DataBlockHost instance. Those array were not accessible from its python counterpart data, so I added the following lines in the src/pydefix.cpp file: While doing so, I noticed that those array can similarly be modified from the Python interface (like the IdefixArray Vc or Vs for example). I guess that you are already aware of this, but user should be careful about not messing with that while initialising the flow. |
Beta Was this translation helpful? Give feedback.
-
|
Update: you now have the possibility to gather the data from all of the MPI processes in python, and hence play with the entire dataset in python. 2025 will be a good year for pydefix! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Following popular request during the Idefix days, the python binding of Idefix
pydefixis now available on the public repository, in thepythonBindingbranch. There is no proper documentation, but an example and a README file are provided intest/IO/pydefixdirectory.We will wait for your feedback before merging this into the develop branch. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions