Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move data structure to Python #2893

Open
2 tasks
jonmaddock opened this issue Sep 6, 2023 · 0 comments
Open
2 tasks

Move data structure to Python #2893

jonmaddock opened this issue Sep 6, 2023 · 0 comments
Labels
Epic Epic issue

Comments

@jonmaddock
Copy link
Contributor

jonmaddock commented Sep 6, 2023

The data structure needs to move from Fortran module variables to Python class attributes for the physics and engineering modules.

Once the physics/engineering modules have been converted to Python, their corresponding module variables will be in separate Fortran modules, e.g. tfcoil_variables.f90. These need to be incorporated into the new TFCoil Python class as attributes.

Due to the one-way nature of the Python-Fortran interface, it needs to be worked out how this can be done in incremental steps without completely unravelling the Fortran module variable dependencies and having to convert all variables in one go. Hopefully with some careful thought most modules can be converted one-by-one to minimise risk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic Epic issue
Projects
None yet
Development

No branches or pull requests

1 participant