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 5862 for branches/2015/dev_r5836_NOC3_vvl_by_default/NEMOGCM/NEMO/LIM_SRC_2 – NEMO

Ignore:
Timestamp:
2015-11-05T15:03:28+01:00 (8 years ago)
Author:
gm
Message:

#1613: vvl by default: non-vvl: initialize _b,n,a scale factors with _0 arrays

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5836_NOC3_vvl_by_default/NEMOGCM/NEMO/LIM_SRC_2/limsbc_2.F90

    r5845 r5862  
    469469         sshn(:,:) = sshn(:,:) - snwice_mass(:,:) * r1_rau0 
    470470         sshb(:,:) = sshb(:,:) - snwice_mass(:,:) * r1_rau0 
     471!!gm  like for lim3 : 
     472#if defined key_vvl             
     473!!gm 
    471474         do jk = 1,jpkm1                     ! adjust initial vertical scale factors 
    472475          e3t_n(:,:,jk) = e3t_0(:,:,jk)*( 1._wp + sshn(:,:)*tmask(:,:,1)/(ht_0(:,:) + 1.0 - tmask(:,:,1)) ) 
     
    500503            gde3w_n(:,:,jk) = gdept_n(:,:,jk  ) - sshn   (:,:) 
    501504         END DO 
     505!!gm 
     506#endif 
     507!!gm 
    502508      ENDIF 
    503509      ! 
Note: See TracChangeset for help on using the changeset viewer.