21 integer,
intent(in) :: nx
22 integer,
intent(in) :: ny
23 real(kind=kind_real),
intent(out) :: v(nx,ny,2)
24 real(kind=kind_real),
intent(in) :: x(nx,ny,2)
25 real(kind=kind_real),
intent(in) :: deltax
27 v(1:nx-1,:,:) = (0.5_kind_real/deltax)*x(2:nx,:,:)
28 v(nx ,:,:) = (0.5_kind_real/deltax)*x(1 ,:,:)
29 v(2:nx ,:,:) = v(2:nx,:,:) - (0.5_kind_real/deltax)*x(1:nx-1,:,:)
30 v(1 ,:,:) = v(1 ,:,:) - (0.5_kind_real/deltax)*x(nx ,:,:)
subroutine meridional_wind(v, x, nx, ny, deltax)
Calculate meridional wind component from the streamfunction.