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
::
dn
real(kind=wp),
private
::
ds
integer,
private
::
im
integer,
private
::
ip
Source Code
pure function varmix_dfdx_vface(f_centre,nx,ny,i,j,idx)result(dfdx)!! Cross-face df/dx at a v-face (j interior): average of the centred!! x-derivatives in the south (j-1) and north (j) rows.integer,intent(in)::nx,ny,i,jreal(wp),intent(in)::f_centre(nx,ny)real(wp),intent(in)::idxreal(wp)::dfdx,ds,dninteger::im,ipim=max(i-1,1)ip=min(i+1,nx)if(ip==im)thendfdx=0.0_wpreturn end ifds=(f_centre(ip,j-1)-f_centre(im,j-1))/real(ip-im,wp)*idxdn=(f_centre(ip,j)-f_centre(im,j))/real(ip-im,wp)*idxdfdx=0.5_wp*(ds+dn)end function varmix_dfdx_vface