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 9863 for NEMO/branches/2018/dev_r9838_ENHANCE04_MLF/src/TOP/trcrst.F90 – NEMO

Ignore:
Timestamp:
2018-06-30T12:51:02+02:00 (6 years ago)
Author:
gm
Message:

#1911 (ENHANCE-04): simplified implementation of the Euler stepping at nit000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2018/dev_r9838_ENHANCE04_MLF/src/TOP/trcrst.F90

    r9598 r9863  
    44   !! TOP :   Manage the passive tracer restart 
    55   !!====================================================================== 
    6    !! History :    -   !  1991-03  ()  original code 
    7    !!             1.0  !  2005-03 (O. Aumont, A. El Moussaoui) F90 
    8    !!              -   !  2005-10 (C. Ethe) print control 
    9    !!             2.0  !  2005-10 (C. Ethe, G. Madec) revised architecture 
     6   !! History :   -   !  1991-03  ()  original code 
     7   !!            1.0  !  2005-03 (O. Aumont, A. El Moussaoui) F90 
     8   !!             -   !  2005-10 (C. Ethe) print control 
     9   !!            2.0  !  2005-10 (C. Ethe, G. Madec) revised architecture 
    1010   !!---------------------------------------------------------------------- 
    1111#if defined key_top 
     
    1313   !!   'key_top'                                                TOP models 
    1414   !!---------------------------------------------------------------------- 
    15    !!---------------------------------------------------------------------- 
    16    !!   trc_rst        : Restart for passive tracer 
    17    !!   trc_rst_opn    : open  restart file 
    18    !!   trc_rst_read   : read  restart file 
    19    !!   trc_rst_wri    : write restart file 
    20    !!---------------------------------------------------------------------- 
    21    USE oce_trc 
    22    USE trc 
    23    USE iom 
    24    USE daymod 
     15    
     16   !!---------------------------------------------------------------------- 
     17   !!   trc_rst       : Restart for passive tracer 
     18   !!   trc_rst_opn   : open  restart file 
     19   !!   trc_rst_read  : read  restart file 
     20   !!   trc_rst_wri   : write restart file 
     21   !!---------------------------------------------------------------------- 
     22   USE oce_trc        !  
     23   USE trc            ! 
     24   USE daymod         ! 
     25   USE iom            ! 
    2526    
    2627   IMPLICIT NONE 
    2728   PRIVATE 
    2829 
    29    PUBLIC   trc_rst_opn       ! called by ??? 
    30    PUBLIC   trc_rst_read      ! called by ??? 
    31    PUBLIC   trc_rst_wri       ! called by ??? 
    32    PUBLIC   trc_rst_cal 
    33  
    34    !!---------------------------------------------------------------------- 
    35    !! NEMO/TOP 3.7 , NEMO Consortium (2018) 
     30   PUBLIC   trc_rst_opn    ! called by trcstp 
     31   PUBLIC   trc_rst_read   ! called by trcini 
     32   PUBLIC   trc_rst_wri    ! called by trcstp 
     33   PUBLIC   trc_rst_cal    ! called by trcstp & trcini (and OFF/nemogcm) 
     34 
     35   !!---------------------------------------------------------------------- 
     36   !! NEMO/TOP 4.0 , NEMO Consortium (2018) 
    3637   !! $Id$ 
    3738   !! Software governed by the CeCILL licence (./LICENSE) 
     
    9293      ! 
    9394   END SUBROUTINE trc_rst_opn 
     95 
    9496 
    9597   SUBROUTINE trc_rst_read 
     
    269271            ENDIF 
    270272            ! 
    271             IF( ln_rsttr )  THEN   ;    neuler = 1 
    272             ELSE                   ;    neuler = 0 
     273            IF( ln_rsttr )  THEN   ;    l_1st_euler = .FALSE.     ! OFF restart: no Euler 1st time-step 
     274            ELSE                   ;    l_1st_euler = .TRUE.      ! OFF cold start: Euler 1st time-step is used 
    273275            ENDIF 
    274276            ! 
     
    346348#endif 
    347349 
    348    !!---------------------------------------------------------------------- 
    349    !! NEMO/TOP 3.3 , NEMO Consortium (2018) 
    350    !! $Id$ 
    351    !! Software governed by the CeCILL licence (./LICENSE) 
    352350   !!====================================================================== 
    353351END MODULE trcrst 
Note: See TracChangeset for help on using the changeset viewer.