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 10222 for NEMO/trunk/src/TOP/PISCES/P4Z/p4zsms.F90 – NEMO

Ignore:
Timestamp:
2018-10-25T11:42:23+02:00 (6 years ago)
Author:
aumont
Message:

update of the sediment module + enhancement, bug correction in PISCES generating O2 negative values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/TOP/PISCES/P4Z/p4zsms.F90

    r10213 r10222  
    101101      ENDIF 
    102102      ! 
     103      IF( ll_sbc ) CALL p4z_sbc( kt )   ! external sources of nutrients  
     104      ! 
     105#if ! defined key_sed_off 
    103106      CALL p4z_che              ! computation of chemical constants 
    104107      CALL p4z_int( kt )        ! computation of various rates for biogeochemistry 
    105108      ! 
    106       IF( ll_sbc ) CALL p4z_sbc( kt )   ! external sources of nutrients  
    107  
    108109      DO jnt = 1, nrdttrc          ! Potential time splitting if requested 
    109110         ! 
     
    149150         END DO 
    150151      END IF 
    151       ! 
    152       IF( lk_sed ) THEN  
     152#endif 
     153      ! 
     154      IF( ln_sediment ) THEN  
    153155         ! 
    154156         CALL sed_model( kt )     !  Main program of Sediment model 
     157         ! 
     158         IF( ln_top_euler ) THEN 
     159            DO jn = jp_pcs0, jp_pcs1 
     160               trn(:,:,:,jn) = trb(:,:,:,jn) 
     161            END DO 
     162         ENDIF 
    155163         ! 
    156164      ENDIF 
     
    352360      IF(lwp)  WRITE(numout,*) 
    353361 
    354       IF( cn_cfg == "ORCA" .OR. cn_cfg == "orca" ) THEN 
     362      IF( cn_cfg == "ORCA" .OR. cn_cfg == "orca") THEN 
    355363         IF( .NOT. lk_c1d ) THEN      ! ORCA configuration (not 1D) ! 
    356364            !                                                ! --------------------------- ! 
Note: See TracChangeset for help on using the changeset viewer.