16 integer,
intent(in) :: nx
17 integer,
intent(in) :: ny
18 real(kind=kind_real),
intent(inout) :: v(nx,ny,2)
19 real(kind=kind_real),
intent(inout) :: x(nx,ny,2)
20 real(kind=kind_real),
intent(in) :: deltax
22 x(nx ,:,:) = x(nx ,:,:) - (0.5_kind_real/deltax)*v(1 ,:,:)
23 x(1:nx-1,:,:) = x(1:nx-1,:,:) - (0.5_kind_real/deltax)*v(2:nx,:,:)
24 x(1 ,:,:) = x(1 ,:,:) + (0.5_kind_real/deltax)*v(nx ,:,:)
25 x(2:nx ,:,:) = x(2:nx,:,:) + (0.5_kind_real/deltax)*v(1:nx-1,:,:)
26 v(:,:,:) = 0.0_kind_real
subroutine meridional_wind_ad(v, x, nx, ny, deltax)
Calculate meridional wind component - Adjoint.