Back to OASIS4 home

Routine psmile_get_halo_indices (comp_id, grid_id_list, ierror)
Subroutine "PSMILe_get_halo_indices" exchanges halo points of with neighbour processes. Relevent on source processes only.

Calculates the total number of halos that will be calculated or exchanged in psmile_get_halo_points.

the halos can be calculated if the grid is mono block and that halos were given by the user in the actual_shape.
the halos need to be exchanged if the grid is multi block or if no halos were given by the user in the actual_shape.