Distances s(n) into d(high/low, n).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | s(:) |
(n) |
||
| real(kind=c_float), | intent(inout) | :: | d(:,:) |
(2, n) |
pure subroutine split_distances(s, d) real(wp), intent(in) :: s(:) !! (n) real(c_float), intent(inout) :: d(:,:) !! (2, n) d(1, :) = real(s, c_float) d(2, :) = real(s - real(d(1, :), wp), c_float) end subroutine split_distances