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

    r867 r868  
    3333   PUBLIC lim_dyn  ! routine called by ice_step 
    3434 
     35   !! * Substitutions 
     36#  include "vectopt_loop_substitute.h90" 
     37 
    3538   !! * Module variables 
    3639   REAL(wp)  ::  rone    = 1.e0   ! constant value 
     
    172175            zsang  = SIGN(1.e0, gphif(1,jj-1) ) * sangvg 
    173176 
    174             DO ji = 2, jpim1 
     177            DO ji = fs_2, fs_jpim1 
    175178               ! computation of wind stress over ocean in X and Y direction 
    176179#if defined key_coupled && defined key_lim_cp1 
     
    216219         ! computation of friction velocity 
    217220         DO jj = 2, jpjm1 
    218             DO ji = 2, jpim1 
     221            DO ji = fs_2, fs_jpim1 
    219222 
    220223               zu_ice   = u_ice(ji,jj) - u_io(ji,jj) 
     
    245248               ! virer ca (key_lim_cp1) 
    246249          DO jj = 2, jpjm1 
    247              DO ji = 2, jpim1 
     250             DO ji = fs_2, fs_jpim1 
    248251#if defined key_coupled && defined key_lim_cp1 
    249252                tio_u(ji,jj) = - (  gtaux(ji  ,jj  ) + gtaux(ji-1,jj  )       & 
Note: See TracChangeset for help on using the changeset viewer.