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 13470 for NEMO/branches/2020/temporary_r4_trunk/src/ICE/icectl.F90 – NEMO

Ignore:
Timestamp:
2020-09-15T12:56:56+02:00 (4 years ago)
Author:
smasson
Message:

r4_trunk: second change of DO loops for routines to be merged, see #2523

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/temporary_r4_trunk/src/ICE/icectl.F90

    r13469 r13470  
    366366      cl_alname(ialert_id) = ' Very high salinity ' ! name of the alert 
    367367      DO jl = 1, jpl 
    368          DO_2D_11_11 
     368         DO_2D( 1, 1, 1, 1 ) 
    369369            IF( v_i(ji,jj,jl) > epsi10  ) THEN 
    370370               IF( sv_i(ji,jj,jl) / v_i(ji,jj,jl) > rn_simax ) THEN 
     
    381381      cl_alname(ialert_id) = ' Very low salinity ' ! name of the alert 
    382382      DO jl = 1, jpl 
    383          DO_2D_11_11 
     383         DO_2D( 1, 1, 1, 1 ) 
    384384            IF( v_i(ji,jj,jl) > epsi10  ) THEN 
    385385               IF( sv_i(ji,jj,jl) / v_i(ji,jj,jl) < rn_simin ) THEN 
     
    396396      cl_alname(ialert_id) = ' Very cold ice ' ! name of the alert 
    397397      DO jl = 1, jpl 
    398          DO_3D_11_11( 1, nlay_i ) 
     398         DO_3D( 1, 1, 1, 1, 1, nlay_i ) 
    399399            ztmelts    =  -rTmlt * sz_i(ji,jj,jk,jl) + rt0 
    400400            IF( t_i(ji,jj,jk,jl) < -50.+rt0  .AND.  v_i(ji,jj,jl) > epsi10 ) THEN 
     
    410410      cl_alname(ialert_id) = ' Very warm ice ' ! name of the alert 
    411411      DO jl = 1, jpl 
    412          DO_3D_11_11( 1, nlay_i ) 
     412         DO_3D( 1, 1, 1, 1, 1, nlay_i ) 
    413413            ztmelts    =  -rTmlt * sz_i(ji,jj,jk,jl) + rt0 
    414414            IF( t_i(ji,jj,jk,jl) > ztmelts  .AND.  v_i(ji,jj,jl) > epsi10 ) THEN 
     
    424424      cl_alname(ialert_id) = ' Very thick ice ' ! name of the alert 
    425425      jl = jpl  
    426       DO_2D_11_11 
     426      DO_2D( 1, 1, 1, 1 ) 
    427427         IF( h_i(ji,jj,jl) > 50._wp ) THEN 
    428428            WRITE(numout,*) ' ALERTE :   Very thick ice ',h_i(ji,jj,jl) 
     
    436436      cl_alname(ialert_id) = ' Very thin ice ' ! name of the alert 
    437437      jl = 1  
    438       DO_2D_11_11 
     438      DO_2D( 1, 1, 1, 1 ) 
    439439         IF( h_i(ji,jj,jl) < rn_himin ) THEN 
    440440            WRITE(numout,*) ' ALERTE :   Very thin ice ',h_i(ji,jj,jl) 
     
    447447      ialert_id = ialert_id + 1 ! reference number of this alert 
    448448      cl_alname(ialert_id) = ' Very fast ice ' ! name of the alert 
    449       DO_2D_11_11 
     449      DO_2D( 1, 1, 1, 1 ) 
    450450         IF( MAX( ABS( u_ice(ji,jj) ), ABS( v_ice(ji,jj) ) ) > 2. ) THEN 
    451451            WRITE(numout,*) ' ALERTE :   Very fast ice ',MAX( ABS( u_ice(ji,jj) ), ABS( v_ice(ji,jj) ) ) 
     
    458458      ialert_id = ialert_id + 1 ! reference number of this alert 
    459459      cl_alname(ialert_id) = ' Ice on continents ' ! name of the alert 
    460       DO_2D_11_11 
     460      DO_2D( 1, 1, 1, 1 ) 
    461461         IF( tmask(ji,jj,1) == 0._wp .AND. ( at_i(ji,jj) > 0._wp .OR. vt_i(ji,jj) > 0._wp ) ) THEN  
    462462            WRITE(numout,*) ' ALERTE :   Ice on continents ',at_i(ji,jj),vt_i(ji,jj) 
     
    469469      ialert_id = ialert_id + 1 ! reference number of this alert 
    470470      cl_alname(ialert_id) = ' Incompatible ice conc and vol ' ! name of the alert 
    471       DO_2D_11_11 
     471      DO_2D( 1, 1, 1, 1 ) 
    472472         IF(  ( vt_i(ji,jj) == 0._wp .AND. at_i(ji,jj) >  0._wp ) .OR. & 
    473473            & ( vt_i(ji,jj) >  0._wp .AND. at_i(ji,jj) == 0._wp ) ) THEN  
Note: See TracChangeset for help on using the changeset viewer.