Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adaptive step size for the
AtlasStepper
(#4102)
Until now the `AtlasStepper` only reduced the step size by a factor of `1/2` if the accuracy target was not met. This can be slow and does not allow for increasing the step size which is important in inhomogeneous magnetic fields. This PR adds our usual adaptive step size solution to the `AtlasStepper` which is identical in the `EigenStepper` and `SympyStepper`. This also allows for apple to apple comparisons between the steppers as they will use the same number of steps to reach a certain path length. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced propagation performance with improved error estimation and dynamic step size adjustments, resulting in more robust and accurate operations. - **Refactor** - Streamlined the underlying process by removing redundant calculations, ensuring more efficient and adaptive propagation behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information