time Function

private pure function time(self, i)

Time i.

Type Bound

Trajectory

Arguments

Type IntentOptional Attributes Name
class(Trajectory), intent(in) :: self
integer, intent(in) :: i

the time (1 to num_times)

Return Value real(kind=wp)


Source Code

    pure real(wp) function time(self, i)
        class(Trajectory), intent(in) :: self
        integer, intent(in) :: i                            !! the time (1 to num_times)
        time = self%t(i)
    end function time