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 7351 for branches/2016/dev_INGV_UKMO_2016/NEMOGCM/NEMO/TOP_SRC/TRP/trdmxl_trc.F90 – NEMO

Ignore:
Timestamp:
2016-11-28T17:04:10+01:00 (7 years ago)
Author:
emanuelaclementi
Message:

ticket #1805 step 3: /2016/dev_INGV_UKMO_2016 aligned to the trunk at revision 7161

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_INGV_UKMO_2016/NEMOGCM/NEMO/TOP_SRC/TRP/trdmxl_trc.F90

    r5836 r7351  
    6666 
    6767   !! * Substitutions 
    68 #  include "domzgr_substitute.h90" 
    6968#  include "zdfddm_substitute.h90" 
    7069   !!---------------------------------------------------------------------- 
     
    175174            DO jj = 1, jpj 
    176175               DO ji = 1, jpi 
    177                   IF( jk - nmld_trc(ji,jj) < 0 )   wkx_trc(ji,jj,jk) = fse3t(ji,jj,jk) * tmask(ji,jj,jk) 
     176                  IF( jk - nmld_trc(ji,jj) < 0 )   wkx_trc(ji,jj,jk) = e3t_n(ji,jj,jk) * tmask(ji,jj,jk) 
    178177               END DO 
    179178            END DO 
     
    293292            DO jj = 1,jpj 
    294293              DO ji = 1,jpi 
    295                   IF( jk - nmld_trc(ji,jj) < 0. )   wkx_trc(ji,jj,jk) = fse3t(ji,jj,jk) * tmask(ji,jj,jk) 
     294                  IF( jk - nmld_trc(ji,jj) < 0. )   wkx_trc(ji,jj,jk) = e3t_n(ji,jj,jk) * tmask(ji,jj,jk) 
    296295               END DO 
    297296            END DO 
     
    330329      !!  
    331330      !! ** Purpose :  Compute and cumulate the mixed layer trends over an analysis 
    332       !!               period, and write NetCDF (or dimg) outputs. 
     331      !!               period, and write NetCDF outputs. 
    333332      !! 
    334333      !! ** Method/usage : 
     
    390389      ! 
    391390      CHARACTER (LEN=10) ::   clvar 
    392 #if defined key_dimgout 
    393       INTEGER ::   iyear,imon,iday 
    394       CHARACTER(LEN=80) ::   cltext, clmode 
    395 #endif 
    396391      !!---------------------------------------------------------------------- 
    397392 
     
    417412               DO jn = 1, jptra 
    418413                  IF( ln_trdtrc(jn) )    & 
    419                   tmltrd_trc(ji,jj,jpmxl_trc_zdf,jn) = - zavt / fse3w(ji,jj,ik) * tmask(ji,jj,ik)  & 
     414                  tmltrd_trc(ji,jj,jpmxl_trc_zdf,jn) = - zavt / e3w_n(ji,jj,ik) * tmask(ji,jj,ik)  & 
    420415                       &                    * ( trn(ji,jj,ik-1,jn) - trn(ji,jj,ik,jn) )            & 
    421416                       &                    / MAX( 1., rmld_trc(ji,jj) ) * tmask(ji,jj,1) 
     
    774769      ! ====================================================================== 
    775770 
    776       ! IV.1 Code for dimg mpp output 
    777       ! ----------------------------- 
    778  
    779 # if defined key_dimgout 
    780       STOP 'Not implemented' 
    781 # else 
    782        
    783       ! IV.2 Code for IOIPSL/NetCDF output 
     771      ! IV.1 Code for IOIPSL/NetCDF output 
    784772      ! ---------------------------------- 
    785773 
     
    865853      icount = 1 
    866854 
    867 # endif /* key_dimgout */ 
    868  
    869855      IF( MOD( itmod, nn_trd_trc ) == 0 ) THEN 
    870856         ! 
     
    896882      !! 
    897883      !! ** Purpose :  Compute and cumulate the mixed layer biological trends over an analysis 
    898       !!               period, and write NetCDF (or dimg) outputs. 
     884      !!               period, and write NetCDF outputs. 
    899885      !! 
    900886      !! ** Method/usage : 
     
    943929      LOGICAL  :: llwarn  = .TRUE., lldebug = .TRUE. 
    944930      REAL(wp) :: zfn, zfn2 
    945 #if defined key_dimgout 
    946       INTEGER ::  iyear,imon,iday 
    947       CHARACTER(LEN=80) :: cltext, clmode 
    948 #endif 
    949931      !!---------------------------------------------------------------------- 
    950932      ! ... Warnings 
     
    10551037      ! ====================================================================== 
    10561038 
    1057       ! IV.1 Code for dimg mpp output 
    1058       ! ----------------------------- 
    1059  
    1060 # if defined key_dimgout 
    1061       STOP 'Not implemented' 
    1062 # else 
    1063  
    1064       ! IV.2 Code for IOIPSL/NetCDF output 
     1039      ! IV.1 Code for IOIPSL/NetCDF output 
    10651040      ! ---------------------------------- 
    10661041 
     
    11071082 
    11081083 
    1109 # endif /* key_dimgout */ 
    11101084 
    11111085      IF( MOD( itmod, nn_trd_trc ) == 0 ) THEN 
     
    12581232      ! ====================================================================== 
    12591233 
    1260 #if defined key_dimgout  
    1261       ??? 
    1262 #else 
    12631234      ! clmxl = legend root for netCDF output 
    12641235      IF( nn_ctls_trc == 0 ) THEN                                   ! control surface = mixed-layer with density criterion 
     
    14031374#endif 
    14041375 
    1405 #endif        /* key_dimgout */ 
    14061376   END SUBROUTINE trd_mxl_trc_init 
    14071377 
Note: See TracChangeset for help on using the changeset viewer.