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 13608 for NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/src/OCE/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2020-10-14T18:31:28+02:00 (4 years ago)
Author:
techene
Message:

#2385 reordering and remove unnecessary USE - sette test not passed yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/src/OCE/nemogcm.F90

    r13427 r13608  
    4242   !!---------------------------------------------------------------------- 
    4343   USE step_oce       ! module used in the ocean time stepping module (step.F90) 
     44   ! 
    4445   USE phycst         ! physical constant                  (par_cst routine) 
    4546   USE domain         ! domain initialization   (dom_init & dom_cfg routines) 
    46    USE closea         ! treatment of closed seas (for ln_closea) 
    47    USE usrdef_nam     ! user defined configuration 
    48    USE tide_mod, ONLY : tide_init ! tidal components initialization   (tide_init routine) 
    49    USE bdyini         ! open boundary cond. setting       (bdy_init routine) 
     47   USE wet_dry        ! Wetting and drying setting   (wad_init routine) 
     48   USE usrdef_nam     ! user defined configuration namelist 
     49   USE tide_mod, ONLY : tide_init   ! tidal components initialization   (tide_init routine) 
     50   USE bdyini  , ONLY : bdy_init    ! open boundary cond. setting       (bdy_init routine) 
    5051   USE istate         ! initial state setting          (istate_init routine) 
    51    USE ldfdyn         ! lateral viscosity setting      (ldfdyn_init routine) 
    52    USE ldftra         ! lateral diffusivity setting    (ldftra_init routine) 
    5352   USE trdini         ! dyn/tra trends initialization     (trd_init routine) 
    54    USE asminc         ! assimilation increments      
    55    USE asmbkg         ! writing out state trajectory 
    56    USE diaptr         ! poleward transports           (dia_ptr_init routine) 
    57    USE diadct         ! sections transports           (dia_dct_init routine) 
    58    USE diaobs         ! Observation diagnostics       (dia_obs_init routine) 
    59    USE diacfl         ! CFL diagnostics               (dia_cfl_init routine) 
    60    USE diamlr         ! IOM context management for multiple-linear-regression analysis 
     53   USE icbini         ! handle bergs, initialisation 
     54   USE icbstp  , ONLY : icb_end     ! handle bergs, close iceberg files 
     55   USE cpl_oasis3     ! OASIS3 coupling 
     56   USE dyndmp         ! Momentum damping (C1D only) 
     57   USE step_diu       ! diurnal bulk SST timestepping (called from here if run offline) 
     58   USE crsini         ! initialise grid coarsening utility 
     59   USE dia25h  , ONLY : dia_25h_init   ! 25h mean output (initialisation) 
     60   USE c1d            ! 1D configuration 
     61   USE step_c1d       ! Time stepping loop for the 1D configuration 
     62#if defined key_top 
     63   USE trcini         ! passive tracer initialisation 
     64#endif 
     65#if defined key_nemocice_decomp 
     66   USE ice_domain_size, only: nx_global, ny_global 
     67#endif 
    6168#if defined key_qco 
    62    USE stepMLF        ! NEMO time-stepping               (stp_MLF   routine) 
     69   USE stpMLF        ! NEMO time-stepping               (stp_MLF   routine) 
    6370#else 
    6471   USE step           ! NEMO time-stepping                 (stp     routine) 
    6572#endif 
    66    USE isfstp         ! ice shelf                     (isf_stp_init routine) 
    67    USE icbini         ! handle bergs, initialisation 
    68    USE icbstp         ! handle bergs, calving, themodynamics and transport 
    69    USE cpl_oasis3     ! OASIS3 coupling 
    70    USE c1d            ! 1D configuration 
    71    USE step_c1d       ! Time stepping loop for the 1D configuration 
    72    USE dyndmp         ! Momentum damping 
    73    USE stopar         ! Stochastic param.: ??? 
    74    USE stopts         ! Stochastic param.: ??? 
    75    USE diu_layers     ! diurnal bulk SST and coolskin 
    76    USE step_diu       ! diurnal bulk SST timestepping (called from here if run offline) 
    77    USE crsini         ! initialise grid coarsening utility 
    78    USE dia25h         ! 25h mean output 
    79    USE diadetide      ! Weights computation for daily detiding of model diagnostics 
    80    USE sbc_oce , ONLY : lk_oasis 
    81    USE wet_dry        ! Wetting and drying setting   (wad_init routine) 
    82 #if defined key_top 
    83    USE trcini         ! passive tracer initialisation 
    84 #endif 
    85 #if defined key_nemocice_decomp 
    86    USE ice_domain_size, only: nx_global, ny_global 
    87 #endif 
    8873   ! 
    89    USE prtctl         ! Print control 
    90    USE in_out_manager ! I/O manager 
    9174   USE lib_mpp        ! distributed memory computing 
    9275   USE mppini         ! shared/distributed memory setting (mpp_init routine) 
    9376   USE lbcnfd  , ONLY : isendto, nsndto  ! Setup of north fold exchanges  
    9477   USE lib_fortran    ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined) 
    95 #if defined key_iomput 
    96    USE xios           ! xIOserver 
    97 #endif 
    98 #if defined key_agrif 
    99    USE agrif_all_update   ! Master Agrif update 
    100 #endif 
    101    USE halo_mng 
     78   USE halo_mng       ! Halo manager 
    10279 
    10380   IMPLICIT NONE 
     
    196173         ! 
    197174         DO WHILE( istp <= nitend .AND. nstop == 0 ) 
    198  
     175            ! 
    199176            ncom_stp = istp 
    200177            IF( ln_timing ) THEN 
     
    203180               IF ( istp ==         nitend ) elapsed_time = zstptiming - elapsed_time 
    204181            ENDIF 
    205              
     182            ! 
    206183#  if defined key_qco 
    207184            CALL stp_MLF      ( istp ) 
     
    210187#  endif 
    211188            istp = istp + 1 
    212  
     189            ! 
    213190            IF( lwp .AND. ln_timing )   WRITE(numtime,*) 'timing step ', istp-1, ' : ', MPI_Wtime() - zstptiming 
    214  
     191            ! 
    215192         END DO 
    216193         ! 
     
    280257      INTEGER ::   ios, ilocal_comm   ! local integers 
    281258      !! 
    282       NAMELIST/namctl/ sn_cfctl, ln_timing, ln_diacfl,                                & 
    283          &             nn_isplt,  nn_jsplt,  nn_ictls, nn_ictle, nn_jctls, nn_jctle             
     259      NAMELIST/namctl/ sn_cfctl, ln_timing, ln_diacfl, nn_isplt, nn_jsplt , nn_ictls,   & 
     260         &                                             nn_ictle, nn_jctls , nn_jctle 
    284261      NAMELIST/namcfg/ ln_read_cfg, cn_domcfg, ln_closea, ln_write_cfg, cn_domcfg_out, ln_use_jattr 
    285262      !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.