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

Changeset 12526


Ignore:
Timestamp:
2020-03-09T14:50:07+01:00 (5 years ago)
Author:
aumont
Message:

Bug fix on the unit of ndepo

File:
1 edited

Legend:

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

    r12496 r12526  
    172172      IF( ln_ndepo ) THEN 
    173173         IF( kt == nit000 .OR. ( kt /= nit000 .AND. ntimes_ndep > 1 ) ) THEN 
    174              zcoef = 14E6 * rno3 * ryyss 
     174             zcoef = 14 * rno3 
    175175             CALL fld_read( kt, 1, sf_ndepo ) 
    176176             nitdep(:,:) = MAX( rtrn, sf_ndepo(1)%fnow(:,:,1) / zcoef / e3t_n(:,:,1) ) 
    177177         ENDIF 
    178178         IF( .NOT.ln_linssh ) THEN 
    179             zcoef = 14E6 * rno3 * ryyss 
     179            zcoef = 14 * rno3 
    180180            nitdep(:,:) = MAX( rtrn, sf_ndepo(1)%fnow(:,:,1) / zcoef / e3t_n(:,:,1) ) 
    181181         ENDIF 
Note: See TracChangeset for help on using the changeset viewer.