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
real(kind=wp),
private
::
ueddy
Source Code
pure subroutine meke_kh_closure(nx,ny,khcoeff,barotr_fac2,meke,le,kh_diff)!! Derived diffusivity `kh = khcoeff*sqrt(2*max(0,gamma_t2*E))*Lmix`.!! `khcoeff<=0` ⇒ kh left at 0.integer,intent(in)::nx,nyreal(wp),intent(in)::khcoeffreal(wp),intent(in)::barotr_fac2(nx,ny)real(wp),intent(in)::meke(nx,ny)real(wp),intent(in)::le(nx,ny)real(wp),intent(out)::kh_diff(nx,ny)integer::i,jreal(wp)::ueddydoconcurrent(j=1:ny,i=1:nx)local(ueddy)if(khcoeff>0.0_wp)thenueddy=sqrt(2.0_wp*max(0.0_wp,barotr_fac2(i,j)*meke(i,j)))kh_diff(i,j)=khcoeff*ueddy*le(i,j)elsekh_diff(i,j)=0.0_wpend if end do end subroutine meke_kh_closure