private pure subroutine hvisc_fill_A_scalar(ah_t, ah_q, nu_h, nx, ny, nz)
Fill the T-cell and corner harmonic-viscosity fields with the
scalar nu_h (no flow-aware closure active). Constant ⇒ the
T/corner averaging is exact, so the all-wet uniform-h reduction
to the velocity Laplacian holds bit-for-bit.
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 hvisc_fill_A_scalar(ah_t,ah_q,nu_h,nx,ny,nz)!! Fill the T-cell and corner harmonic-viscosity fields with the!! scalar `nu_h` (no flow-aware closure active). Constant ⇒ the!! T/corner averaging is exact, so the all-wet uniform-h reduction!! to the velocity Laplacian holds bit-for-bit.integer,intent(in)::nx,ny,nzreal(wp),intent(out)::ah_t(nx,ny,nz),ah_q(nx+1,ny+1,nz)real(wp),intent(in)::nu_hinteger::i,j,kdoconcurrent(k=1:nz,j=1:ny,i=1:nx)ah_t(i,j,k)=nu_hend do doconcurrent(k=1:nz,j=1:ny+1,i=1:nx+1)ah_q(i,j,k)=nu_hend do end subroutine hvisc_fill_A_scalar