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 192 for trunk/NEMO/LIM_SRC – NEMO

Changeset 192 for trunk/NEMO/LIM_SRC


Ignore:
Timestamp:
2004-12-22T16:33:48+01:00 (19 years ago)
Author:
opalod
Message:

CT : BUGFIX133 : correction of the njeq initialisation to avoid compilation error when making a bound array check

Location:
trunk/NEMO/LIM_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC/limmsh.F90

    r58 r192  
    8787      ELSEIF( fcor(1,1) < 0.e0 ) THEN 
    8888         l_jeq = .FALSE. 
    89          njeq = jpj + 10 
     89         njeq = jpj 
    9090         IF(lwp ) WRITE(numout,*) '          the model domain is entirely in the southern hemisphere: njeq = ', njeq 
    9191      ELSE 
    9292         l_jeq = .FALSE. 
    93          njeq = -10 
     93         njeq = 2 
    9494         IF(lwp ) WRITE(numout,*) '          the model domain is entirely in the northern hemisphere: njeq = ', njeq 
    9595      ENDIF 
  • trunk/NEMO/LIM_SRC/limthd.F90

    r141 r192  
    302302      !      Tricky trick : add 2 to frld in the Southern Hemisphere. 
    303303      !---------------------------------------------------------- 
    304       DO jj = 1, njeqm1      !ibug in mpp 
    305          DO ji = 1, jpi 
    306             frld(ji,jj) = frld(ji,jj) + 2.0 
    307          END DO 
    308       END DO 
     304      IF( fcor(1,1) < 0.e0 ) THEN 
     305         DO jj = 1, njeqm1      !ibug in mpp 
     306            DO ji = 1, jpi 
     307               frld(ji,jj) = frld(ji,jj) + 2.0 
     308            END DO 
     309         END DO 
     310      ENDIF 
    309311       
    310312       
Note: See TracChangeset for help on using the changeset viewer.