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 9124 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p5zmeso.F90 – NEMO

Ignore:
Timestamp:
2017-12-19T09:26:25+01:00 (6 years ago)
Author:
gm
Message:

dev_merge_2017: ln_timing instead of nn_timing + restricted timing to nemo_init and routine called by step in OPA_SRC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p5zmeso.F90

    r7646 r9124  
    8989      !!--------------------------------------------------------------------- 
    9090      ! 
    91       IF( nn_timing == 1 )  CALL timing_start('p5z_meso') 
     91      IF( ln_timing )   CALL timing_start('p5z_meso') 
    9292      ! 
    9393      CALL wrk_alloc( jpi, jpj, jpk, zgrazing ) 
     
    362362      CALL wrk_dealloc( jpi, jpj, jpk, zgrazing ) 
    363363      ! 
    364       IF( nn_timing == 1 )  CALL timing_stop('p5z_meso') 
     364      IF( ln_timing )   CALL timing_stop('p5z_meso') 
    365365      ! 
    366366   END SUBROUTINE p5z_meso 
    367367 
     368 
    368369   SUBROUTINE p5z_meso_init 
    369  
    370370      !!---------------------------------------------------------------------- 
    371371      !!                  ***  ROUTINE p5z_meso_init  *** 
     
    379379      !! 
    380380      !!---------------------------------------------------------------------- 
    381  
     381      INTEGER :: ios                 ! Local integer output status for namelist read 
     382      !! 
    382383      NAMELIST/namp5zmes/part2, bmetexc2, grazrat2, resrat2, mzrat2, xpref2c, xpref2p, xpref2z, & 
    383384         &                xpref2m, xpref2d, xthresh2dia, xthresh2phy, xthresh2zoo, xthresh2poc, & 
    384385         &                xthresh2mes, xthresh2, xkgraz2, epsher2, ssigma2, unass2c, & 
    385       &                   unass2n, unass2p, srespir2, grazflux 
    386  
    387       INTEGER :: ios                 ! Local integer output status for namelist read 
    388  
     386         &                unass2n, unass2p, srespir2, grazflux 
     387      !!---------------------------------------------------------------------- 
     388      ! 
    389389      REWIND( numnatp_ref )              ! Namelist nampismes in reference namelist : Pisces mesozooplankton 
    390390      READ  ( numnatp_ref, namp5zmes, IOSTAT = ios, ERR = 901) 
    391391901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampismes in reference namelist', lwp ) 
    392  
     392      ! 
    393393      REWIND( numnatp_cfg )              ! Namelist nampismes in configuration namelist : Pisces mesozooplankton 
    394394      READ  ( numnatp_cfg, namp5zmes, IOSTAT = ios, ERR = 902 ) 
    395 902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampismes in configuration namelist', lwp ) 
     395902   IF( ios > 0 ) CALL ctl_nam ( ios , 'nampismes in configuration namelist', lwp ) 
    396396      IF(lwm) WRITE ( numonp, namp5zmes ) 
    397  
    398  
     397      ! 
    399398      IF(lwp) THEN                         ! control print 
    400399         WRITE(numout,*) ' '  
     
    426425         WRITE(numout,*) '    Use excess carbon for respiration              bmetexc2    = ', bmetexc2 
    427426      ENDIF 
    428  
    429  
     427      ! 
    430428   END SUBROUTINE p5z_meso_init 
    431429 
Note: See TracChangeset for help on using the changeset viewer.