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 1528 for trunk/NEMO/OPA_SRC/DOM/domzgr.F90 – NEMO

Ignore:
Timestamp:
2009-07-23T16:38:47+02:00 (15 years ago)
Author:
rblod
Message:

Suppress rigid-lid option, see ticket #486

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DOM/domzgr.F90

    r1461 r1528  
    3333   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    3434   USE closea          ! closed seas 
    35    USE solisl          ! solver - island in rigid-lid 
    3635   USE c1d             ! 1D configuration 
    3736 
     
    258257      !!                              at t-point (ji,jj). 
    259258      !!                            = 0  over the continental t-point. 
    260       !!                            = -n over the nth island t-point. 
    261259      !!      The array mbathy is checked to verified its consistency with 
    262260      !!      model option. in particular: 
     
    625623      ENDIF 
    626624 
    627       ! Set to zero mbathy over islands if necessary  (lk_isl=F) 
    628       IF( .NOT. lk_isl ) THEN    ! No island 
    629          IF(lwp) WRITE(numout,*) 
    630          IF(lwp) WRITE(numout,*) '         mbathy set to 0 over islands' 
    631          IF(lwp) WRITE(numout,*) '         ----------------------------' 
    632          ! 
    633          mbathy(:,:) = MAX( 0, mbathy(:,:) ) 
    634          ! 
    635          !  Boundary condition on mbathy 
    636          IF( .NOT.lk_mpp ) THEN  
    637 !!gm        !!bug ???  think about it ! 
    638             !   ... mono- or macro-tasking: T-point, >0, 2D array, no slab 
    639             zbathy(:,:) = FLOAT( mbathy(:,:) ) 
    640             CALL lbc_lnk( zbathy, 'T', 1. ) 
    641             mbathy(:,:) = INT( zbathy(:,:) ) 
    642          ENDIF 
     625      ! Set to zero mbathy over islands if necessary 
     626      IF(lwp) WRITE(numout,*) 
     627      IF(lwp) WRITE(numout,*) '         mbathy set to 0 over islands' 
     628      IF(lwp) WRITE(numout,*) '         ----------------------------' 
     629      ! 
     630      mbathy(:,:) = MAX( 0, mbathy(:,:) ) 
     631      ! 
     632      !  Boundary condition on mbathy 
     633      IF( .NOT.lk_mpp ) THEN  
     634!!gm     !!bug ???  think about it ! 
     635         !   ... mono- or macro-tasking: T-point, >0, 2D array, no slab 
     636         zbathy(:,:) = FLOAT( mbathy(:,:) ) 
     637         CALL lbc_lnk( zbathy, 'T', 1. ) 
     638         mbathy(:,:) = INT( zbathy(:,:) ) 
    643639      ENDIF 
    644640 
Note: See TracChangeset for help on using the changeset viewer.