GMRES metadata.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | converged | = | .false. |
Convergence flag. |
|
integer, | public | :: | info | = | 0 |
Copy of the information flag for completeness. |
|
integer, | public | :: | n_inner | = | 0 |
Number of inner iterations. |
|
integer, | public | :: | n_iter | = | 0 |
Total iteration counter. |
|
integer, | public | :: | n_outer | = | 0 |
Number of outer iterations (i.e. restarts) |
|
real(kind=dp), | public, | dimension(:), allocatable | :: | res |
Residual history. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(gmres_dp_metadata), | intent(inout) | :: | self | |||
logical, | intent(in), | optional | :: | reset_counters |
Reset all counters to zero after printing? |
|
logical, | intent(in), | optional | :: | verbose |
Print the full residual history? |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(gmres_dp_metadata), | intent(inout) | :: | self |
type, extends(abstract_metadata), public :: gmres_dp_metadata !! GMRES metadata. integer :: n_iter = 0 !! Total iteration counter. integer :: n_inner = 0 !! Number of inner iterations. integer :: n_outer = 0 !! Number of outer iterations (i.e. restarts) real(dp), dimension(:), allocatable :: res !! Residual history. logical :: converged = .false. !! Convergence flag. integer :: info = 0 !! Copy of the information flag for completeness. contains procedure, pass(self), public :: print => print_gmres_dp procedure, pass(self), public :: reset => reset_gmres_dp end type gmres_dp_metadata