Module for creating and using iteration arrays
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public, | dimension(:), allocatable | :: | idx | Current iteration index |
||
| integer, | public, | dimension(:), allocatable | :: | N | Iteration limits |
||
| real(kind=wp), | public, | dimension(:), allocatable | :: | lB | Lower bounds for real conversion |
||
| real(kind=wp), | public, | dimension(:), allocatable | :: | hB | Upper bounds for real conversion |
||
| logical, | public | :: | isDone | = | .false. | Completion state flag |
| procedure, public :: next | |
| procedure, public :: getReals | |
| procedure, public :: getInt | |
| procedure, public :: setInt | |
| procedure, public :: getProgress |
Create a new iterator_t object
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in), | dimension(:) | :: | N | Number of steps in each dimension |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | lB | Lower bounds in each dimension for real conversion |
|
| real(kind=wp), | intent(in), | dimension(:) | :: | hB | Upper bounds in each dimension for real conversion |
New iterator object