The keyword argument krylov_tol_abs is passed as tol_abs to newton_krylov!, see
https://github.com/NumericalMathematics/Ariadne.jl/blob/9b8bfdf09f9cb7f6100dbe75cd818be897859124/libs/Theseus/src/dirk/dirk.jl#L254C72-L254C86
|
algo = integrator.opts.algo, tol_abs = integrator.opts.krylov_tol_abs |
I just realized while working with the code today that this is a bit confusing because it does not set an argument of the Krylov solver (:gmres by default), but of the overall Newton solver. See
|
tol_abs = 1.0e-12, # Scipy uses 6e-6 |
Moreover, there is no option to pass tol_rel which may be handy.
The keyword argument
krylov_tol_absis passed astol_abstonewton_krylov!, seehttps://github.com/NumericalMathematics/Ariadne.jl/blob/9b8bfdf09f9cb7f6100dbe75cd818be897859124/libs/Theseus/src/dirk/dirk.jl#L254C72-L254C86
Ariadne.jl/libs/Theseus/src/imex/imex.jl
Line 258 in 9b8bfdf
I just realized while working with the code today that this is a bit confusing because it does not set an argument of the Krylov solver (
:gmresby default), but of the overall Newton solver. SeeAriadne.jl/src/Ariadne.jl
Line 357 in 9b8bfdf
Moreover, there is no option to pass
tol_relwhich may be handy.