henry2004y / TestParticle.jl

Test particle tracing in electromagnetic field
https://henry2004y.github.io/TestParticle.jl/dev/
MIT License
15 stars 3 forks source link

Changing dt for the Boris method #144

Open henry2004y opened 7 months ago

henry2004y commented 7 months ago

Based on our current understanding, changing the time step dt in the Boris pusher may not change the energy (to be verified!), but instead create more phase errors (#132). We can learn from OrdinaryDiffEq to see how they implement the time step callback control and allow a changing dt option in our solver.