par_grid function

Parallelize spatial computation over the computational grids