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 868 for trunk/NEMO/LIM_SRC_3/limhdf.F90 – NEMO

Ignore:
Timestamp:
2008-03-14T19:53:00+01:00 (16 years ago)
Author:
rblod
Message:

First optimisation of LIM3, limrhg optimisation induces computation change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_3/limhdf.F90

    r834 r868  
    147147         END DO 
    148148 
     149         ! lateral boundary condition on zrlx 
     150         CALL lbc_lnk( zrlx, 'T', 1. ) 
     151 
    149152         ! convergence test 
    150153         zconv = 0.e0 
    151154         DO jj = 2, jpjm1 
    152             DO ji = 2, jpim1 
     155            DO ji = fs_2, fs_jpim1 
    153156               zconv = MAX( zconv, ABS( zrlx(ji,jj) - ptab(ji,jj) )  ) 
    154157            END DO 
     
    156159         IF( lk_mpp )   CALL mpp_max( zconv )   ! max over the global domain 
    157160 
    158          DO jj = 2, jpjm1 
    159             DO ji = 2 , jpim1 
     161         DO jj = 1, jpj 
     162            DO ji = 1 , jpi 
    160163               ptab(ji,jj) = zrlx(ji,jj) 
    161164            END DO 
    162165         END DO 
    163166 
    164          ! lateral boundary condition on ptab 
    165          CALL lbc_lnk( ptab, 'T', 1. ) 
    166167         !                                         !========================== 
    167168      END DO                                       ! end of sub-time step loop 
    168169      !                                            !========================== 
    169  
    170       ptab(:,:) = ptab(:,:) 
    171170 
    172171      IF(ln_ctl)   THEN 
Note: See TracChangeset for help on using the changeset viewer.