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

Convert stellarator_configuration to Python #3392

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

timothy-nunn
Copy link
Contributor

Convert stellarator_configuration (except module variables) to Python

@timothy-nunn timothy-nunn linked an issue Nov 13, 2024 that may be closed by this pull request
Comment on lines +118 to +119
max_gyrotron_frequency = 1.0D9
te0_ecrh_achievable = 1.0D2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stuartmuldrew I added these so I could run yours and Felix's old file. Are you happy with these defaults?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously, these values defaulting to 0 resulted in Ignition point: Heating Power (MW) being written to MFile as NaN (I presume this was ok)... however now it causes an error in the code and stops the MFile being written

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 38.23529% with 21 lines in your changes missing coverage. Please review.

Project coverage is 27.64%. Comparing base (a800baf) to head (a773b80).

Files with missing lines Patch % Lines
process/stellarator_config.py 33.33% 20 Missing ⚠️
process/stellarator.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3392      +/-   ##
==========================================
+ Coverage   27.62%   27.64%   +0.02%     
==========================================
  Files          77       78       +1     
  Lines       18044    18077      +33     
==========================================
+ Hits         4984     4997      +13     
- Misses      13060    13080      +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Successfully merging this pull request may close these issues.

Convert stellarator_configuration.f90 to Python
2 participants