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 11822 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zpoc.F90 – NEMO

Ignore:
Timestamp:
2019-10-29T11:41:36+01:00 (4 years ago)
Author:
acc
Message:

Branch 2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps. Sette tested updates to branch to align with trunk changes between 10721 and 11740. Sette tests are passing but results differ from branch before these changes (except for GYRE_PISCES and VORTEX) and branch results already differed from trunk because of algorithmic fixes. Will need more checks to confirm correctness.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zpoc.F90

    r10975 r11822  
    103103     ! particle scheme. Does not work with Kriest parameterization. 
    104104     ! ----------------------------------------------------------------------- 
     105     ztremint(:,:,:) = zremigoc(:,:,:) 
    105106     DO jk = 2, jpkm1 
    106107        DO jj = 1, jpj 
     
    167168                       &   + zsizek1 ) ) * zpoc + ( prodgoc(ji,jj,jk-1) / tgfunc(ji,jj,jk-1) * ( 1.           & 
    168169                       &   - exp( -reminp(jn) * zsizek1 ) ) * exp( -reminp(jn) * zsizek ) + prodgoc(ji,jj,jk) & 
    169                        &   / tgfunc(ji,jj,jk) * ( 1. - exp( -reminp(jn) * zsizek ) ) ) * rday / rfact2 / reminp(jn)  
     170                       &   / tgfunc(ji,jj,jk) * ( 1. - exp( -reminp(jn) * zsizek ) ) ) * rday / rfact2 / reminp(jn) * alphan(jn)  
    170171                       alphat = alphat + alphag(ji,jj,jk,jn) 
    171172                       remint = remint + alphag(ji,jj,jk,jn) * reminp(jn) 
     
    286287     ! layer, this spectrum is supposed to be uniform. 
    287288     ! --------------------------------------------------------------------- 
     289     ztremint(:,:,:) = zremipoc(:,:,:) 
    288290     DO jk = 1, jpkm1 
    289291        DO jj = 1, jpj 
     
    498500      REWIND( numnatp_ref )              ! Namelist nampisrem in reference namelist : Pisces remineralization 
    499501      READ  ( numnatp_ref, nampispoc, IOSTAT = ios, ERR = 901) 
    500 901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'nampispoc in reference namelist', lwp ) 
     502901   IF( ios /= 0 )   CALL ctl_nam ( ios , 'nampispoc in reference namelist' ) 
    501503      REWIND( numnatp_cfg )              ! Namelist nampisrem in configuration namelist : Pisces remineralization 
    502504      READ  ( numnatp_cfg, nampispoc, IOSTAT = ios, ERR = 902 ) 
    503 902   IF( ios >  0 )   CALL ctl_nam ( ios , 'nampispoc in configuration namelist', lwp ) 
     505902   IF( ios >  0 )   CALL ctl_nam ( ios , 'nampispoc in configuration namelist' ) 
    504506      IF(lwm) WRITE( numonp, nampispoc ) 
    505507 
Note: See TracChangeset for help on using the changeset viewer.