Skip to content

RK4 tracking with analytical magnetic fields#231

Open
ndwang wants to merge 85 commits intobmad-sim:mainfrom
ndwang:FieldTrack
Open

RK4 tracking with analytical magnetic fields#231
ndwang wants to merge 85 commits intobmad-sim:mainfrom
ndwang:FieldTrack

Conversation

@ndwang
Copy link
Contributor

@ndwang ndwang commented Jan 23, 2026

  • Adds a new RungeKutta tracking method for fixed step s-based 4th-order Runge-Kutta integration.
  • Currently only supports analytical magnetic fields using BMultipoleParams.
  • Test cases for rk4_kernel!
  • Benchmarking script for rk4_kernel!

@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

❌ Patch coverage is 82.17822% with 36 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
ext/BeamTrackingBeamlinesExt/rungekutta.jl 55.69% 35 Missing ⚠️
src/modules/RungeKuttaTracking.jl 99.09% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants