set_time_range Subroutine

private subroutine set_time_range(self, t_min, t_max)

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 Bound

TimeHandle

Arguments

Type IntentOptional 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


Calls

proc~~set_time_range~2~~CallsGraph proc~set_time_range~2 TimeHandle%set_time_range proc~set_time~2 TimeHandle%set_time proc~set_time_range~2->proc~set_time~2 position position proc~set_time~2->position proc~set_position~2 ReferenceFrame%set_position proc~set_time~2->proc~set_position~2 proc~next_motion_stamp next_motion_stamp proc~set_position~2->proc~next_motion_stamp

Source Code

    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