-
Notifications
You must be signed in to change notification settings - Fork 13
Update portsz()
#3705
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
Update portsz()
#3705
Conversation
… across documentation and code
…files for consistency and clarity.
…ncy across code and documentation
…consistency in method naming
… and consistency across documentation and code
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3705 +/- ##
==========================================
- Coverage 37.73% 36.91% -0.82%
==========================================
Files 88 88
Lines 22761 23308 +547
==========================================
+ Hits 8588 8605 +17
- Misses 14173 14703 +530 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…quations and clarifying the maximum tangency radius constraints.
… into the run method for improved clarity and efficiency
…nsistency across code and documentation
documentation/proc-pages/eng-models/heating_and_current_drive/NBI/nbi_overview.md
Show resolved
Hide resolved
ec76673
to
f9273e2
Compare
… directly call calculate_beam_port_size for improved clarity and efficiency
f9273e2
to
b4625ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good
* 🔄 Rename rtanbeam to radius_beam_tangency for clarity and consistency across documentation and code * 🔄 Updated variable names from beamwd to dx_beam_duct across multiple files for consistency and clarity. * 🔄 Rename rtanmax to radius_beam_tangency_max for clarity and consistency across code and documentation * 🔄 Rename portsz function to calculate_beam_port_size for clarity and consistency in method naming * 🔄 Rename variable frbeam to f_radius_beam_tangency_rmajor for clarity and consistency across documentation and code * 📝 Enhance documentation for neutral beam injection, adding detailed equations and clarifying the maximum tangency radius constraints. * 🔄 Refactor build process by consolidating beam port size calculations into the run method for improved clarity and efficiency * 🔄 Rename variable fportsz to fradius_beam_tangency for clarity and consistency across code and documentation * 🔄 Refactor test_calculate_beam_port_size to remove monkeypatching and directly call calculate_beam_port_size for improved clarity and efficiency
Documentation for the derivation of the beam access has been added to
nbi_overview.md
Function has been refactorized to take inputs instead of changing globals
🔄 Renames
portsx()
->calculate_beam_port_size()
rtanbeam
->radius_beam_tangency
beamwd
->dx_beam_duct
rtanmax
->radius_beam_tangency_max
frbeam
->f_radius_beam_tangency_rmajor
fportsz
->fradius_beam_tangency
Checklist
I confirm that I have completed the following checks: