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 12079 for NEMO/branches/2019/UKMO_MERGE_2019/src/OCE/DOM/domzgr.F90 – NEMO

Ignore:
Timestamp:
2019-12-05T19:47:50+01:00 (4 years ago)
Author:
mathiot
Message:

include ENHANCE-03_closea in UKMO merge branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/UKMO_MERGE_2019/src/OCE/DOM/domzgr.F90

    r12068 r12079  
    119119      ! Any closed seas (defined by closea_mask > 0 in domain_cfg file) to be filled  
    120120      ! in at runtime if ln_closea=.false. 
    121       IF( .NOT.ln_closea )   CALL clo_bat( k_top, k_bot ) 
     121      IF( ln_closea ) THEN 
     122         IF ( ln_maskcs ) THEN 
     123            ! mask all the closed sea 
     124            CALL clo_msk( k_top, k_bot, mask_opnsea, 'mask_opensea' ) 
     125         ELSE IF ( ln_mask_csundef ) THEN 
     126            ! defined closed sea are kept 
     127            ! mask all the undefined closed sea 
     128            CALL clo_msk( k_top, k_bot, mask_csundef, 'mask_csundef' ) 
     129         END IF 
     130      END IF 
    122131      ! 
    123132      IF(lwp) THEN                     ! Control print 
Note: See TracChangeset for help on using the changeset viewer.