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 13200 for NEMO/branches/2019/dev_r11708_aumont_PISCES_QUOTA/src/TOP/PISCES/P4Z/p4zprod.F90 – NEMO

Ignore:
Timestamp:
2020-07-02T08:58:10+02:00 (4 years ago)
Author:
aumont
Message:

minor bug fixes for calcite production and diagnostics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11708_aumont_PISCES_QUOTA/src/TOP/PISCES/P4Z/p4zprod.F90

    r12759 r13200  
    218218                 zlim  = trb(ji,jj,jk,jpsil) / ( trb(ji,jj,jk,jpsil) + xksi1 ) 
    219219                 zsilim = xlimdia(ji,jj,jk) * zprdia(ji,jj,jk) / ( zprmaxd(ji,jj,jk) + rtrn ) 
    220                  zsiborn = trb(ji,jj,1,jpsil) * trb(ji,jj,1,jpsil) * trb(ji,jj,1,jpsil) 
    221                  IF (gphit(ji,jj) < -30 ) THEN 
     220                 zsiborn = trb(ji,jj,1,jpsil)**3 
     221                 IF (gphit(ji,jj) < -30.0 ) THEN 
    222222                   zsilfac2 = 1. + 2. * zsiborn / ( zsiborn + xksi2**3 ) 
    223223                 ELSE 
Note: See TracChangeset for help on using the changeset viewer.