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
::
k
Source Code
pure function cell_area_weighted_sum(f,area,ng,nxp,nyp)result(total)!! `sum_k sum_ij f(i,j,k)*area(i,j)` over the physical interior.! assumed-shape-ok: host-side scalar diagnostic, not a device kernel.real(wp),intent(in)::f(:,:,:),area(:,:)integer,intent(in)::ng,nxp,nypreal(wp)::totalinteger::i,j,ktotal=0.0_wpdo k=1,size(f,3)do j=ng+1,ng+nypdo i=ng+1,ng+nxptotal=total+f(i,j,k)*area(i,j)end do end do end do end function cell_area_weighted_sum