Takes the extent of the tiles and returns a list of which tiles to do.

task_work(tile_cnt)

Arguments

tile_cnt

The tile_cnt from the plan from plan_domain_decomposition.

Value

An array that's 2 x the number of tiles. It's row, col. Assumes that all work is done by the same process. This orders the work so that it uses cache better.