49 INTEGER,
INTENT(IN) :: I,JJ
51 REAL(SP) :: DELTX,DELTY,ALPHA1
53 REAL(SP),
INTENT(OUT):: UAKK,VAKK
55 uakk = 0.0_sp; vakk = 0.0_sp
58 j1 = jj+1-int((jj+1)/4)*3
59 j2 = jj+2-int((jj+2)/4)*3
63 alpha1 = atan2(delty,deltx)
65 utmp =
ua(i)*cos(alpha1)+
va(i)*sin(alpha1)
66 vtmp = -
ua(i)*sin(alpha1)+
va(i)*cos(alpha1)
71 uakk = utmp*cos(alpha1)-vtmp*sin(alpha1)
72 vakk = utmp*sin(alpha1)+vtmp*cos(alpha1)
73 ELSE IF(
isbce(i) == 2)
THEN 91 INTEGER,
INTENT(IN) :: I,JJ
93 REAL(SP) :: DELTX,DELTY,ALPHA1
95 REAL(SP),
INTENT(OUT):: UAKK(KB),VAKK(KB)
97 uakk = 0.0_sp; vakk = 0.0_sp
100 j1 = jj+1-int((jj+1)/4)*3
101 j2 = jj+2-int((jj+2)/4)*3
105 alpha1 = atan2(delty,deltx)
108 utmp =
u(i,k)*cos(alpha1)+
v(i,k)*sin(alpha1)
109 vtmp = -
u(i,k)*sin(alpha1)+
v(i,k)*cos(alpha1)
114 uakk(k) = utmp*cos(alpha1)-vtmp*sin(alpha1)
115 vakk(k) = utmp*sin(alpha1)+vtmp*cos(alpha1)
118 ELSE IF(
isbce(i) == 2)
THEN real(sp), dimension(:), allocatable, target va
subroutine ghostuv2(I, JJ, UAKK, VAKK)
real(sp), dimension(:,:), allocatable, target v
subroutine ghostuv3(I, JJ, UAKK, VAKK)
real(sp), dimension(:,:), allocatable, target u
real(sp), dimension(:), allocatable, target vx
real(sp), dimension(:), allocatable, target vy
integer, dimension(:,:), allocatable, target nv
real(sp), dimension(:), allocatable, target ua
integer, dimension(:), allocatable, target isbce