braincell.quad.diffrax_tsit5_step

braincell.quad.diffrax_tsit5_step#

braincell.quad.diffrax_tsit5_step(target, *args)[source]#

Advance one step with diffrax’s Tsitouras 5(4) solver.

Wraps diffrax.Tsit5, a fifth-order explicit Runge-Kutta method tuned to minimise the leading-order error coefficient. Tsit5 is the default explicit solver in many modern ODE libraries (e.g. Julia’s DifferentialEquations.jl).

Parameters:
  • target (DiffEqModule) – Module whose differential states will be advanced.

  • *args – Extra positional arguments forwarded to target’s integration hooks.

Returns:

target’s state is updated in place.

Return type:

None

Raises:

ModuleNotFoundError – If diffrax is not installed.

See also

diffrax_dopri5_step

Dormand-Prince 5(4), an alternative fifth-order explicit method.