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 7439 for branches/2016/dev_merge_2016/NEMOGCM/NEMO/OPA_SRC/DOM/dommsk.F90 – NEMO

Ignore:
Timestamp:
2016-12-02T12:17:06+01:00 (8 years ago)
Author:
lovato
Message:

#1811 - Reinstate developments from dev_NOC_CMCC branch lost in merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_merge_2016/NEMOGCM/NEMO/OPA_SRC/DOM/dommsk.F90

    r7421 r7439  
    9595      !! 
    9696      NAMELIST/namlbc/ rn_shlat, ln_vorlat 
    97       NAMELIST/nambdy/ ln_bdy ,nb_bdy, ln_coords_file, cn_coords_file,         & 
    98          &             ln_mask_file, cn_mask_file, cn_dyn2d, nn_dyn2d_dta,     & 
    99          &             cn_dyn3d, nn_dyn3d_dta, cn_tra, nn_tra_dta,             & 
    100          &             ln_tra_dmp, ln_dyn3d_dmp, rn_time_dmp, rn_time_dmp_out, & 
    101          &             cn_ice_lim, nn_ice_lim_dta,                           & 
    102          &             rn_ice_tem, rn_ice_sal, rn_ice_age,                 & 
    103          &             ln_vol, nn_volctl, nn_rimwidth, nb_jpk_bdy 
    10497      !!--------------------------------------------------------------------- 
    10598      ! 
     
    149142!SF  add here lbc_lnk: bug not still understood : cause now domain configuration is read ! 
    150143!!gm I don't understand why...   
    151    CALL lbc_lnk( tmask  , 'T', 1._wp )      ! Lateral boundary conditions 
    152        
     144      CALL lbc_lnk( tmask  , 'T', 1._wp )      ! Lateral boundary conditions 
     145 
     146      ! Mask corrections for bdy (read in mppini2) 
     147      ! ------------------------ 
     148      IF ( ln_bdy .AND. ln_mask_file ) THEN 
     149         DO jk = 1, jpkm1 
     150            DO jj = 1, jpj 
     151               DO ji = 1, jpi 
     152                  tmask(ji,jj,jk) = tmask(ji,jj,jk) * bdytmask(ji,jj) 
     153               END DO 
     154            END DO 
     155         END DO 
     156      ENDIF 
     157          
    153158      !  Ocean/land mask at u-, v-, and f-points   (computed from tmask) 
    154159      ! ---------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.