South/north ghost rows of a T-array by periodic wrap (the y
analogue of metrics_periodic_x_2d). Only used by the land-mask
ghost fill; the metric tripolar path wraps x only.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
i
integer,
private
::
j
integer,
private
::
ng
integer,
private
::
nj
Source Code
subroutine metrics_periodic_y_2d(arr,grid)!! South/north ghost rows of a T-array by periodic wrap (the y!! analogue of `metrics_periodic_x_2d`). Only used by the land-mask!! ghost fill; the metric tripolar path wraps x only.real(wp),intent(inout)::arr(:,:)type(hgrid_t),intent(in)::gridinteger::ng,nj,i,jng=grid%nghostnj=grid%ny_physdo j=1,ngdo i=1,size(arr,1)arr(i,j)=arr(i,j+nj)arr(i,ng+nj+j)=arr(i,ng+j)end do end do end subroutine metrics_periodic_y_2d