Return the URL of a colormap by its index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Colormaps_info), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | idx |
pure function get_url(this, idx) result(url) class(Colormaps_info), intent(in) :: this integer, intent(in) :: idx character(colormap_name_length) :: url url = trim(this%colormaps(idx)%url) end function get_url