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 13056 for utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/src/dommsk.F90 – NEMO

Ignore:
Timestamp:
2020-06-07T18:26:09+02:00 (4 years ago)
Author:
rblod
Message:

ticket #2129 : cleaning domcfg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/src/dommsk.F90

    r13024 r13056  
    2727   USE domwri         ! domain: write the meshmask file 
    2828   USE usrdef_fmask   ! user defined fmask 
    29    USE bdy_oce        ! open boundary 
    3029   ! 
    3130   USE in_out_manager ! I/O manager 
     
    9796      !! 
    9897      NAMELIST/namlbc/ rn_shlat, ln_vorlat 
    99       NAMELIST/nambdy/ ln_bdy ,nb_bdy, ln_coords_file, cn_coords_file,         & 
    100          &             ln_mask_file, cn_mask_file, cn_dyn2d, nn_dyn2d_dta,     & 
    101          &             cn_dyn3d, nn_dyn3d_dta, cn_tra, nn_tra_dta,             & 
    102          &             ln_tra_dmp, ln_dyn3d_dmp, rn_time_dmp, rn_time_dmp_out, & 
    103          &             cn_ice, nn_ice_dta,                                     & 
    104          &             rn_ice_tem, rn_ice_sal, rn_ice_age,                     & 
    105          &             ln_vol, nn_volctl, nn_rimwidth, nb_jpk_bdy 
    10698      !!--------------------------------------------------------------------- 
    10799      ! 
     
    183175      CALL lbc_lnk( 'dommsk', tmask  , 'T', 1._wp )      ! Lateral boundary conditions 
    184176 
    185      ! Mask corrections for bdy (read in mppini2) 
    186       REWIND( numnam_ref )              ! Namelist nambdy in reference namelist :Unstructured open boundaries 
    187       READ  ( numnam_ref, nambdy, IOSTAT = ios, ERR = 903) 
    188 903   IF( ios /= 0 )   CALL ctl_nam ( ios , 'nambdy in reference namelist', lwp ) 
    189       REWIND( numnam_cfg )              ! Namelist nambdy in configuration namelist :Unstructured open boundaries 
    190       READ  ( numnam_cfg, nambdy, IOSTAT = ios, ERR = 904 ) 
    191 904   IF( ios >  0 )   CALL ctl_nam ( ios , 'nambdy in configuration namelist', lwp ) 
    192       ! ------------------------ 
    193       IF ( ln_bdy .AND. ln_mask_file ) THEN 
    194          CALL iom_open( cn_mask_file, inum ) 
    195          CALL iom_get ( inum, jpdom_data, 'bdy_msk', bdytmask(:,:) ) 
    196          CALL iom_close( inum ) 
    197          DO jk = 1, jpkm1 
    198             DO jj = 1, jpj 
    199                DO ji = 1, jpi 
    200                   tmask(ji,jj,jk) = tmask(ji,jj,jk) * bdytmask(ji,jj) 
    201                END DO 
    202             END DO 
    203          END DO 
    204       ENDIF 
    205           
    206177      !  Ocean/land mask at u-, v-, and f-points   (computed from tmask) 
    207178      ! ---------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.