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

    r13427 r13608  
    1 MODULE stepMLF 
     1MODULE stpMLF 
    22   !!====================================================================== 
    3    !!                       ***  MODULE step  *** 
     3   !!                       ***  MODULE stpMLF  *** 
    44   !! Time-stepping   : manager of the ocean, tracer and ice time stepping 
     5   !!                   using Modified Leap Frog for OCE 
    56   !!====================================================================== 
    67   !! History :  OPA  !  1991-03  (G. Madec)  Original code 
     
    3233   !!            4.0  !  2017-05  (G. Madec)  introduction of the vertical physics manager (zdfphy) 
    3334   !!            4.1  !  2019-08  (A. Coward, D. Storkey) rewrite in preparation for new timestepping scheme 
    34    !!            4.x  !  2020-08  (S. Techene, G. Madec)  quasi eulerian coordinate time stepping  
     35   !!            4.x  !  2020-08  (S. Techene, G. Madec)  quasi eulerian coordinate time stepping 
    3536   !!---------------------------------------------------------------------- 
    3637 
     
    4546   USE step_oce       ! time stepping definition modules 
    4647   ! 
    47    USE iom            ! xIOs server 
    48    USE domqco 
     48   USE domqco         ! quasi-eulerian coordinate 
    4949   USE traatfqco      ! time filtering                   (tra_atf_qco routine) 
    5050   USE dynatfqco      ! time filtering                   (dyn_atf_qco routine) 
     
    5757   PUBLIC   stp_MLF   ! called by nemogcm.F90 
    5858 
    59    !!---------------------------------------------------------------------- 
    60    !! time level indices 
    61    !!---------------------------------------------------------------------- 
    62    INTEGER, PUBLIC :: Nbb, Nnn, Naa, Nrhs          !! used by nemo_init 
     59   !                                          !**  time level indices  **! 
     60   INTEGER, PUBLIC ::   Nbb, Nnn, Naa, Nrhs   !: used by nemo_init 
     61 
     62   !! * Substitutions 
    6363#  include "domzgr_substitute.h90" 
    6464   !!---------------------------------------------------------------------- 
     
    9494      INTEGER ::   ji, jj, jk   ! dummy loop indice 
    9595      INTEGER ::   indic        ! error indicator if < 0 
    96 !!gm kcall can be removed, I guess 
    97       INTEGER ::   kcall        ! optional integer argument (dom_vvl_sf_nxt) 
    98 !!st patch 
    9996      REAL(wp),              DIMENSION(jpi,jpj,jpk) ::   zgdept 
    10097      REAL(wp), ALLOCATABLE, DIMENSION(:,:)         ::   zssh_f 
     
    119116      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    120117      ! 
    121       IF( l_1st_euler ) THEN   
    122          ! start or restart with Euler 1st time-step 
    123          rDt =  rn_Dt    
     118      IF( l_1st_euler ) THEN     ! start or restart with Euler 1st time-step 
     119         rDt   = rn_Dt    
    124120         r1_Dt = 1._wp / rDt 
    125121      ENDIF 
    126122      ! 
    127123      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    128  
    129124      ! update I/O and calendar 
    130125      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
     
    374369      ! 
    375370      IF( l_1st_euler ) THEN         ! recover Leap-frog timestep 
    376          rDt = 2._wp * rn_Dt    
     371         rDt   = 2._wp * rn_Dt    
    377372         r1_Dt = 1._wp / rDt 
    378373         l_1st_euler = .FALSE.       
     
    477472    
    478473   !!====================================================================== 
    479 END MODULE stepMLF 
     474END MODULE stpMLF 
Note: See TracChangeset for help on using the changeset viewer.