private pure subroutine redi_budget_accumulate(nx, ny, nz, hTr, snap, budget)
budget += hTr - snap (device-side): book the realised Redi
increment of one budgeted tracer into its lateral-diffusion
budget accumulator (ms%salt_budget_hdiff / heat_budget_hdiff).
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
Source Code
pure subroutine redi_budget_accumulate(nx,ny,nz,hTr,snap,budget)!! `budget += hTr - snap` (device-side): book the realised Redi!! increment of one budgeted tracer into its lateral-diffusion!! budget accumulator (`ms%salt_budget_hdiff` / `heat_budget_hdiff`).integer,intent(in)::nx,ny,nzreal(wp),intent(in)::hTr(nx,ny,nz)real(wp),intent(in)::snap(nx,ny,nz)real(wp),intent(inout)::budget(nx,ny,nz)integer::i,j,kdoconcurrent(k=1:nz,j=1:ny,i=1:nx)budget(i,j,k)=budget(i,j,k)+(hTr(i,j,k)-snap(i,j,k))end do end subroutine redi_budget_accumulate