Skip to content

Convert stellarator_configuration to Python#3392

Merged
timothy-nunn merged 1 commit intomainfrom
3391-convert-stellarator_configurationf90-to-python
Dec 11, 2024
Merged

Convert stellarator_configuration to Python#3392
timothy-nunn merged 1 commit intomainfrom
3391-convert-stellarator_configurationf90-to-python

Conversation

@timothy-nunn
Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator 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
Copy Markdown
Collaborator 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
Copy Markdown

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.

@timothy-nunn timothy-nunn merged commit 7844aa2 into main Dec 11, 2024
@timothy-nunn timothy-nunn deleted the 3391-convert-stellarator_configurationf90-to-python branch December 11, 2024 09:52
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

3 participants