20 |
#include "GRID.h" |
#include "GRID.h" |
21 |
|
|
22 |
C == Routine Arguments == |
C == Routine Arguments == |
23 |
C phiHyd - Hydrostatic pressure (ocean) or geopotentiel (atmos) |
C phiHyd - Hydrostatic Potential (ocean: pressure/rho) |
24 |
|
C (atmos: geopotentiel) |
25 |
C phiSurfX, - gradient of Surface potentiel (Pressure/rho, ocean) |
C phiSurfX, - gradient of Surface potentiel (Pressure/rho, ocean) |
26 |
C phiSurfY or geopotentiel (atmos) in X and Y direction |
C phiSurfY or geopotentiel (atmos) in X and Y direction |
27 |
INTEGER bi,bj,iMin,iMax,jMin,jMax |
INTEGER bi,bj,iMin,iMax,jMin,jMax |
61 |
|
|
62 |
IF (staggerTimeStep) THEN |
IF (staggerTimeStep) THEN |
63 |
C-- -grad Phi_Hyd has not been incorporated to gU and is added here: |
C-- -grad Phi_Hyd has not been incorporated to gU and is added here: |
64 |
phxFac = pfFacMom*deltaTmom*recip_rhoConst |
phxFac = pfFacMom*deltaTmom |
65 |
DO j=jMin,jMax |
DO j=jMin,jMax |
66 |
DO i=iMin,iMax |
DO i=iMin,iMax |
67 |
gUNm1(i,j,k,bi,bj)=gUNm1(i,j,k,bi,bj) |
gUNm1(i,j,k,bi,bj)=gUNm1(i,j,k,bi,bj) |
88 |
|
|
89 |
IF (staggerTimeStep) THEN |
IF (staggerTimeStep) THEN |
90 |
C-- -grad Phi_Hyd has not been incorporated to gV and is added here: |
C-- -grad Phi_Hyd has not been incorporated to gV and is added here: |
91 |
phyFac = pfFacMom*deltaTmom*recip_rhoConst |
phyFac = pfFacMom*deltaTmom |
92 |
DO j=jMin,jMax |
DO j=jMin,jMax |
93 |
DO i=iMin,iMax |
DO i=iMin,iMax |
94 |
gVNm1(i,j,k,bi,bj)=gVNm1(i,j,k,bi,bj) |
gVNm1(i,j,k,bi,bj)=gVNm1(i,j,k,bi,bj) |