Every int(spacing)-th point after the first, before the last.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(MarkerArtist), | intent(inout) | :: | self | |||
| integer, | intent(in) | :: | n |
the points |
subroutine intermediates_by_data(self, n) type(MarkerArtist), intent(inout) :: self integer, intent(in) :: n !! the points integer :: step, i step = max(1, int(self%spacing_)) if (self%next_index == 0) self%next_index = 1 + step do while (self%next_index < n) i = counted(self, self%next_index, n) call push_intermediate(self, art_point(self, i, self%sources_), self%traj%time(i)) self%next_index = self%next_index + step end do end subroutine intermediates_by_data