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

    r13226 r13295  
    8888         zzc = rhoi * r1_Dt_ice 
    8989         DO jl = 1, jpl 
    90             DO_2D_11_11 
     90            DO_2D( 1, 1, 1, 1 ) 
    9191               zsal = sv_i(ji,jj,jl) 
    9292               sv_i(ji,jj,jl) = MIN(  MAX( rn_simin*v_i(ji,jj,jl) , sv_i(ji,jj,jl) ) , rn_simax*v_i(ji,jj,jl)  ) 
     
    106106      !                             !----------------------------------------------------- 
    107107      IF( kn == 2 ) THEN            !  Ice drift case: Corrections to avoid wrong values ! 
    108          DO_2D_00_00 
     108         DO_2D( 0, 0, 0, 0 ) 
    109109            IF ( at_i(ji,jj) == 0._wp ) THEN    ! what to do if there is no ice 
    110110               IF ( at_i(ji+1,jj) == 0._wp )   u_ice(ji  ,jj) = 0._wp   ! right side 
Note: See TracChangeset for help on using the changeset viewer.