🏋️ Calculate plasma fuelling masses#3598
Merged
timothy-nunn merged 3 commits intomainfrom Mar 26, 2025
Merged
Conversation
232128d to
75f0d3c
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3598 +/- ##
==========================================
+ Coverage 31.71% 31.73% +0.01%
==========================================
Files 84 84
Lines 20152 20166 +14
==========================================
+ Hits 6392 6400 +8
- Misses 13760 13766 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
75f0d3c to
087d51a
Compare
timothy-nunn
approved these changes
Mar 26, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to the
process/physics.pyandsource/fortran/physics_variables.f90files, focusing on the calculation and output of plasma mass variables. The most important changes include the addition of a new method for calculating plasma masses and the inclusion of these calculations in the output.Changes in
process/physics.py:calculate_plasma_massesto compute various plasma mass variables, including fuel ions, total ions, alpha particles, electrons, and the total plasma mass.physicsmethod to callcalculate_plasma_massesand assign the results to corresponding variables inphysics_variables.outplasmethod to include the new plasma mass variables in the output file.Changes in
source/fortran/physics_variables.f90:m_plasma_fuel_ions_grams,m_plasma_ions_total_grams,m_plasma_alpha_grams,m_plasma_electron_grams, andm_plasma_grams.init_physics_variablessubroutine.Checklist
I confirm that I have completed the following checks: