Pointer to the times (num_times), without copying.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Trajectory), | intent(in), | target | :: | self | ||
| real(kind=wp), | intent(out), | dimension(:), pointer | :: | t |
(num_times): times (null if none) |
subroutine times(self, t) class(Trajectory), intent(in), target :: self real(wp), dimension(:), pointer, intent(out) :: t !! (num_times): times (null if none) if (self%n_times == 0) then t => null() else t => self%t(1:self%n_times) end if end subroutine times