public subroutine accel_visc_rem_snapshot(n1, n2, n3, vel, snap)
accel_visc_rem stage-entry snapshot: snap = vel, device-side.
Public only for the unit-test suite. Under mem:separate this
do concurrent runs on the device-resident arrays in production
(both are mapped on the ocean state); unit tests must map their
own arrays explicitly (!$acc enter data copyin / update self).
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
subroutine accel_visc_rem_snapshot(n1,n2,n3,vel,snap)!! accel_visc_rem stage-entry snapshot: `snap = vel`, device-side.!! Public only for the unit-test suite. Under `mem:separate` this!! `do concurrent` runs on the device-resident arrays in production!! (both are mapped on the ocean state); unit tests must map their!! own arrays explicitly (`!$acc enter data copyin` / `update self`).integer,intent(in)::n1,n2,n3real(wp),intent(in)::vel(n1,n2,n3)real(wp),intent(out)::snap(n1,n2,n3)integer::i,j,kdoconcurrent(k=1:n3,j=1:n2,i=1:n1)snap(i,j,k)=vel(i,j,k)end do end subroutine accel_visc_rem_snapshot