-
Notifications
You must be signed in to change notification settings - Fork 7
Add NCSX Meiss vs VMEC Cash–Karp comparison #196
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
base: main
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
Add examples/compare_ncsx_meiss_vmec_ck.py to compare guiding-center orbits in the NCSX free-boundary equilibrium using Cash–Karp GC in VMEC vs Meiss (coils) coordinates, based on the STELLOPT NCSX wout and coils files.
PR Type
Enhancement
Description
Add comprehensive comparison script for NCSX guiding-center orbits
Implements Cash–Karp RK5(4) integration in VMEC vs Meiss coordinates
Automates NCSX equilibrium file download and coils format conversion
Generates visual comparison plots of orbit trajectories (s, theta, phi)
Diagram Walkthrough
File Walkthrough
compare_ncsx_meiss_vmec_ck.py
NCSX Cash–Karp orbit comparison and visualization scriptexamples/compare_ncsx_meiss_vmec_ck.py
Cash–Karp RK5(4) integration
from STELLOPT
filament coordinates
Meiss canonical coordinates)
comparison plots