Repository navigation
Add native Dopri5/Dopri8 orbit tracing and CUDA adapters - #187
eduardolneto wants to merge 12 commits into
Conversation
|
@rogeriojorge This is ready to be merged. |
|
Eduardo, a short status on this one. Main has moved a lot this week (loss API, tracing defaults, CI matrix from Python 3.10/JAX 0.6.2 to 3.14). Your branch already has main merged and has no conflicts. I opened #195 against this branch with the simplifications I'd like before merging:
With #195 merged in, this PR goes from +2594 to +2247 lines. Public behaviour of Still open: the CUDA/Pallas adapters in If #195 looks fine to you, please merge it into this branch. |
|
Main moved and this PR now conflicts in essos/dynamics.py. I did not push to your branch. #250 merges main into feat/native_dopri and targets it, so you can take it as is. The conflict was in the exterior-segment term and the segment solve: main added Tests under JAX_ENABLE_X64=1: test_native_orbit.py 19 passed, test_dynamics.py 116 passed. Merging #250 clears the conflict here. |
Adds optional native Dopri5/Dopri8 forward tracing for Boozer, VMEC guiding-centre, and Cartesian coil guiding-centre/full-orbit models, using the existing equations and field representations. This is upfated form of PR #169 which will be closed when this branch is merged.
Tracing,trace_boozerandprepare_solver, while retaining the existing Diffrax path..gitignorematches main.