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

Ignore:
Timestamp:
2008-06-10T15:11:32+02:00 (16 years ago)
Author:
rblod
Message:

Fixes in kil3, change results, see ticket #206

File:
1 edited

Legend:

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

    r921 r1103  
    115115                  i_j1 = i_j1 + 1 
    116116               END DO 
    117                i_j1 = MAX( 1, i_j1-1 ) 
     117               i_j1 = MAX( 1, i_j1-2 ) 
    118118               IF(ln_ctl) CALL prt_ctl_info( 'lim_dyn  : NH  i_j1 = ', ivar1=i_j1, clinfo2=' ij_jpj = ', ivar2=i_jpj ) 
    119119               CALL lim_rhg( i_j1, i_jpj ) 
     
    125125                  i_jpj = i_jpj - 1 
    126126               END DO 
    127                i_jpj = MIN( jpj, i_jpj+2 ) 
     127               i_jpj = MIN( jpj, i_jpj+1 ) 
    128128               IF(ln_ctl) CALL prt_ctl_info( 'lim_dyn  : SH  i_j1 = ', ivar1=i_j1, clinfo2=' ij_jpj = ', ivar2=i_jpj ) 
    129129 
    130                CALL lim_rhg( i_j1, i_jpj ) 
    131  
    132             ELSE                                 ! local domain extends over one hemisphere only 
    133                !                                 ! Rheology is computed only over the ice cover 
    134                !                                 ! latitude strip 
    135                i_j1  = 1 
     130       CALL lim_rhg( i_j1, i_jpj ) 
     131 
     132    ELSE                                 ! local domain extends over one hemisphere only 
     133       !                                 ! Rheology is computed only over the ice cover 
     134       !                                 ! latitude strip 
     135       i_j1  = 1 
    136136               DO WHILE ( i_j1 <= jpj .AND. zind(i_j1) == FLOAT(jpi) .AND. zmsk(i_j1) /=0 ) 
    137137                  i_j1 = i_j1 + 1 
    138138               END DO 
    139                i_j1 = MAX( 1, i_j1-1 ) 
     139               i_j1 = MAX( 1, i_j1-2 ) 
    140140 
    141141               i_jpj  = jpj 
     
    143143                  i_jpj = i_jpj - 1 
    144144               END DO 
    145                i_jpj = MIN( jpj, i_jpj+2) 
     145               i_jpj = MIN( jpj, i_jpj+1) 
    146146 
    147147               IF(ln_ctl) CALL prt_ctl_info( 'lim_dyn  : one hemisphere:  i_j1 = ', ivar1=i_j1, clinfo2=' ij_jpj = ', ivar2=i_jpj ) 
Note: See TracChangeset for help on using the changeset viewer.