braincell.quad.diffrax_kvaerno5_step#
- braincell.quad.diffrax_kvaerno5_step(target, *args, tol=1e-05)[source]#
Advance one step with diffrax’s Kvaerno 5 ESDIRK solver.
Wraps diffrax.Kvaerno5, a fifth-order, \(L\)-stable ESDIRK method for stiff systems.
- Parameters:
target (
DiffEqModule) – Module whose differential states will be advanced.*args – Extra positional arguments forwarded to
target’s integration hooks.tol (float, optional) – Combined relative and absolute tolerance for the chord root-finder. Defaults to
1e-5.
- Returns:
target’s state is updated in place.- Return type:
None
- Raises:
ModuleNotFoundError – If
diffraxis not installed.
See also