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
real(kind=wp),
private
::
dnom
Source Code
pure function ks_src_func(ri_crit,shearmix_rate,fri_curvature,n2,s2)&result(ksrc)!! Shear-source function K_src at one interface (JHL08 eq. for the!! source term): nonzero only where N^2 < Ri_c * S^2.!$acc routine seqreal(wp),intent(in)::ri_crit,shearmix_rate,fri_curvature,n2,s2real(wp)::ksrcreal(wp)::dnomksrc=0.0_wpif(n2<ri_crit*s2)thendnom=ri_crit*s2+fri_curvature*n2if(dnom/=0.0_wp.and.s2>0.0_wp)thenksrc=2.0_wp*shearmix_rate*sqrt(s2)*(ri_crit*s2-n2)/dnomend if end if end function ks_src_func