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 4292 for branches/2013/dev_MERGE_2013/NEMOGCM/NEMO/OPA_SRC/TRA/traadv.F90 – NEMO

Ignore:
Timestamp:
2013-11-20T17:28:04+01:00 (10 years ago)
Author:
cetlod
Message:

dev_MERGE_2013 : 1st step of the merge, see ticket #1185

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_MERGE_2013/NEMOGCM/NEMO/OPA_SRC/TRA/traadv.F90

    r4245 r4292  
    1515   USE oce             ! ocean dynamics and active tracers 
    1616   USE dom_oce         ! ocean space and time domain 
     17   USE domvvl          ! variable vertical scale factors 
    1718   USE traadv_cen2     ! 2nd order centered scheme (tra_adv_cen2   routine) 
    1819   USE traadv_tvd      ! TVD      scheme           (tra_adv_tvd    routine) 
     
    9495         zwn(:,:,jk) = e1t(:,:) * e2t(:,:)      * wn(:,:,jk) 
    9596      END DO 
     97      ! 
     98      IF( ln_vvl_ztilde .OR. ln_vvl_layer ) THEN 
     99         zun(:,:,:) = zun(:,:,:) + un_td(:,:,:) 
     100         zvn(:,:,:) = zvn(:,:,:) + vn_td(:,:,:) 
     101      ENDIF 
     102      ! 
    96103      zun(:,:,jpk) = 0._wp                                                     ! no transport trough the bottom 
    97104      zvn(:,:,jpk) = 0._wp                                                     ! no transport trough the bottom 
Note: See TracChangeset for help on using the changeset viewer.