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 5932 for branches/NERC/dev_r5589_is_oce_cpl/NEMOGCM/NEMO/OPA_SRC/DOM/domzgr.F90 – NEMO

Ignore:
Timestamp:
2015-11-26T18:25:42+01:00 (8 years ago)
Author:
mathiot
Message:

ice sheet coupling: cosmetic changes + rm duplicate sanity check on isf draft + namelist issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5589_is_oce_cpl/NEMOGCM/NEMO/OPA_SRC/DOM/domzgr.F90

    r5920 r5932  
    574574      !                        
    575575      IF ( .not. ln_sco ) THEN                                !==  set a minimum depth  ==! 
    576          ! patch to avoid case bathy = ice shelf draft and bathy between 0 and zhmin 
    577          IF ( ln_isfcav ) THEN 
    578             WHERE ( bathy == risfdep ) 
    579                bathy   = 0.0_wp ; risfdep = 0.0_wp 
    580             END WHERE 
    581          END IF 
    582          ! end patch 
    583576         IF( rn_hmin < 0._wp ) THEN    ;   ik = - INT( rn_hmin )                                      ! from a nb of level 
    584577         ELSE                          ;   ik = MINLOC( gdepw_1d, mask = gdepw_1d > rn_hmin, dim = 1 )  ! from a depth 
     
    12341227      CALL wrk_alloc( jpi, jpj, zbathy, zmask, zrisfdep) 
    12351228      CALL wrk_alloc( jpi, jpj, zmisfdep, zmbathy ) 
    1236  
    12371229 
    12381230      ! (ISF) compute misfdep 
Note: See TracChangeset for help on using the changeset viewer.