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/TRP/trcdmp.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/TRP/trcdmp.F90

    r9019 r9124  
    8989      !!---------------------------------------------------------------------- 
    9090      ! 
    91       IF( nn_timing == 1 )  CALL timing_start('trc_dmp') 
     91      IF( ln_timing )   CALL timing_start('trc_dmp') 
    9292      ! 
    9393      IF( l_trdtrc )   CALL wrk_alloc( jpi, jpj, jpk, ztrtrd )   ! temporary save of trends 
     
    161161      ENDIF 
    162162      ! 
    163       IF( nn_timing == 1 )  CALL timing_stop('trc_dmp') 
     163      IF( ln_timing )   CALL timing_stop('trc_dmp') 
    164164      ! 
    165165   END SUBROUTINE trc_dmp 
     
    179179      NAMELIST/namtrc_dmp/ nn_zdmp_tr , cn_resto_tr 
    180180      !!---------------------------------------------------------------------- 
    181       ! 
    182       IF( nn_timing == 1 )  CALL timing_start('trc_dmp_ini') 
    183181      ! 
    184182      REWIND( numnat_ref )              ! Namelist namtrc_dmp in reference namelist : Passive tracers newtonian damping 
     
    222220         ! 
    223221      ENDIF 
    224       IF( nn_timing == 1 )  CALL timing_stop('trc_dmp_ini') 
    225222      ! 
    226223   END SUBROUTINE trc_dmp_ini 
Note: See TracChangeset for help on using the changeset viewer.