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 13295 for NEMO/trunk/tests/ISOMIP/MY_SRC/usrdef_zgr.F90 – NEMO

Ignore:
Timestamp:
2020-07-10T20:24:21+02:00 (4 years ago)
Author:
acc
Message:

Replace do-loop macros in the trunk with alternative forms with greater flexibility for extra halo applications. This alters a lot of routines but does not change any behaviour or results. do_loop_substitute.h90 is greatly simplified by this change. SETTE results are identical to those with the previous revision

File:
1 edited

Legend:

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

    r13286 r13295  
    126126         END DO 
    127127         ! top scale factors and depth at T- and W-points 
    128          DO_2D_11_11 
     128         DO_2D( 1, 1, 1, 1 ) 
    129129            ik = k_top(ji,jj) 
    130130            IF ( ik > 2 ) THEN 
     
    145145         END_2D 
    146146         ! bottom scale factors and depth at T- and W-points 
    147          DO_2D_11_11 
     147         DO_2D( 1, 1, 1, 1 ) 
    148148            ik = k_bot(ji,jj) 
    149149            pdepw(ji,jj,ik+1) = MIN( zht(ji,jj) , pdepw_1d(ik+1) ) 
     
    158158         pe3u (:,:,:) = pe3t(:,:,:) 
    159159         pe3uw(:,:,:) = pe3w(:,:,:) 
    160          DO_3D_00_00( 1, jpk ) 
     160         DO_3D( 0, 0, 0, 0, 1, jpk ) 
    161161         !                                   ! Computed as the minimum of neighbooring scale factors 
    162162            pe3v (ji,jj,jk) = MIN( pe3t(ji,jj,jk), pe3t(ji,jj+1,jk) ) 
Note: See TracChangeset for help on using the changeset viewer.