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 14264 – NEMO

Changeset 14264


Ignore:
Timestamp:
2021-01-05T18:53:16+01:00 (4 years ago)
Author:
smueller
Message:

Adjustments of modifications made with changeset [14260] (ticket #2353)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r14122_ENHANCE-14_smueller_OSMOSIS_streamlining/src/OCE/ZDF/zdfosm.F90

    r14260 r14264  
    16801680             zpe_mle_layer = 0._wp 
    16811681             zpe_mle_ref = 0._wp 
     1682             zthermal = rab_n(ji,jj,1,jp_tem) 
     1683             zbeta    = rab_n(ji,jj,1,jp_sal) 
    16821684             DO jk = ibld(ji,jj), mld_prof(ji,jj) 
    1683                zthermal = rab_n(ji,jj,jk,jp_tem) 
    1684                zbeta    = rab_n(ji,jj,jk,jp_sal) 
    16851685               zbuoy = grav * ( zthermal * ts(ji,jj,jk,jp_tem,Kmm) - zbeta * ts(ji,jj,jk,jp_sal,Kmm) ) 
    16861686               zpe_mle_layer = zpe_mle_layer + zbuoy * gdepw(ji,jj,jk,Kmm) * e3w(ji,jj,jk,Kmm) 
     
    23762376 
    23772377      zmld_midu(:,:)   = 0.0_wp 
    2378       ztsm_midu(:,:,:) = 0.0_wp 
     2378      ztsm_midu(:,:,:) = 10.0_wp 
    23792379      DO_2D( 0, 0, 1, 0 ) 
    23802380         zdtdx(ji,jj) = ( ztm(ji+1,jj) - ztm( ji,jj) )  * umask(ji,jj,1) / e1u(ji,jj) 
     
    23862386 
    23872387      zmld_midv(:,:)   = 0.0_wp 
    2388       ztsm_midv(:,:,:) = 0.0_wp 
     2388      ztsm_midv(:,:,:) = 10.0_wp 
    23892389      DO_2D( 1, 0, 0, 0 ) 
    23902390         zdtdy(ji,jj) = ( ztm(ji,jj+1) - ztm( ji,jj) ) * vmask(ji,jj,1) / e1v(ji,jj) 
Note: See TracChangeset for help on using the changeset viewer.