11 |
I bi,bj,k, |
I bi,bj,k, |
12 |
I uFld, vFld, |
I uFld, vFld, |
13 |
O uMetricTerms, |
O uMetricTerms, |
14 |
I myThid) |
I myThid ) |
15 |
|
|
16 |
C !DESCRIPTION: |
C !DESCRIPTION: |
17 |
C Calculates the zonal metric term due to sphericity: |
C Calculates the zonal metric term due to sphericity: |
48 |
|
|
49 |
DO j=1-Olx,sNy+Oly-1 |
DO j=1-Olx,sNy+Oly-1 |
50 |
DO i=1-Olx+1,sNx+Olx |
DO i=1-Olx+1,sNx+Olx |
51 |
uMetricTerms(i,j) = |
uMetricTerms(i,j) = |
52 |
& uFld(i,j)*recip_RSphere |
& uFld(i,j)*recip_rSphere*recip_deepFacC(k) |
53 |
& *0.25*( vFld(i,j )+vFld(i-1,j ) |
& *0.25*( vFld(i,j )+vFld(i-1,j ) |
54 |
& +vFld(i,j+1)+vFld(i-1,j+1) |
& +vFld(i,j+1)+vFld(i-1,j+1) |
55 |
& )*_tanPhiAtU(i,j,bi,bj) |
& )*_tanPhiAtU(i,j,bi,bj) |