private pure subroutine copy_field_3d(src, dst, nx, ny, nz)
src -> dst flat copy on the device. Bare-array shim avoids
the deep struct deref inside do-concurrent (tracer hTr lives
in an array-of-derived-types registry).
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 copy_field_3d(src,dst,nx,ny,nz)!! src -> dst flat copy on the device. Bare-array shim avoids!! the deep struct deref inside do-concurrent (tracer hTr lives!! in an array-of-derived-types registry).integer,intent(in)::nx,ny,nzreal(wp),intent(in)::src(nx,ny,nz)real(wp),intent(out)::dst(nx,ny,nz)integer::i,j,kdoconcurrent(k=1:nz,j=1:ny,i=1:nx)dst(i,j,k)=src(i,j,k)end do end subroutine copy_field_3d