def get_range_indices(num):
    """
    Return indices and slices in given range.

    Returns
    -------
    indx : list of tuples
        The list of `(ii, slice(ii, ii + 1))` of the indices. The first
        item is the index itself, the second item is a convenience slice
        to index components of material parameters.
    """
    indx = [(ii, slice(ii, ii + 1)) for ii in range(num)]

    return indx