set_offset_time Subroutine

private subroutine set_offset_time(self, offset)

Follow at the simulation time plus offset (the default, offset 0).

Type Bound

TrajectoryFollower

Arguments

Type IntentOptional Attributes Name
class(TrajectoryFollower), intent(inout) :: self
real(kind=wp), intent(in) :: offset

added to the simulation time (s)


Calls

proc~~set_offset_time~~CallsGraph proc~set_offset_time TrajectoryFollower%set_offset_time proc~next_motion_stamp next_motion_stamp proc~set_offset_time->proc~next_motion_stamp

Source Code

    subroutine set_offset_time(self, offset)
        class(TrajectoryFollower), intent(inout) :: self
        real(wp), intent(in) :: offset      !! added to the simulation time (s)
        self%time_value = offset
        self%follow_time = .true.
        self%stamp_ = next_motion_stamp()
    end subroutine set_offset_time