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
::
nx
integer,
private
::
ny
Source Code
subroutine supergrid_ghost_fill_2d(arr,grid)!! Fill ghost rows/columns by constant extrapolation, for a T-point!! array `(nx_total, ny_total)`. Interior = `[ng+1, ng+ni]` x!! `[ng+1, ng+nj]`.real(wp),intent(inout)::arr(:,:)type(hgrid_t),intent(in)::gridinteger::ng,nx,ny,i,jng=grid%nghostnx=grid%nx_physny=grid%ny_physdo j=1,size(arr,2)do i=1,ngarr(i,j)=arr(ng+1,j)! westarr(ng+nx+i,j)=arr(ng+nx,j)! eastend do end do do j=1,ngdo i=1,size(arr,1)arr(i,j)=arr(i,ng+1)! southarr(i,ng+ny+j)=arr(i,ng+ny)! northend do end do end subroutine supergrid_ghost_fill_2d