Welcome to PyDrag’s documentation!

PyDrag is a calculation scheme made with Python and deterministic code DRAGON. This project contains a specific distribution of Version5 (containing DRAGON modules and dependencies). More informations about the technologies used for this project can be found in the Sources section. In case of troubles, you can refer to Contacts page.

Check out the PyDrag installation guide section for further information. The Starting a PyDrag calculation page gives details about the project architecture and teach you how to start a calculation.

Note

This project is under active development.

Contents

PyDrag has its documentation hosted on Read the Docs. This is a test version of the project’s documentation.

How does PyDrag work ?

PyDrag allows the communication between Python and the calculation code DRAGON, thanks to the Version5 module called “PyGan”. It allows to use memory-located data, by passing them to DRAGON through the code’s modules such as LIB:, SPH:, etc. PyDrag calculations are done in a temporary folder created in /tmp/pydrag_[id]/, where the [id] is a random number that does not already exist in /tmp/ folder. The python tool is using C2M procedures in order to communicate with PyGan (and DRAGON). Those procedures are stored at src/c2m_procedures/.