def col_indices(self): """The column indices of the global array local to the process. """ return blockcyclic.indices_rc(self.global_shape[1], self.block_shape[1], self.context.grid_position[1], self.context.grid_shape[1])
def row_indices(self): """The row indices of the global array local to the process. """ return blockcyclic.indices_rc(self.global_shape[0], self.block_shape[0], self.context.grid_position[0], self.context.grid_shape[0])