Back to OASIS4 home

Routine psmile_search_donor_gridless (comp_info, search, field_list, n_vars, grid_id, method_id, var_id, ierror)
Subroutine "PSMILe_Search_donor_gridless" determines the donor cells if the source and target grid of type "PRISM_Gridless".
Grids of type "PRISM_Gridless" are transferring the data always directly between the MPI processes.
Only the mask is sent for exchanges between gridless grids.

=> call  psmile_is_mask_defined
=> call psmile_locations_direct
the informations to be sent are contained in Method(method_id)%send_infos_direct
they are stored mostly in psmile_locations_direct
=> call psmile_store_send_info
=> call psmile_return_locations_3d
returns the data on locations found for the method (grid) and the subgrid coords to the sending process "sender" (psmile_send_destinations)
                    the data is received by routine "PSMILe_Get_locations_3d" in sending process.
=> call psmile_get_next_field