Add a time at the end of the time list.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Trajectory), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | t |
the time |
subroutine add_time(self, t) class(Trajectory), intent(inout) :: self real(wp), intent(in) :: t !! the time call grow_times(self, self%n_times + 1) self%n_times = self%n_times + 1 self%t(self%n_times) = t self%revision_ = self%revision_ + 1 end subroutine add_time