Skip to content

Consider renaming krylov_tol_abs to newton_tol_abs and add newton_tol_rel #74

@ranocha

Description

@ranocha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions