The times a drag may reach (t_min <= t_max; else swapped); the handle's time brought within them. Taken at the next grab.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TimeHandle), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | t_min |
the earliest and latest times |
||
| real(kind=wp), | intent(in) | :: | t_max |
the earliest and latest times |
subroutine set_time_range(self, t_min, t_max) class(TimeHandle), intent(inout) :: self real(wp), intent(in) :: t_min, t_max !! the earliest and latest times self%t_min = min(t_min, t_max) self%t_max = max(t_min, t_max) call self%set_time(self%time_) end subroutine set_time_range