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 15033 for NEMO/trunk/tests/WAD/MY_SRC – NEMO

Ignore:
Timestamp:
2021-06-21T12:24:45+02:00 (3 years ago)
Author:
smasson
Message:

trunk: suppress jpim1 et jpjm1, #2699

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/tests/WAD/MY_SRC/usrdef_zgr.F90

    r14433 r15033  
    230230 
    231231      ! at u-point: averaging zht 
    232       DO ji = 1, jpim1 
    233          zhu(ji,:) = 0.5_wp * ( zht(ji,:) + zht(ji+1,:) ) 
    234       END DO 
     232      DO_2D( 0, 0, 0, 0 ) 
     233         zhu(ji,jj) = 0.5_wp * ( zht(ji,jj) + zht(ji+1,jj) ) 
     234      END_2D 
    235235      CALL lbc_lnk( 'usrdef_zgr', zhu, 'U', 1. )     ! boundary condition: this mask the surrounding grid-points 
    236236      !                                ! ==>>>  set by hand non-zero value on first/last columns & rows  
Note: See TracChangeset for help on using the changeset viewer.