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

Ignore:
Timestamp:
2013-04-09T18:34:38+02:00 (11 years ago)
Author:
acc
Message:

Branch 2013/dev_r3858_NOC_ZTC, #863. Nearly complete port of 2011/dev_r2739_LOCEAN8_ZTC development branch into v3.5aplha base. Compiles and runs but currently unstable after 8 timesteps with ORCA2_LIM reference configuration.

File:
1 edited

Legend:

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

    r3718 r3865  
    1414   USE oce             ! ocean dynamics and active tracers 
    1515   USE dom_oce         ! ocean space and time domain 
     16   USE domvvl          ! variable vertical scale factors 
    1617   USE traadv_cen2     ! 2nd order centered scheme (tra_adv_cen2   routine) 
    1718   USE traadv_tvd      ! TVD      scheme           (tra_adv_tvd    routine) 
     
    9293         zwn(:,:,jk) = e1t(:,:) * e2t(:,:)      * wn(:,:,jk) 
    9394      END DO 
     95      ! 
     96      IF( ln_vvl_ztilde .OR. ln_vvl_layer ) THEN 
     97         zun(:,:,:) = zun(:,:,:) + un_td(:,:,:) 
     98         zvn(:,:,:) = zvn(:,:,:) + vn_td(:,:,:) 
     99      ENDIF 
     100      ! 
    94101      zun(:,:,jpk) = 0._wp                                                     ! no transport trough the bottom 
    95102      zvn(:,:,jpk) = 0._wp                                                     ! no transport trough the bottom 
Note: See TracChangeset for help on using the changeset viewer.