1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Higher-order time integrators for spin dynamics
//!
//! This module provides a suite of numerical integration methods suitable for
//! magnetization dynamics and general ODE systems expressed as systems of `Vector3`
//! equations. The integrators range from embedded adaptive Runge-Kutta pairs
//! (Dormand-Prince 5(4) and 8(7)) to structure-preserving symplectic methods
//! (Velocity Verlet, Yoshida 4th order, Forest-Ruth) and a semi-implicit solver
//! for stiff problems.
//!
//! # Design
//!
//! All integrators implement the [`Integrator`] trait, which provides a uniform
//! `step` interface returning an [`IntegratorOutput`]. The [`AdaptiveIntegrator`]
//! wrapper adds automatic step size control on top of any integrator that provides
//! error estimates.
//!
//! # Physical Motivation
//!
//! Spin dynamics governed by the Landau-Lifshitz-Gilbert equation exhibit both
//! precessional (energy-conserving) and dissipative behaviour. Symplectic methods
//! excel at long-time energy conservation in the undamped limit, while adaptive
//! Runge-Kutta methods efficiently handle varying timescales that arise from
//! exchange coupling, anisotropy, and applied field pulses.
pub use AdaptiveIntegrator;
pub use ;
pub use ;
pub use SemiImplicit;
pub use ;