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/src/ICE/iceitd.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/src/ICE/iceitd.F90

    r13226 r13295  
    9898      ! 
    9999      npti = 0   ;   nptidx(:) = 0 
    100       DO_2D_11_11 
     100      DO_2D( 1, 1, 1, 1 ) 
    101101         IF ( at_i(ji,jj) > epsi10 ) THEN 
    102102            npti = npti + 1 
     
    611611         !                    !--------------------------------------- 
    612612         npti = 0   ;   nptidx(:) = 0 
    613          DO_2D_11_11 
     613         DO_2D( 1, 1, 1, 1 ) 
    614614            IF( a_i(ji,jj,jl) > 0._wp .AND. v_i(ji,jj,jl) > (a_i(ji,jj,jl) * hi_max(jl)) ) THEN 
    615615               npti = npti + 1 
     
    650650         !                    !----------------------------------------- 
    651651         npti = 0 ; nptidx(:) = 0 
    652          DO_2D_11_11 
     652         DO_2D( 1, 1, 1, 1 ) 
    653653            IF( a_i(ji,jj,jl+1) > 0._wp .AND. v_i(ji,jj,jl+1) <= (a_i(ji,jj,jl+1) * hi_max(jl)) ) THEN 
    654654               npti = npti + 1 
Note: See TracChangeset for help on using the changeset viewer.