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 3084 for branches/2011/dev_LOCEAN_CMCC_2011/NEMOGCM/NEMO/OPA_SRC/DOM/dommsk.F90 – NEMO

Ignore:
Timestamp:
2011-11-14T13:07:57+01:00 (12 years ago)
Author:
cetlod
Message:

dev_LOCEAN_CMCC_2011: add in changes CMCC devlopments into the new branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_LOCEAN_CMCC_2011/NEMOGCM/NEMO/OPA_SRC/DOM/dommsk.F90

    r2715 r3084  
    2626   USE dom_oce         ! ocean space and time domain 
    2727   USE obc_oce         ! ocean open boundary conditions 
     28   USE dynvor          ! vorticity term 
    2829   USE in_out_manager  ! I/O manager 
    2930   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
     
    390391      CALL lbc_lnk( fmask, 'F', 1._wp )      ! Lateral boundary conditions on fmask 
    391392 
     393 
     394      ! If energy, enstrophy or mixed advection of momentum in vector form change the value for masks 
     395      ! at angles with three ocean points and one land point 
     396       IF( ln_dynvor_con .OR. ln_dynvor_ene .OR. ln_dynvor_ens .OR. ln_dynvor_mix) THEN 
     397        DO jj = 2, jpjm1 
     398          DO ji = 2, jpim1 
     399          IF( tmask(ji,jj,jk)+tmask(ji+1,jj,jk)+tmask(ji,jj+1,jk)+tmask(ji+1,jj+1,jk) == 3._wp ) THEN 
     400                  fmask(ji,jj,jk) = 1._wp 
     401           ENDIF 
     402          END DO 
     403        END DO 
     404       ENDIF 
     405 
    392406             
    393407      IF( nprint == 1 .AND. lwp ) THEN      ! Control print 
Note: See TracChangeset for help on using the changeset viewer.