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 4616 for branches/2014/dev_CNRS0_NOC1_LDF/NEMOGCM/NEMO/OPA_SRC/TRA/traadv_cen2.F90 – NEMO

Ignore:
Timestamp:
2014-04-06T17:28:25+02:00 (10 years ago)
Author:
gm
Message:

#1260 : see the associated wiki page for explanation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_CNRS0_NOC1_LDF/NEMOGCM/NEMO/OPA_SRC/TRA/traadv_cen2.F90

    r4499 r4616  
    8282      !!               zwy = zcofj * zupsv + (1-zcofj) * zcenv 
    8383      !!       * horizontal advective trend (divergence of the fluxes) 
    84       !!               ztra = 1/(e1t*e2t*e3t) { di-1[zwx] + dj-1[zwy] } 
     84      !!               ztra = 1/(e1e2t*e3t) { di-1[zwx] + dj-1[zwy] } 
    8585      !!       * Add this trend now to the general trend of tracer (ta,sa): 
    8686      !!               pta = pta + ztra 
     
    249249            DO jj = 2, jpjm1 
    250250               DO ji = fs_2, fs_jpim1   ! vector opt. 
    251                   zbtr = 1. / ( e1t(ji,jj) * e2t(ji,jj) *  fse3t(ji,jj,jk) ) 
     251                  zbtr = 1. / ( e1e2t(ji,jj) *  fse3t(ji,jj,jk) ) 
    252252                  ! advective trends 
    253253                  ztra = - zbtr * (  zwx(ji,jj,jk) - zwx(ji-1,jj  ,jk  )   & 
Note: See TracChangeset for help on using the changeset viewer.