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/OPA_SRC/CRS/crsdomwri.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/OPA_SRC/CRS/crsdomwri.F90

    r9019 r9124  
    33   !! Coarse Ocean initialization : write the coarse ocean domain mesh and mask files 
    44   !!====================================================================== 
    5    !! History :  OPA  ! 1997-02  (G. Madec)  Original code 
    6    !!            8.1  ! 1999-11  (M. Imbard)  NetCDF FORMAT with IOIPSL 
    7    !!   NEMO     1.0  ! 2002-08  (G. Madec)  F90 and several file 
    8    !!            3.0  ! 2008-01  (S. Masson) add dom_uniq_crs 
    9    !!            4.0  ! 2011-01  (A. R. Porter, STFC Daresbury) dynamical allocation 
    10    !!                 ! 2012-06  (J. Simeon, C. Calone, C Ethe )  Reduced and modified for coarse grid 
     5   !! History :  3.6   ! 2012-06  (J. Simeon, C. Calone, C Ethe )  from domwri, reduced and modified for coarse grid 
    116   !!---------------------------------------------------------------------- 
    127 
     
    2520   USE crslbclnk       ! crs mediator to lbclnk 
    2621   USE wrk_nemo        ! Working array 
    27  
    28  
    2922 
    3023   IMPLICIT NONE 
     
    7467      REAL(wp), POINTER, DIMENSION(:,:  ) :: ze3tp, ze3wp 
    7568      !!---------------------------------------------------------------------- 
    76       ! 
    77       IF( nn_timing == 1 )  CALL timing_start('crs_dom_wri') 
    7869      ! 
    7970      CALL wrk_alloc( jpi_crs, jpj_crs,      zprt , zprw  ) 
     
    302293      CALL wrk_dealloc( jpi_crs, jpj_crs, jpk, zdepu, zdepv ) 
    303294      ! 
    304       IF( nn_timing == 1 )  CALL timing_stop('crs_dom_wri') 
    305       ! 
    306        
    307295   END SUBROUTINE crs_dom_wri 
    308296 
     
    327315      !!---------------------------------------------------------------------- 
    328316      ! 
    329       IF( nn_timing == 1 )  CALL timing_start('crs_dom_uniq_crs') 
    330       ! 
    331317      CALL wrk_alloc( jpi_crs, jpj_crs, ztstref ) 
    332318      ! 
     
    347333      CALL wrk_dealloc( jpi_crs, jpj_crs, ztstref ) 
    348334      ! 
    349       IF( nn_timing == 1 )  CALL timing_stop('crs_dom_uniq_crs') 
    350       ! 
    351        
    352335   END SUBROUTINE dom_uniq_crs 
    353336 
Note: See TracChangeset for help on using the changeset viewer.