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 911 for trunk/NEMO/OPA_SRC/DYN/divcur.F90 – NEMO

Ignore:
Timestamp:
2008-04-28T11:31:32+02:00 (16 years ago)
Author:
ctlod
Message:

Implementation of the BDY package, see ticket: #126

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DYN/divcur.F90

    r780 r911  
    1414   USE in_out_manager  ! I/O manager 
    1515   USE obc_oce         ! ocean lateral open boundary condition 
     16   USE bdy_oce        ! Unstructured open boundaries variables 
    1617   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    1718 
     
    7778      !!   8.2  !  00-03  (G. Madec)  no slip accurate 
    7879      !!   9.0  !  03-08  (G. Madec)  merged of cur and div, free form, F90 
     80      !!        !  05-01  (J. Chanut, A. Sellar) unstructured open boundaries 
    7981      !!---------------------------------------------------------------------- 
    8082      !! * Arguments 
     
    134136         ENDIF 
    135137#endif 
     138#endif          
     139#if defined key_bdy || key_bdy_tides 
     140         ! unstructured open boundaries (div must be zero behind the open boundary) 
     141         DO jj = 1, jpj 
     142           DO ji = 1, jpi 
     143             hdivn(ji,jj,jk)=hdivn(ji,jj,jk)*bdytmask(ji,jj) 
     144           END DO 
     145         END DO 
    136146#endif          
    137147#if defined key_agrif 
     
    291301      !!   8.1  !  97-08  (J.M. Molines)  Open boundaries 
    292302      !!   9.0  !  02-09  (G. Madec, E. Durand)  Free form, F90 
     303      !!        !  05-01  (J. Chanut) Unstructured open boundaries 
    293304      !!---------------------------------------------------------------------- 
    294305      !! * Arguments 
     
    344355#endif 
    345356#endif          
     357#if defined key_bdy || key_bdy_tides 
     358         ! unstructured open boundaries (div must be zero behind the open boundary) 
     359         DO jj = 1, jpj 
     360           DO ji = 1, jpi 
     361             hdivn(ji,jj,jk)=hdivn(ji,jj,jk)*bdytmask(ji,jj) 
     362           END DO 
     363         END DO 
     364#endif         
    346365#if defined key_agrif 
    347366         if ( .NOT. AGRIF_Root() ) then 
Note: See TracChangeset for help on using the changeset viewer.