Color i ([r, g, b, a]).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Trajectory), | intent(in) | :: | self | |||
| integer, | intent(in) | :: | i |
the color (1 to num_colors) |
pure function color(self, i) result(c) class(Trajectory), intent(in) :: self integer, intent(in) :: i !! the color (1 to num_colors) real(wp) :: c(4) c = real(self%col(:, i), wp) end function color