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 12724 for NEMO/branches/2020/dev_r12377_KERNEL-06_techene_e3/src/OCE/stepLF.F90 – NEMO

Ignore:
Timestamp:
2020-04-08T21:37:59+02:00 (4 years ago)
Author:
techene
Message:

branch KERNEL-06 : merge with trunk@12698 #2385 - in duplcated files : changes to comply to the new trunk variables and some loop bug fixes

Location:
NEMO/branches/2020/dev_r12377_KERNEL-06_techene_e3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r12377_KERNEL-06_techene_e3

    • Property svn:externals
      •  

        old new  
        33^/utils/build/mk@HEAD         mk 
        44^/utils/tools@HEAD            tools 
        5 ^/vendors/AGRIF/dev_r11615_ENHANCE-04_namelists_as_internalfiles_agrif@HEAD      ext/AGRIF 
         5^/vendors/AGRIF/dev@HEAD      ext/AGRIF 
        66^/vendors/FCM@HEAD            ext/FCM 
        77^/vendors/IOIPSL@HEAD         ext/IOIPSL 
         8 
         9# SETTE 
         10^/utils/CI/sette@HEAD         sette 
  • NEMO/branches/2020/dev_r12377_KERNEL-06_techene_e3/src/OCE/stepLF.F90

    r12680 r12724  
    107107      ! 
    108108      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     109      ! model timestep 
     110      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
     111      ! 
     112      IF( l_1st_euler ) THEN   
     113         ! start or restart with Euler 1st time-step 
     114         rDt =  rn_Dt    
     115         r1_Dt = 1._wp / rDt 
     116      ENDIF 
     117      ! 
     118      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     119 
    109120      ! update I/O and calendar 
    110121      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
     
    356367      IF( kstp == nitend .OR. indic < 0 ) THEN 
    357368                      CALL iom_context_finalize(      cxios_context          ) ! needed for XIOS+AGRIF 
    358                       IF(lrxios) CALL iom_context_finalize(      crxios_context          ) 
     369         IF(lrxios) CALL iom_context_finalize(      crxios_context          ) 
    359370         IF( ln_crs ) CALL iom_context_finalize( trim(cxios_context)//"_crs" ) ! 
    360371      ENDIF 
    361372#endif 
     373      ! 
     374      IF( l_1st_euler ) THEN         ! recover Leap-frog timestep 
     375         rDt = 2._wp * rn_Dt    
     376         r1_Dt = 1._wp / rDt 
     377         l_1st_euler = .FALSE.       
     378      ENDIF 
    362379      ! 
    363380      IF( ln_timing )   CALL timing_stop('stplf') 
Note: See TracChangeset for help on using the changeset viewer.