/[MITgcm]/MITgcm/model/src/dynamics.F
ViewVC logotype

Diff of /MITgcm/model/src/dynamics.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.109 by heimbach, Thu Sep 23 17:48:24 2004 UTC revision 1.111 by jmc, Thu Dec 16 23:20:06 2004 UTC
# Line 134  C     phiHydF    :: hydrostatic potentia Line 134  C     phiHydF    :: hydrostatic potentia
134  C     dPhiHydX,Y :: Gradient (X & Y directions) of hydrostatic potential anom.  C     dPhiHydX,Y :: Gradient (X & Y directions) of hydrostatic potential anom.
135  C     phiSurfX,  ::  gradient of Surface potential (Pressure/rho, ocean)  C     phiSurfX,  ::  gradient of Surface potential (Pressure/rho, ocean)
136  C     phiSurfY             or geopotential (atmos) in X and Y direction  C     phiSurfY             or geopotential (atmos) in X and Y direction
137    C     guDissip   :: dissipation tendency (all explicit terms), u component
138    C     gvDissip   :: dissipation tendency (all explicit terms), v component
139  C     iMin, iMax     - Ranges and sub-block indices on which calculations  C     iMin, iMax     - Ranges and sub-block indices on which calculations
140  C     jMin, jMax       are applied.  C     jMin, jMax       are applied.
141  C     bi, bj  C     bi, bj
# Line 148  C                      index into fVerTe Line 150  C                      index into fVerTe
150        _RL dPhiHydY(1-Olx:sNx+Olx,1-Oly:sNy+Oly)        _RL dPhiHydY(1-Olx:sNx+Olx,1-Oly:sNy+Oly)
151        _RL phiSurfX(1-OLx:sNx+OLx,1-OLy:sNy+OLy)        _RL phiSurfX(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
152        _RL phiSurfY(1-OLx:sNx+OLx,1-OLy:sNy+OLy)        _RL phiSurfY(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
153          _RL guDissip(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
154          _RL gvDissip(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
155        _RL KappaRU (1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr)        _RL KappaRU (1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr)
156        _RL KappaRV (1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr)        _RL KappaRV (1-Olx:sNx+Olx,1-Oly:sNy+Oly,Nr)
157    
# Line 278  cph) Line 282  cph)
282            dPhiHydY(i,j)  = 0. _d 0            dPhiHydY(i,j)  = 0. _d 0
283            phiSurfX(i,j)  = 0. _d 0            phiSurfX(i,j)  = 0. _d 0
284            phiSurfY(i,j)  = 0. _d 0            phiSurfY(i,j)  = 0. _d 0
285              guDissip(i,j)  = 0. _d 0
286              gvDissip(i,j)  = 0. _d 0
287           ENDDO           ENDDO
288          ENDDO          ENDDO
289    
# Line 375  C        and step forward storing the re Line 381  C        and step forward storing the re
381       I         bi,bj,iMin,iMax,jMin,jMax,k,kup,kDown,       I         bi,bj,iMin,iMax,jMin,jMax,k,kup,kDown,
382       I         dPhiHydX,dPhiHydY,KappaRU,KappaRV,       I         dPhiHydX,dPhiHydY,KappaRU,KappaRV,
383       U         fVerU, fVerV,       U         fVerU, fVerV,
384         O         guDissip, gvDissip,
385       I         myTime, myIter, myThid)       I         myTime, myIter, myThid)
386  #endif  #endif
387             CALL TIMESTEP(             CALL TIMESTEP(
388       I         bi,bj,iMin,iMax,jMin,jMax,k,       I         bi,bj,iMin,iMax,jMin,jMax,k,
389       I         dPhiHydX,dPhiHydY, phiSurfX, phiSurfY,       I         dPhiHydX,dPhiHydY, phiSurfX, phiSurfY,
390         I         guDissip, gvDissip,
391       I         myTime, myIter, myThid)       I         myTime, myIter, myThid)
392    
393  #ifdef   ALLOW_OBCS  #ifdef   ALLOW_OBCS
# Line 412  CADJ STORE gU(:,:,:,bi,bj) = comlev1_bib Line 420  CADJ STORE gU(:,:,:,bi,bj) = comlev1_bib
420  #endif    /* ALLOW_AUTODIFF_TAMC */  #endif    /* ALLOW_AUTODIFF_TAMC */
421            CALL IMPLDIFF(            CALL IMPLDIFF(
422       I         bi, bj, iMin, iMax, jMin, jMax,       I         bi, bj, iMin, iMax, jMin, jMax,
423       I         deltaTmom, KappaRU,recip_HFacW,       I         0, KappaRU,recip_HFacW,
424       U         gU,       U         gU,
425       I         myThid )       I         myThid )
426  #ifdef    ALLOW_AUTODIFF_TAMC  #ifdef    ALLOW_AUTODIFF_TAMC
# Line 421  CADJ STORE gV(:,:,:,bi,bj) = comlev1_bib Line 429  CADJ STORE gV(:,:,:,bi,bj) = comlev1_bib
429  #endif    /* ALLOW_AUTODIFF_TAMC */  #endif    /* ALLOW_AUTODIFF_TAMC */
430            CALL IMPLDIFF(            CALL IMPLDIFF(
431       I         bi, bj, iMin, iMax, jMin, jMax,       I         bi, bj, iMin, iMax, jMin, jMax,
432       I         deltaTmom, KappaRV,recip_HFacS,       I         0, KappaRV,recip_HFacS,
433       U         gV,       U         gV,
434       I         myThid )       I         myThid )
435          ENDIF          ENDIF
# Line 442  CADJ STORE vVelD(:,:,:,bi,bj) = comlev1_ Line 450  CADJ STORE vVelD(:,:,:,bi,bj) = comlev1_
450  #endif    /* ALLOW_AUTODIFF_TAMC */  #endif    /* ALLOW_AUTODIFF_TAMC */
451            CALL IMPLDIFF(            CALL IMPLDIFF(
452       I         bi, bj, iMin, iMax, jMin, jMax,       I         bi, bj, iMin, iMax, jMin, jMax,
453       I         deltaTmom, KappaRU,recip_HFacW,       I         0, KappaRU,recip_HFacW,
454       U         vVelD,       U         vVelD,
455       I         myThid )       I         myThid )
456  #ifdef    ALLOW_AUTODIFF_TAMC  #ifdef    ALLOW_AUTODIFF_TAMC
# Line 450  CADJ STORE uVelD(:,:,:,bi,bj) = comlev1_ Line 458  CADJ STORE uVelD(:,:,:,bi,bj) = comlev1_
458  #endif    /* ALLOW_AUTODIFF_TAMC */  #endif    /* ALLOW_AUTODIFF_TAMC */
459            CALL IMPLDIFF(            CALL IMPLDIFF(
460       I         bi, bj, iMin, iMax, jMin, jMax,       I         bi, bj, iMin, iMax, jMin, jMax,
461       I         deltaTmom, KappaRV,recip_HFacS,       I         0, KappaRV,recip_HFacS,
462       U         uVelD,       U         uVelD,
463       I         myThid )       I         myThid )
464          ENDIF          ENDIF

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.111

  ViewVC Help
Powered by ViewVC 1.1.22