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/trcice.F90 – NEMO

Ignore:
Timestamp:
2017-12-19T09:26:25+01:00 (7 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/trcice.F90

    r7753 r9124  
    1212   !!   trc_ice   :  Call the appropriate sea ice tracer subroutine 
    1313   !!---------------------------------------------------------------------- 
    14  
    1514   USE oce_trc         ! shared variables between ocean and passive tracers 
    1615   USE trc             ! passive tracers common variables 
     
    2423   PRIVATE 
    2524    
    26    PUBLIC   trc_ice_ini ! called by trc_nam 
     25   PUBLIC   trc_ice_ini   ! called by trc_nam 
    2726 
     27   !!---------------------------------------------------------------------- 
     28   !! NEMO/TOP 4.0 , NEMO Consortium (2011) 
     29   !! $Id: trcini.F90 9019 2017-12-13 14:58:53Z timgraham $  
     30   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     31   !!---------------------------------------------------------------------- 
    2832CONTAINS 
    2933    
     
    3741      !!             
    3842      !!--------------------------------------------------------------------- 
    39       ! --- Variable declarations --- ! 
    40  
     43      ! 
    4144      IF(lwp) THEN 
    4245         WRITE(numout,*) 
     
    4447         WRITE(numout,*) '~~~~~~~~~~~~~' 
    4548      ENDIF 
    46  
    47       IF( nn_timing == 1 )  CALL timing_start('trc_ice_ini') 
    4849      ! 
    4950      CALL trc_nam_ice 
    5051      ! 
    51       trc_i(:,:,:) = 0.0d0 ! by default 
    52       trc_o(:,:,:) = 0.0d0 ! by default 
    53  
     52      trc_i(:,:,:) = 0._wp  ! by default 
     53      trc_o(:,:,:) = 0._wp  ! by default 
     54      ! 
    5455      IF ( nn_ice_tr == 1 ) THEN 
    5556         IF( ln_pisces  )    CALL trc_ice_ini_pisces       ! PISCES  bio-model 
     
    5960         IF( ln_my_trc  )    CALL trc_ice_ini_my_trc       ! MY_TRC  tracers 
    6061      ENDIF 
    61  
    62       IF( nn_timing == 1 )   CALL timing_stop('trc_ice_ini') 
    6362      ! 
    6463   END SUBROUTINE trc_ice_ini 
     64 
    6565 
    6666   SUBROUTINE trc_nam_ice 
     
    8686         WRITE(numout,*) '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' 
    8787      ENDIF 
    88  
    89       IF( nn_timing == 1 )  CALL timing_start('trc_nam_ice') 
    90  
    9188      ! 
    9289      REWIND( numnat_ref )              ! Namelist namtrc_ice in reference namelist : Passive tracer input data 
     
    110107         cn_trc_o      (jn) = sn_tri_tracer(jn)%ctrc_o 
    111108      END DO 
    112  
    113       IF( nn_timing == 1 )   CALL timing_stop('trc_nam_ice') 
    114109      ! 
    115110   END SUBROUTINE trc_nam_ice 
     
    122117   SUBROUTINE trc_ice_ini                   ! Dummy routine    
    123118   END SUBROUTINE trc_ice_ini 
    124  
    125119   SUBROUTINE trc_nam_ice 
    126120   END SUBROUTINE trc_nam_ice 
    127  
    128121#endif 
    129122 
Note: See TracChangeset for help on using the changeset viewer.