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

Changeset 1569


Ignore:
Timestamp:
2009-07-31T18:37:36+02:00 (15 years ago)
Author:
ctlod
Message:

correction of a bug in the Coriolis term in the rheology of LIM2, see ticket: #504

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_2/limrhg_2.F90

    r1470 r1569  
    173173            zmass(ji,jj) = ( zmasst(ji,jj  ) * wght(ji,jj,2,2) + zmasst(ji-1,jj  ) * wght(ji,jj,1,2)   & 
    174174               &           + zmasst(ji,jj-1) * wght(ji,jj,2,1) + zmasst(ji-1,jj-1) * wght(ji,jj,1,1) ) * zusw 
    175             zcorl(ji,jj) = zmass(ji,jj) * fcor(ji,jj) 
     175            zcorl(ji,jj) = zmass(ji,jj) & 
     176               &           *( fcor(ji,jj  ) * wght(ji,jj,2,2) + fcor(ji-1,jj  )*wght(ji,jj,1,2)   & 
     177               &            + fcor(ji,jj-1) * wght(ji,jj,2,1) + fcor(ji-1,jj-1)*wght(ji,jj,1,1) ) * zusw 
    176178 
    177179            ! Wind stress. 
Note: See TracChangeset for help on using the changeset viewer.