fgmres_sp_opts Derived Type

type, public, extends(abstract_opts) :: fgmres_sp_opts

FGMRES 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 fgmres restarts (default: 10).

logical, public :: sanity_check = .true.

Performs extra matrix-vector product for sanity check.


Source Code

    type, extends(abstract_opts), public :: fgmres_sp_opts
        !! FGMRES options.
        integer :: kdim = 30
        !! Dimension of the Krylov subspace (default: 30).
        integer :: maxiter = 10
        !! Maximum number of `fgmres` 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 fgmres_sp_opts