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 1164 for trunk/NEMO/OPA_SRC/SBC – NEMO

Ignore:
Timestamp:
2008-07-08T17:37:09+02:00 (16 years ago)
Author:
ctlod
Message:

trunk: correct a wrong DO WHILE sequence, see ticket: #230 and update step_c1d.F90 related to ticket #223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcrnf.F90

    r1146 r1164  
    171171         IF( rn_hrnf > 0.e0 ) THEN 
    172172            nkrnf = 2 
    173             DO WHILE( nkrnf == jpkm1 .OR. gdepw_0(nkrnf) > rn_hrnf )   ;   nkrnf = nkrnf + 1   ;   END DO 
     173            DO WHILE( nkrnf /= jpkm1 .AND. gdepw_0(nkrnf+1) < rn_hrnf )   ;   nkrnf = nkrnf + 1   ;   END DO 
    174174            IF( ln_sco )   & 
    175175               CALL ctl_warn( 'sbc_rnf: number of levels over which Kz is increased is computed for zco...' ) 
Note: See TracChangeset for help on using the changeset viewer.