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 13469 for NEMO/branches/2020/temporary_r4_trunk/src/OCE/SBC/sbc_oce.F90 – NEMO

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

r4_trunk: first 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/OCE/SBC/sbc_oce.F90

    r13466 r13469  
    209209      !!--------------------------------------------------------------------- 
    210210      zcoef = 0.5 / ( zrhoa * zcdrag )  
    211       DO jj = 2, jpjm1 
    212          DO ji = fs_2, fs_jpim1   ! vect. opt. 
    213             ztx = utau(ji-1,jj  ) + utau(ji,jj)  
    214             zty = vtau(ji  ,jj-1) + vtau(ji,jj)  
    215             ztau = SQRT( ztx * ztx + zty * zty ) 
    216             wndm(ji,jj) = SQRT ( ztau * zcoef ) * tmask(ji,jj,1) 
    217          END DO 
    218       END DO 
     211      DO_2D_00_00 
     212         ztx = utau(ji-1,jj  ) + utau(ji,jj)  
     213         zty = vtau(ji  ,jj-1) + vtau(ji,jj)  
     214         ztau = SQRT( ztx * ztx + zty * zty ) 
     215         wndm(ji,jj) = SQRT ( ztau * zcoef ) * tmask(ji,jj,1) 
     216      END_2D 
    219217      CALL lbc_lnk( 'sbc_oce', wndm(:,:) , 'T', 1. ) 
    220218      ! 
Note: See TracChangeset for help on using the changeset viewer.