20 subroutine pv_operator (x,pv,nx,ny,F1,F2,deltax,deltay)
27 integer,
intent(in) :: nx
28 integer,
intent(in) :: ny
29 real(kind=kind_real),
intent(in) :: x(nx,ny,2)
30 real(kind=kind_real),
intent(out) :: pv(nx,ny,2)
31 real(kind=kind_real),
intent(in) :: F1
32 real(kind=kind_real),
intent(in) :: F2
33 real(kind=kind_real),
intent(in) :: deltax
34 real(kind=kind_real),
intent(in) :: deltay
38 call laplacian_2d (x(:,:,1),pv(:,:,1),nx,ny,deltax,deltay)
39 call laplacian_2d (x(:,:,2),pv(:,:,2),nx,ny,deltax,deltay)
43 pv(:,:,1) = pv(:,:,1) -f1*(x(:,:,1)-x(:,:,2))
44 pv(:,:,2) = pv(:,:,2) -f2*(x(:,:,2)-x(:,:,1))
subroutine pv_operator(x, pv, nx, ny, F1, F2, deltax, deltay)
Potential vorticity operator.
subroutine laplacian_2d(x, del2x, nx, ny, deltax, deltay)
Horizontal Laplacian operator.