reads the "optimisation" flag
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(settings_type), | intent(inout) | :: | settings | |||
| integer, | intent(inout) | :: | optimisation | |||
| type(w90_error_type), | intent(out), | allocatable | :: | error | ||
| type(w90_comm_type), | intent(in) | :: | comm |
subroutine w90_readwrite_read_algorithm_control(settings, optimisation, error, comm) !! reads the "optimisation" flag use w90_error, only: w90_error_type implicit none integer, intent(inout) :: optimisation type(w90_comm_type), intent(in) :: comm type(w90_error_type), allocatable, intent(out) :: error type(settings_type), intent(inout) :: settings logical :: found call w90_readwrite_get_keyword(settings, 'optimisation', found, error, comm, & i_value=optimisation) if (allocated(error)) return end subroutine w90_readwrite_read_algorithm_control