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 14259 for NEMO/branches/UKMO/NEMO_4.0.3_icb_speed_limit/src/OCE/ICB/icbdyn.F90 – NEMO

Ignore:
Timestamp:
2021-01-05T12:11:16+01:00 (3 years ago)
Author:
davestorkey
Message:

UKMO/NEMO_4.0.3_icb_speed_limit : Bug fix and extra write-outs for error trap in icbutl_bilin_e.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.3_icb_speed_limit/src/OCE/ICB/icbdyn.F90

    r14167 r14259  
    9797            !                                         !**   A1 = A(X1,V1) 
    9898            CALL icb_accel( berg , zxi1, ze1, zuvel1, zuvel1, zax1,     & 
    99                  &                   zyj1, ze2, zvvel1, zvvel1, zay1, zdt_2 ) 
     99                 &                 zyj1, ze2, zvvel1, zvvel1, zay1, zdt_2 ) 
    100100            ! 
    101101            zu1 = zuvel1 / ze1                           !**   V1 in d(i,j)/dt 
     
    119119            !                                         !**   A2 = A(X2,V2) 
    120120            CALL icb_accel( berg , zxi2, ze1, zuvel2, zuvel1, zax2,    & 
    121                  &                   zyj2, ze2, zvvel2, zvvel1, zay2, zdt_2 ) 
     121                 &                 zyj2, ze2, zvvel2, zvvel1, zay2, zdt_2 ) 
    122122            ! 
    123123            zu2 = zuvel2 / ze1                           !**   V2 in d(i,j)/dt 
     
    140140            !                                         !**   A3 = A(X3,V3) 
    141141            CALL icb_accel( berg , zxi3, ze1, zuvel3, zuvel1, zax3,    & 
    142                  &                   zyj3, ze2, zvvel3, zvvel1, zay3, zdt ) 
     142                 &                 zyj3, ze2, zvvel3, zvvel1, zay3, zdt ) 
    143143            ! 
    144144            zu3 = zuvel3 / ze1                           !**   V3 in d(i,j)/dt 
     
    153153            IF( rn_speed_limit > 0._wp ) THEN  ! Limit speed of bergs based on a CFL criteria (if asked) 
    154154               zuvel_rk4 = zuvel1 + 2.*(zuvel2 + zuvel3) + zuvel4 
    155                zvvel_rk4 = zvvel1 + 2.*(zvvel2 + zvvel3) + zuvel4 
     155               zvvel_rk4 = zvvel1 + 2.*(zvvel2 + zvvel3) + zvvel4 
    156156               CALL icb_speed_limit(ze1, ze2, zdt_6, zuvel_rk4, zvvel_rk4, rn_speed_limit, l_loop, zvel_factor, icount, 3) 
    157157               IF(l_loop) CYCLE 
     
    163163            !                                         !**   A4 = A(X4,V4) 
    164164            CALL icb_accel( berg , zxi4, ze1, zuvel4, zuvel1, zax4,    & 
    165                  &                   zyj4, ze2, zvvel4, zvvel1, zay4, zdt ) 
     165                 &                 zyj4, ze2, zvvel4, zvvel1, zay4, zdt ) 
    166166 
    167167            zu4 = zuvel4 / ze1                           !**   V4 in d(i,j)/dt 
Note: See TracChangeset for help on using the changeset viewer.