gmres_sp_opts Derived Type

type, public, extends(abstract_opts) :: gmres_sp_opts

GMRES options.


Components

Type Visibility Attributes Name Initial
logical, public :: if_print_metadata = .false.

Print iteration metadata on exit (default: .false.).

integer, public :: kdim = 30

Dimension of the Krylov subspace (default: 30).

integer, public :: maxiter = 10

Maximum number of gmres restarts (default: 10).

logical, public :: sanity_check = .true.

Performs extra matrix-vector product for sanity check.


Source Code

    type, extends(abstract_opts), public :: gmres_sp_opts
        !! GMRES options.
        integer :: kdim = 30
        !! Dimension of the Krylov subspace (default: 30).
        integer :: maxiter = 10
        !! Maximum number of `gmres` restarts (default: 10).
        logical :: if_print_metadata = .false.
        !! Print iteration metadata on exit (default: .false.).
        logical :: sanity_check = .true.
        !! Performs extra matrix-vector product for sanity check.
    end type gmres_sp_opts