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 14215 for NEMO/trunk/src/TOP/TRP/trcsbc.F90 – NEMO

Ignore:
Timestamp:
2020-12-18T14:49:22+01:00 (4 years ago)
Author:
acc
Message:

trunk changes to swap the order of arguments to the DO LOOP macros. These changes result in a more natural i-j-k ordering as explained in #2595. SETTE is passed before and after these changes and results are unchanged. This fixes #2595

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/TOP/TRP/trcsbc.F90

    r14086 r14215  
    122122         ! 
    123123         DO jn = 1, jptra 
    124             DO_2D( 0, 1, 0, 0 ) 
     124            DO_2D( 0, 0, 0, 1 ) 
    125125               sbc_trc(ji,jj,jn) = zsfx(ji,jj) * r1_rho0 * ptr(ji,jj,1,jn,Kmm) 
    126126            END_2D 
     
    130130         ! 
    131131         DO jn = 1, jptra 
    132             DO_2D( 0, 1, 0, 0 ) 
     132            DO_2D( 0, 0, 0, 1 ) 
    133133               sbc_trc(ji,jj,jn) = ( zsfx(ji,jj) + fmmflx(ji,jj) ) * r1_rho0 * ptr(ji,jj,1,jn,Kmm) 
    134134            END_2D 
     
    138138         ! 
    139139         DO jn = 1, jptra 
    140             DO_2D( 0, 1, 0, 0 ) 
     140            DO_2D( 0, 0, 0, 1 ) 
    141141               zse3t = 1. / e3t(ji,jj,1,Kmm) 
    142142               ! tracer flux at the ice/ocean interface (tracer/m2/s) 
     
    162162         IF( l_trdtrc )   ztrtrd(:,:,:) = ptr(:,:,:,jn,Krhs)  ! save trends 
    163163         ! 
    164          DO_2D( 0, 1, 0, 0 ) 
     164         DO_2D( 0, 0, 0, 1 ) 
    165165            zse3t = zfact / e3t(ji,jj,1,Kmm) 
    166166            ptr(ji,jj,1,jn,Krhs) = ptr(ji,jj,1,jn,Krhs) + ( sbc_trc_b(ji,jj,jn) + sbc_trc(ji,jj,jn) ) * zse3t 
Note: See TracChangeset for help on using the changeset viewer.