Back to OASIS4 home
Routine psmile_mg_method_gauss2_dble (grid_id, method_id, found, loc,
virtual_cell, range, nbr_lats, points_per_lat, g_irange, coords1,
coords2, &
shape1, shape2, control, x_coords_local, y_coords_local, coords_shape,
grid_valid_shape, star, face, tol, ierror)
Subroutine "PSMILe_mg_method_gauss2_dble" searches the
corresponding lower left source points of the method (grid) for the
subgrid coords by the sending target process.
Example 4 : here
Once that the search has found in which cell the target point falls, it
is necessary to find the closest lower left source point to find the X
neighbours.
It is done by constructing the method grid from the real points of the
gaussian reduced grid in this part with the virtual cells for the
domain limits.
The halos (or virtual cells) of the method grid that is used were
stored in psmile_gauss_set_up_dble in
Methods(method_id)%gauss2_dble(1)%vector(:) and
Methods(method_id)%gauss2_dble(2)%vector(:)