Ignore:
Timestamp:
2019-12-11T10:55:06+01:00 (10 months ago)
Author:
cetlod
Message:

dev_merge_option2 : merge in ENHANCE-03_closea branch

File:
1 edited

Legend:

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

    r12166 r12172  
    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.