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/iceistate.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/iceistate.F90

    r13237 r13295  
    288288            ! select ice covered grid points 
    289289            npti = 0 ; nptidx(:) = 0 
    290             DO_2D_11_11 
     290            DO_2D( 1, 1, 1, 1 ) 
    291291               IF ( zht_i_ini(ji,jj) > 0._wp ) THEN 
    292292                  npti         = npti  + 1 
     
    338338            CALL ice_var_salprof ! for sz_i 
    339339            DO jl = 1, jpl 
    340                DO_2D_11_11 
     340               DO_2D( 1, 1, 1, 1 ) 
    341341                  v_i (ji,jj,jl) = h_i(ji,jj,jl) * a_i(ji,jj,jl) 
    342342                  v_s (ji,jj,jl) = h_s(ji,jj,jl) * a_i(ji,jj,jl) 
     
    346346            ! 
    347347            DO jl = 1, jpl 
    348                DO_3D_11_11( 1, nlay_s ) 
     348               DO_3D( 1, 1, 1, 1, 1, nlay_s ) 
    349349                  t_s(ji,jj,jk,jl) = zts_3d(ji,jj,jl) 
    350350                  e_s(ji,jj,jk,jl) = zswitch(ji,jj) * v_s(ji,jj,jl) * r1_nlay_s * & 
     
    354354            ! 
    355355            DO jl = 1, jpl 
    356                DO_3D_11_11( 1, nlay_i ) 
     356               DO_3D( 1, 1, 1, 1, 1, nlay_i ) 
    357357                  t_i (ji,jj,jk,jl) = zti_3d(ji,jj,jl)  
    358358                  ztmelts          = - rTmlt * sz_i(ji,jj,jk,jl) + rt0 ! melting temperature in K 
Note: See TracChangeset for help on using the changeset viewer.