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/p4zflx.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/p4zflx.F90

    r7753 r9124  
    8383      !!--------------------------------------------------------------------- 
    8484      ! 
    85       IF( nn_timing == 1 )  CALL timing_start('p4z_flx') 
     85      IF( ln_timing )   CALL timing_start('p4z_flx') 
    8686      ! 
    8787      CALL wrk_alloc( jpi, jpj, zkgco2, zkgo2, zh2co3, zoflx, zpco2atm ) 
     
    216216      CALL wrk_dealloc( jpi, jpj, zkgco2, zkgo2, zh2co3, zoflx, zpco2atm ) 
    217217      ! 
    218       IF( nn_timing == 1 )  CALL timing_stop('p4z_flx') 
     218      IF( ln_timing )   CALL timing_stop('p4z_flx') 
    219219      ! 
    220220   END SUBROUTINE p4z_flx 
     
    231231      !! ** input   :   Namelist nampisext 
    232232      !!---------------------------------------------------------------------- 
     233      INTEGER ::   jm 
     234      INTEGER ::   ios   ! Local integer  
     235      ! 
    233236      NAMELIST/nampisext/ln_co2int, atcco2, clname, nn_offset 
    234       INTEGER :: jm 
    235       INTEGER :: ios                 ! Local integer output status for namelist read 
    236237      !!---------------------------------------------------------------------- 
    237238      ! 
     
    243244      REWIND( numnatp_cfg )              ! Namelist nampisext in configuration namelist : Pisces atm. conditions 
    244245      READ  ( numnatp_cfg, nampisext, IOSTAT = ios, ERR = 902 ) 
    245 902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisext in configuration namelist', lwp ) 
     246902   IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisext in configuration namelist', lwp ) 
    246247      IF(lwm) WRITE ( numonp, nampisext ) 
    247248      ! 
     
    292293         ENDIF 
    293294      ENDIF 
    294  
    295295      ! 
    296296      oce_co2(:,:)  = 0._wp                ! Initialization of Flux of Carbon 
     
    302302   END SUBROUTINE p4z_flx_init 
    303303 
     304 
    304305   SUBROUTINE p4z_patm( kt ) 
    305  
    306306      !!---------------------------------------------------------------------- 
    307307      !!                  ***  ROUTINE p4z_atm  *** 
     
    311311      !! 
    312312      !!---------------------------------------------------------------------- 
    313       !! * arguments 
    314313      INTEGER, INTENT( in  ) ::   kt   ! ocean time step 
    315314      ! 
     
    321320      !! 
    322321      NAMELIST/nampisatm/ ln_presatm, ln_presatmco2, sn_patm, sn_atmco2, cn_dir 
     322      !!---------------------------------------------------------------------- 
    323323 
    324324      !                                         ! ----------------------- ! 
Note: See TracChangeset for help on using the changeset viewer.