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

Ignore:
Timestamp:
2005-12-28T10:25:10+01:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_035 : CT : OBCs adapted to the new surface pressure gradient algorithms

File:
1 edited

Legend:

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

    r359 r367  
    1212   USE dom_oce         ! ocean space and time domain 
    1313   USE in_out_manager  ! I/O manager 
     14   USE obc_oce         ! ocean open boundary conditions 
    1415   USE obcdyn          ! open boundary condition for momentum (obc_dyn routine) 
     16   USE obcdyn_bt       ! 2D open boundary condition for momentum (obc_dyn_bt routine) 
     17   USE obcvol          ! ocean open boundary condition (obc_vol routines) 
     18   USE dynspg_oce      ! type of surface pressure gradient 
    1519   USE lbclnk          ! lateral boundary condition (or mpp link) 
    1620   USE prtctl          ! Print control 
     
    105109      ! Update (ua,va) along open boundaries (only in the rigid-lid case) 
    106110      CALL obc_dyn( kt ) 
     111 
     112      IF ( lk_dynspg_exp .OR. lk_dynspg_ts ) THEN 
     113         !Flather boundary condition : 
     114         !        - Update sea surface height on each open boundary 
     115         !                 sshn (= after ssh) for explicit case 
     116         !                 sshn_b (= after ssha_b) for time-splitting case 
     117         !        - Correct the barotropic velocities 
     118         CALL obc_dyn_bt( kt ) 
     119 
     120         !Boundary conditions on sshn ( after ssh) 
     121         CALL lbc_lnk( sshn, 'T', 1. ) 
     122 
     123         IF(ln_ctl) THEN         ! print sum trends (used for debugging) 
     124            CALL prt_ctl(tab2d_1=sshn, clinfo1=' ssh      : ', mask1=tmask) 
     125         ENDIF 
     126 
     127         IF ( ln_vol_cst ) CALL obc_vol( kt ) 
     128 
     129      ENDIF 
     130 
    107131      !                                                ! =============== 
    108132      DO jk = 1, jpkm1                                 ! Horizontal slab 
Note: See TracChangeset for help on using the changeset viewer.