par_grid_mirai function

Parallelize spatial computation over the computational grids