Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
This routine computes the spatial average value of .
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,
public
::
ioff
integer,
public
::
iyoff
integer,
public
::
jx
integer,
public
::
jy
real(kind=rk),
public
::
total
Source Code
pure subroutine c1_average(c,c1ave)!! This routine computes the spatial average value of \(c_1\).use web_par,only:mx,my,ns,mxnsreal(rk),intent(in)::c(*)real(rk),intent(out)::c1aveinteger::ioff,iyoff,jx,jyreal(rk)::totaltotal=zerodo jy=1,myiyoff=mxns*(jy-1)do jx=1,mxioff=iyoff+ns*(jx-1)total=total+c(ioff+1)end do end doc1ave=total/(mx*my)end subroutine c1_average