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 8568 for branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/SAS_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2017-09-27T16:29:24+02:00 (7 years ago)
Author:
gm
Message:

#1911 (ENHANCE-09): PART I.2 - _NONE option + remove zts + see associated wiki page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/SAS_SRC/nemogcm.F90

    r7761 r8568  
    136136      IF( .NOT. Agrif_Root() ) THEN 
    137137         CALL Agrif_ParentGrid_To_ChildGrid() 
    138          IF( nn_timing == 1 )   CALL timing_finalize 
     138         IF( ln_timing )   CALL timing_finalize 
    139139         CALL Agrif_ChildGrid_To_ParentGrid() 
    140140      ENDIF 
    141141#endif 
    142       IF( nn_timing == 1 )   CALL timing_finalize 
     142      IF( ln_timing )   CALL timing_finalize 
    143143      ! 
    144144      CALL nemo_closefile 
     
    172172      NAMELIST/namctl/ ln_ctl   , nn_print, nn_ictls, nn_ictle,   & 
    173173         &             nn_isplt , nn_jsplt, nn_jctls, nn_jctle,   & 
    174          &             nn_timing, nn_diacfl 
     174         &             ln_timing, ln_diacfl 
    175175      NAMELIST/namcfg/ ln_read_cfg, cn_domcfg, ln_write_cfg, cn_domcfg_out, ln_use_jattr 
    176176      !!---------------------------------------------------------------------- 
     
    353353      ENDIF 
    354354      ! 
    355       IF( nn_timing == 1 )  CALL timing_init 
     355      IF( ln_timing    )   CALL timing_init 
    356356      ! 
    357357      !                                     ! General initialization 
    358                             CALL phy_cst    ! Physical constants 
    359                             CALL eos_init   ! Equation of state 
    360                             CALL dom_init   ! Domain 
    361  
    362      IF( ln_nnogather )     CALL nemo_northcomms   ! Initialise the northfold neighbour lists (must be done after the masks are defined) 
    363  
    364       IF( ln_ctl      )     CALL prt_ctl_init   ! Print control 
    365                             CALL day_init   ! model calendar (using both namelist and restart infos) 
    366  
    367                             CALL sbc_init   ! Forcings : surface module  
     358                           CALL phy_cst    ! Physical constants 
     359                           CALL eos_init   ! Equation of state 
     360                           CALL dom_init   ! Domain 
     361 
     362     IF( ln_nnogather )    CALL nemo_northcomms   ! Initialise the northfold neighbour lists (must be done after the masks are defined) 
     363 
     364      IF( ln_ctl      )    CALL prt_ctl_init   ! Print control 
     365                           CALL day_init   ! model calendar (using both namelist and restart infos) 
     366 
     367                           CALL sbc_init   ! Forcings : surface module  
    368368 
    369369      ! ==> clem: open boundaries init. is mandatory for LIM3 because ice BDY is not decoupled from   
    370370      !           the environment of ocean BDY. Therefore bdy is called in both OPA and SAS modules.  
    371371      !           This is not clean and should be changed in the future.  
    372                             CALL bdy_init 
     372                           CALL bdy_init 
    373373      ! ==> 
    374                             CALL icb_init( rdt, nit000)   ! initialise icebergs instance 
     374                           CALL icb_init( rdt, nit000)   ! initialise icebergs instance 
    375375       
    376376      IF(lwp) WRITE(numout,*) 'Euler time step switch is ', neuler 
     
    401401         WRITE(numout,*) '      number of proc. following i     nn_isplt   = ', nn_isplt 
    402402         WRITE(numout,*) '      number of proc. following j     nn_jsplt   = ', nn_jsplt 
    403          WRITE(numout,*) '      timing activated    (0/1)       nn_timing  = ', nn_timing 
     403         WRITE(numout,*) '      timing by routine               ln_timing  = ', ln_timing 
     404         WRITE(numout,*) '      CFL diagnostics                 ln_diacfl  = ', ln_diacfl 
    404405      ENDIF 
    405406      ! 
     
    411412      isplt     = nn_isplt 
    412413      jsplt     = nn_jsplt 
     414!!gm to be remove at the end of the 2017 merge party 
     415      if( ln_timing ) then  ;  nn_timing = 1 
     416      else                  ;  nn_timing = 0 
     417      endif 
     418!!gm end 
    413419 
    414420      IF(lwp) THEN                  ! control print 
Note: See TracChangeset for help on using the changeset viewer.