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

    r9119 r9124  
    6060      !!              - allocates passive tracer BC data structure  
    6161      !!---------------------------------------------------------------------- 
    62       ! 
    6362      INTEGER,INTENT(IN) :: ntrc                           ! number of tracers 
    6463      INTEGER            :: jl, jn , ib, ibd, ii, ij, ik   ! dummy loop indices 
     
    8180                        & cn_dir_cbc, sn_trccbc, rn_trcfac, ln_rnf_ctl, rn_bc_time 
    8281      NAMELIST/namtrc_bdy/ cn_trc_dflt, cn_trc, nn_trcdmp_bdy 
    83  
    8482      !!---------------------------------------------------------------------- 
    85       IF( nn_timing == 1 )  CALL timing_start('trc_bc_ini') 
    8683      ! 
    8784      IF( lwp ) THEN 
     
    332329      ! 
    333330      DEALLOCATE( slf_i )          ! deallocate local field structure 
    334       IF( nn_timing == 1 )  CALL timing_stop('trc_bc_ini') 
    335331      ! 
    336332   END SUBROUTINE trc_bc_ini 
     
    348344      !!---------------------------------------------------------------------- 
    349345      USE fldread 
    350        
    351       !! * Arguments 
     346      !!       
    352347      INTEGER, INTENT( in ) ::   kt              ! ocean time-step index 
    353348      INTEGER, INTENT( in ), OPTIONAL ::   jit   ! subcycle time-step index (for timesplitting option) 
     
    357352      !!--------------------------------------------------------------------- 
    358353      ! 
    359       IF( nn_timing == 1 )  CALL timing_start('trc_bc') 
     354      IF( ln_timing )   CALL timing_start('trc_bc') 
    360355 
    361356      IF( kt == nit000 .AND. lwp) THEN 
     
    452447      END DO                                                     ! tracer loop 
    453448      !                                                          ! =========== 
    454       ! 
    455       IF( nn_timing == 1 )  CALL timing_stop('trc_bc') 
     449      IF( ln_timing )   CALL timing_stop('trc_bc') 
    456450      ! 
    457451   END SUBROUTINE trc_bc 
     
    462456   !!---------------------------------------------------------------------- 
    463457CONTAINS 
    464  
    465458   SUBROUTINE trc_bc_ini( ntrc )        ! Empty routine 
    466459      INTEGER,INTENT(IN) :: ntrc                           ! number of tracers 
Note: See TracChangeset for help on using the changeset viewer.