88 |
|
|
89 |
C dfdy :: gradient of the Coriolis paramter, df/dy, 1/(m*s) |
C dfdy :: gradient of the Coriolis paramter, df/dy, 1/(m*s) |
90 |
C dfdx :: gradient of the Coriolis paramter, df/dx, 1/(m*s) |
C dfdx :: gradient of the Coriolis paramter, df/dx, 1/(m*s) |
91 |
C gradf :: total gradient of the Coriolis paramter, SQRT(df/dx**2+df/dy**2), 1/(m*s) |
C gradf :: gradient of the Coriolis paramter at a cell centre, 1/(m*s) |
92 |
C RRhines :: The Rhines scale (m) |
C RRhines :: The Rhines scale (m) |
93 |
C Rmix :: Mixing length |
C Rmix :: Mixing length |
94 |
C N2 :: Square of the buoyancy frequency (1/s**2) |
C N2 :: Square of the buoyancy frequency (1/s**2) |
250 |
ENDDO |
ENDDO |
251 |
DO j=1-Oly,sNy+Oly |
DO j=1-Oly,sNy+Oly |
252 |
DO i=1-Olx,sNx+Olx |
DO i=1-Olx,sNx+Olx |
253 |
gradf(i,j) = SQRT( dfdx(i,j)**2 + dfdy(i,j)**2 ) |
gradf(i,j) = recip_rSphere*fCoriCos(i,j,bi,bj) |
254 |
ENDDO |
ENDDO |
255 |
ENDDO |
ENDDO |
256 |
|
|
413 |
C bottom then give the eady growth rate a dummy, non-zero value |
C bottom then give the eady growth rate a dummy, non-zero value |
414 |
C to avoid floating point exceptions. These points are taken care |
C to avoid floating point exceptions. These points are taken care |
415 |
C of by setting K3D=GM_K3D_smallK later. |
C of by setting K3D=GM_K3D_smallK later. |
416 |
IF (kLow_C(i,j).NE.0 |
IF (-r_Low(i,j,bi,bj).LE.GM_K3D_EadyMinDepth) THEN |
|
& .AND. -r_Low(i,j,bi,bj).LT.GM_K3D_EadyMinDepth) THEN |
|
417 |
eady(i,j) = small |
eady(i,j) = small |
418 |
|
|
419 |
C Otherwise, multiply eady by the various constants to get the |
C Otherwise, multiply eady by the various constants to get the |
468 |
DO j=1-Oly,sNy+Oly |
DO j=1-Oly,sNy+Oly |
469 |
DO i=1-Olx,sNx+Olx |
DO i=1-Olx,sNx+Olx |
470 |
IF (k.LE.kLow_C(i,j)) THEN |
IF (k.LE.kLow_C(i,j)) THEN |
471 |
IF (-r_Low(i,j,bi,bj).LT.GM_K3D_EadyMinDepth) THEN |
IF (-r_Low(i,j,bi,bj).LE.GM_K3D_EadyMinDepth) THEN |
472 |
K3D(i,j,k,bi,bj) = GM_K3D_smallK |
K3D(i,j,k,bi,bj) = GM_K3D_smallK |
473 |
ELSE |
ELSE |
474 |
IF (urms(i,j,k).EQ.0.0) THEN |
IF (urms(i,j,k).EQ.0.0) THEN |