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 11224 for NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/BDY/bdydyn2d.F90 – NEMO

Ignore:
Timestamp:
2019-07-08T11:19:12+02:00 (5 years ago)
Author:
smasson
Message:

dev_r10984_HPC-13 : bugfix to work will all configurations, see #2285

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10984_HPC-13_IRRMANN_BDY_optimization/src/OCE/BDY/bdydyn2d.F90

    r11210 r11224  
    1414   !!   bdy_ssh            : Duplicate sea level across open boundaries 
    1515   !!---------------------------------------------------------------------- 
    16    USE oce, only : sshdta => spgu             ! ocean dynamics and tracers  
    1716   USE dom_oce         ! ocean space and time domain 
    1817   USE bdy_oce         ! ocean open boundary conditions 
     
    186185      REAL(wp) ::   zfla                             ! Flather correction 
    187186      REAL(wp) ::   z1_2                             !  
     187      REAL(wp), DIMENSION(jpi,jpj) ::   sshdta       ! 2D version of dta%ssh 
    188188      !!---------------------------------------------------------------------- 
    189189 
     
    203203         ii = idx%nbi(jb,igrd) 
    204204         ij = idx%nbj(jb,igrd) 
    205          IF( ll_wd ) THEN 
    206             sshdta(ii, ij) = dta%ssh(jb)  - ssh_ref  
    207          ELSE 
    208             sshdta(ii, ij) = dta%ssh(jb) 
     205         IF( ll_wd ) THEN   ;   sshdta(ii, ij) = dta%ssh(jb) - ssh_ref  
     206         ELSE               ;   sshdta(ii, ij) = dta%ssh(jb) 
    209207         ENDIF 
    210208      END DO 
Note: See TracChangeset for help on using the changeset viewer.