diff --git a/sumpy/tools.py b/sumpy/tools.py index 5b4c8c8785af471fc632f579c7058562ef25cbd9..ee34abf2a3e299aa883b42091545cdb9d3f534ca 100644 --- a/sumpy/tools.py +++ b/sumpy/tools.py @@ -312,18 +312,18 @@ def _to_host(x, queue=None): class BlockIndexRanges(object): - """Convenience class for working with block indices. + """Convenience class for working with blocks of a global array. .. attribute:: indices - A list of not necessarily continuous integers representing all the - indices making up a block (or range) of a global array. The individual - blocks are delimited using :attr:`ranges`. + A list of not necessarily continuous or increasing integers + representing the indices of a global array. The individual blocks are + delimited using :attr:`ranges`. .. attribute:: ranges A list of nondecreasing integers used to index into :attr:`indices`. - A block (or range) :math:`i` can be retrieved using + A block :math:`i` can be retrieved using `indices[ranges[i]:ranges[i + 1]]`. .. automethod:: block_shape