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 3446 for branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p4zsed.F90 – NEMO

Ignore:
Timestamp:
2012-08-10T13:13:55+02:00 (12 years ago)
Author:
cetlod
Message:

branch:2012/dev_r3438_LOCEAN15_PISLOB : 2nd step new PISCES updates from Olivier, see ticket #972

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p4zsed.F90

    r3443 r3446  
    177177         ! 
    178178         IF( ln_diatrc .AND. lk_iomput .AND. jnt == nrdttrc )   & 
    179             &   CALL iom_put( "Ironsed", ironsed(:,:,:) * 1.e+3 * fse3t(:,:,:) * tmask(:,:,:) ) ! iron inputs from sediments 
     179            &   CALL iom_put( "Ironsed", ironsed(:,:,:) * 1.e+3 * tmask(:,:,:) ) ! iron inputs from sediments 
    180180      ENDIF 
    181181 
     
    186186         ! 
    187187         IF( ln_diatrc .AND. lk_iomput .AND. jnt == nrdttrc )   & 
    188             &   CALL iom_put( "HYDR", hydrofe(:,:,:) * 1.e+3 * fse3t(:,:,:) * tmask(:,:,:) ) ! hydrothermal iron input 
     188            &   CALL iom_put( "HYDR", hydrofe(:,:,:) * 1.e+3 * tmask(:,:,:) ) ! hydrothermal iron input 
    189189      ENDIF 
    190190 
     
    319319               zfact = zlim * rfact2 
    320320#endif 
    321                ztrfer = trn(ji,jj,jk,jpfer) / ( concfediaz + trn(ji,jj,jk,jpfer) ) 
    322                ztrpo4 = trn(ji,jj,jk,jppo4) / ( concnnh4   + trn(ji,jj,jk,jppo4) )  
     321               ztrfer = biron(ji,jj,jk)       / ( concfediaz + biron(ji,jj,jk)      ) 
     322               ztrpo4 = trn  (ji,jj,jk,jppo4) / ( concnnh4   + trn  (ji,jj,jk,jppo4) )  
    323323               znitrpot(ji,jj,jk) =  MAX( 0.e0, ( 0.6 * tgfunc(ji,jj,jk) - 2.15 ) * r1_rday )   & 
    324324                 &         *  zfact * MIN( ztrfer, ztrpo4 ) * ( 1.- EXP( -etot(ji,jj,jk) / diazolight ) ) 
     
    343343      IF( ln_diatrc ) THEN 
    344344         zfact = 1.e+3 * rfact2r 
    345          IF( lk_iomput ) THEN 
    346             zwork1(:,:)  = znitrpot(:,:,1) * nitrfix * zfact * fse3t(:,:,1) * tmask(:,:,1) 
    347             zwork4(:,:)  = zwork4(:,:) * zfact * tmask(:,:,1) 
    348             IF( jnt == nrdttrc ) THEN 
    349                CALL iom_put( "Nfix"  ,  zwork1 )  ! Nitrate reduction in the sediments 
    350                CALL iom_put( "Sdenit",  zwork4 )  ! Nitrate reduction in the sediments 
    351             ENDIF 
     345         IF( lk_iomput .AND. jnt == nrdttrc ) THEN 
     346            CALL iom_put( "Nfix"  , znitrpot(:,:,:) * nitrfix * rno3 * zfact * tmask(:,:,:) )  ! nitrogen fixation  
     347            CALL iom_put( "Sdenit", zwork4(:,:)               * rno3 * zfact * tmask(:,:,1) )  ! Nitrate reduction in the sediments 
    352348         ELSE 
    353349            trc2d(:,:,jp_pcs0_2d + 12) = znitrpot(:,:,1) * nitrfix * zfact * fse3t(:,:,1) * tmask(:,:,1) 
Note: See TracChangeset for help on using the changeset viewer.