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 13477 for NEMO/trunk/src/OCE/ZDF/zdfdrg.F90 – NEMO

Ignore:
Timestamp:
2020-09-16T17:15:29+02:00 (4 years ago)
Author:
smasson
Message:

trunk: fix the use of ln_drgice_imp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/ZDF/zdfdrg.F90

    r13472 r13477  
    238238      IF(lwm) WRITE ( numond, namdrg ) 
    239239      ! 
     240      IF ( ln_drgice_imp .AND.   nn_ice /= 2  )   ln_drgice_imp = .FALSE. 
     241      ! 
    240242      IF(lwp) THEN 
    241243         WRITE(numout,*) 
     
    262264         &                CALL ctl_stop( 'zdf_drg_init: ln_drgice_imp=T requires ln_drgimp=T' ) 
    263265      ! 
    264       IF ( ln_drgice_imp.AND.( nn_ice /=2 ) ) & 
    265          &  CALL ctl_stop( 'zdf_drg_init: ln_drgice_imp=T requires si3' ) 
    266       ! 
    267266      !                     !==  BOTTOM drag setting  ==!   (applied at seafloor) 
    268267      ! 
     
    270269      CALL drg_init( 'BOTTOM'   , mbkt       ,                                         &   ! <== in 
    271270         &           r_Cdmin_bot, r_Cdmax_bot, r_z0_bot, r_ke0_bot, rCd0_bot, rCdU_bot )   ! ==> out 
    272  
    273271      ! 
    274272      !                     !==  TOP drag setting  ==!   (applied at the top of ocean cavities) 
Note: See TracChangeset for help on using the changeset viewer.