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 1525 – NEMO

Changeset 1525


Ignore:
Timestamp:
2009-07-22T15:42:07+02:00 (15 years ago)
Author:
ctlod
Message:

correct an out-of-bounds when accessing to array tmod_io, see ticket: #439

File:
1 edited

Legend:

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

    r1465 r1525  
    112112         CALL lbc_lnk( tmod_io, 'T', 1. ) 
    113113         ! ... ice stress over ocean with a ice-ocean rotation angle 
    114          DO jj = 1, jpj 
     114         DO jj = 1, jpjm1 
    115115            ! ... change the sinus angle sign in the south hemisphere 
    116116            zsang  = SIGN(1.e0, gphif(1,jj) ) * sangvg 
    117             DO ji = 1, jpi 
     117            DO ji = 1, fs_jpim1 
    118118               ! ... ice velocity relative to the ocean 
    119119               zu_u = u_ice(ji,jj) - u_oce(ji,jj) 
Note: See TracChangeset for help on using the changeset viewer.