New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 32 for trunk/NEMO/OPA_SRC/TRA/traadv_cen2.F90 – NEMO

Ignore:
Timestamp:
2004-02-17T10:20:15+01:00 (20 years ago)
Author:
opalod
Message:

CT : UPDATE001 : First major NEMO update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRA/traadv_cen2.F90

    r3 r32  
    6363      !!        Part I : horizontal advection 
    6464      !!      * centered flux: 
    65       !!         * s-coordinate ('key_s_coord') or 
    66       !!         * z-coordinate with partial steps ('key_partial_steps'), 
     65      !!         * s-coordinate (lk_sco=T) or 
     66      !!         * z-coordinate with partial steps (lk_zps=T), 
    6767      !!        the vertical scale factors e3. are inside the derivatives: 
    6868      !!               zcenu = e2u*e3u  un  mi(tn) 
     
    7272      !!               zcenv = e1v  vn  mj(tn) 
    7373      !!      * upstream flux: 
    74       !!         * s-coordinate ('key_s_coord') or 
    75       !!         * z-coordinate with partial steps ('key_partial_steps') 
     74      !!         * s-coordinate (lk_sco=T) or 
     75      !!         * z-coordinate with partial steps (lk_zps=T) 
    7676      !!               zupsu = e2u*e3u  un  (tb(i) or tb(i-1) ) [un>0 or <0] 
    7777      !!               zupsv = e1v*e3v  vn  (tb(j) or tb(j-1) ) [vn>0 or <0] 
     
    8585      !!               zwy = zcofj * zupsv + (1-zcofj) * zcenv 
    8686      !!      * horizontal advective trend (divergence of the fluxes) 
    87       !!         * s-coordinate ('key_s_coord') or 
    88       !!         * z-coordinate with partial steps ('key_partial_steps') 
     87      !!         * s-coordinate (lk_sco=T) or 
     88      !!         * z-coordinate with partial steps (lk_zps=T) 
    8989      !!               zta = 1/(e1t*e2t*e3t) { di-1[zwx] + dj-1[zwy] } 
    9090      !!         * z-coordinate (default key), e3t=e3u=e3v: 
     
    180180      ! Advective bottom boundary layer  
    181181      ! ------------------------------- 
    182       zun(:,:,:) = un (:,:,:) - u_bbl(:,:,:) 
    183       zvn(:,:,:) = vn (:,:,:) - v_bbl(:,:,:) 
    184       zwn(:,:,:) = wn (:,:,:) + w_bbl(:,:,:) 
     182      zun(:,:,:) = un(:,:,:) - u_bbl(:,:,:) 
     183      zvn(:,:,:) = vn(:,:,:) - v_bbl(:,:,:) 
     184      zwn(:,:,:) = wn(:,:,:) + w_bbl(:,:,:) 
    185185#endif 
    186186 
Note: See TracChangeset for help on using the changeset viewer.