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/LIM_SRC_3/iceupdate.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/LIM_SRC_3/iceupdate.F90

    r9071 r9124  
    105105      REAL(wp), DIMENSION(jpi,jpj,jpl) ::   zalb_cs, zalb_os     ! 3D workspace 
    106106      !!--------------------------------------------------------------------- 
    107       IF( nn_timing == 1 )  CALL timing_start('ice_update') 
     107      IF( ln_timing )   CALL timing_start('ice_update') 
    108108 
    109109      IF( kt == nit000 .AND. lwp ) THEN 
     
    297297      IF( ln_icectl                      )   CALL ice_prt       (kt, iiceprt, jiceprt, 3, 'Final state ice_update') ! prints 
    298298      IF( ln_ctl                         )   CALL ice_prt3D     ('iceupdate')                                       ! prints 
    299       IF( nn_timing == 1                 )   CALL timing_stop   ('ice_update')                                      ! timing 
     299      IF( ln_timing                      )   CALL timing_stop   ('ice_update')                                      ! timing 
    300300      ! 
    301301   END SUBROUTINE ice_update_flx 
     
    334334      REAL(wp) ::   zat_v, zvtau_ice, zv_t, zrhoco  !   -      - 
    335335      !!--------------------------------------------------------------------- 
    336  
    337       IF( nn_timing == 1 )  CALL timing_start('ice_update_tau') 
     336      IF( ln_timing )   CALL timing_start('ice_update_tau') 
    338337 
    339338      IF( kt == nit000 .AND. lwp ) THEN 
     
    381380      CALL lbc_lnk_multi( utau, 'U', -1., vtau, 'V', -1. )   ! lateral boundary condition 
    382381      ! 
    383       IF( nn_timing == 1 )  CALL timing_stop('ice_update_tau') 
     382      IF( ln_timing )   CALL timing_stop('ice_update_tau') 
    384383      !   
    385384   END SUBROUTINE ice_update_tau 
     
    400399      IF(lwp) WRITE(numout,*) 'ice_update_init: ???? ' 
    401400      IF(lwp) WRITE(numout,*) '~~~~~~~~~~~~~~~' 
    402  
     401      ! 
    403402      !                                      ! allocate ice_update array 
    404403      IF( ice_update_alloc() /= 0 )   CALL ctl_stop( 'STOP', 'ice_update_init : unable to allocate standard arrays' ) 
     
    407406      ! 
    408407   END SUBROUTINE ice_update_init 
     408 
    409409 
    410410   SUBROUTINE update_rst( cdrw, kt ) 
Note: See TracChangeset for help on using the changeset viewer.