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.
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
real(kind=wp),
private
::
sfac
Source Code
pure subroutine drain_avail_scale_y(nx,ny,nz,scratch,vhtr)!! Meridional analogue of drain_avail_scale_x. Face j between cell!! (j-1) and cell (j): vhtr(j)>0 ⇒ receiver j, vhtr(j)<0 ⇒ receiver j-1.integer,intent(in)::nx,ny,nzreal(wp),intent(in)::scratch(nx,ny,nz)real(wp),intent(inout)::vhtr(nx,ny+1,nz)integer::i,j,kreal(wp)::sfacdoconcurrent(k=1:nz,j=2:ny,i=1:nx)local(sfac)if(vhtr(i,j,k)>0.0_wp)thensfac=scratch(i,j,k)else if(vhtr(i,j,k)<0.0_wp)thensfac=scratch(i,j-1,k)elsesfac=1.0_wpend ifvhtr(i,j,k)=vhtr(i,j,k)*sfacend do end subroutine drain_avail_scale_y