Add NCSX Meiss vs VMEC GC Cash–Karp plot test#197
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:
|
|||||||||||||||
af92932 to
2361e91
Compare
2361e91 to
29e6fa2
Compare
29e6fa2 to
06ec6dd
Compare
06ec6dd to
47be189
Compare
User description
Adds a single CTest entry \ that runs \ against an NCSX equilibrium.\n\n- Base: main\n- Head: feature/ncsx-meiss-ck-test-only\n- Tests: \ (non-regression, excluding golden_record) passes locally.
PR Type
Tests, Enhancement
Description
Adds comparison script for NCSX guiding-center orbits using Cash–Karp integrator
Compares VMEC field-based vs Meiss coil-based trajectory calculations
Automatically downloads NCSX equilibrium and coils files from remote sources
Generates visual comparison plots of s, theta, and phi coordinates over time
Integrates new test into CMake test suite with 600-second timeout
Diagram Walkthrough
File Walkthrough
compare_ncsx_meiss_vmec_ck.py
NCSX guiding-center trajectory comparison scriptexamples/compare_ncsx_meiss_vmec_ck.py
Meiss)
2π, phi mod 2π
CMakeLists.txt
Register NCSX Cash–Karp comparison test in CMaketest/tests/CMakeLists.txt
gc_ck_ncsx_vmec_vs_meissthat executes thecomparison script