mo_grid: better implementation of closest_cell_id_by_axes for huge grids

Rework grid_closest_cell_id_by_axes to avoid large local/thread-private temporaries that caused failures on huge grids with OpenMP.

Edited by Sebastian Müller

Merge request reports

Loading