| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=psb_dpk_), | private | :: | delta | ||||
| integer, | private | :: | icurrent | ||||
| integer, | private | :: | nmax | ||||
| real(kind=psb_dpk_), | private | :: | tol |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(iterating), | intent(out) | :: | iter | |||
| character(len=*), | intent(in) | :: | input_file | |||
| character(len=*), | intent(in) | :: | sec | |||
| integer, | intent(in) | :: | itype |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(iterating), | intent(in) | :: | iter |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(iterating), | intent(in) | :: | iter |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(iterating) | :: | iter |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(iterating), | intent(in) | :: | iter |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(iterating) | :: | iter |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(iterating), | intent(in) | :: | iter | |||
| real(kind=psb_dpk_), | intent(in), | optional | :: | eps |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(iterating), | intent(in) | :: | iter |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(iterating), | intent(inout) | :: | iter |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(iterating), | intent(in) | :: | iter |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(iterating), | intent(inout) | :: | iter |
TYPE iterating
PRIVATE
INTEGER :: nmax
INTEGER :: icurrent
REAL(psb_dpk_) :: delta
REAL(psb_dpk_) :: tol
CONTAINS
PROCEDURE :: create_iterating ! Constructor
PROCEDURE :: nmax_, delta_, tol_
PROCEDURE :: current_iteration, next_iteration, previous_iteration
PROCEDURE :: stop_iterating
PROCEDURE, PRIVATE :: increment_iterating, reset_iterating
GENERIC, PUBLIC :: increment => increment_iterating
GENERIC, PUBLIC :: reset => reset_iterating
PROCEDURE, PRIVATE :: nemo_iterating_sizeof
GENERIC, PUBLIC :: nemo_sizeof => nemo_iterating_sizeof
END TYPE iterating