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

Ignore:
Timestamp:
2020-12-02T18:22:24+01:00 (3 years ago)
Author:
techene
Message:

#2385 branch updated with trunk 13970

Location:
NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3

    • Property svn:externals
      •  

        old new  
        88 
        99# SETTE 
        10 ^/utils/CI/sette@13559        sette 
         10^/utils/CI/sette@13795        sette 
  • NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/src/OCE/step.F90

    r13915 r14018  
    122122         IF( ln_crs      )   CALL iom_init( TRIM(cxios_context)//"_crs" )  ! for coarse grid 
    123123      ENDIF 
     124      IF((kstp == nitrst) .AND. lwxios) THEN 
     125         CALL iom_swap(      cw_ocerst_cxt          ) 
     126         CALL iom_init_closedef(cw_ocerst_cxt) 
     127         CALL iom_setkt( kstp - nit000 + 1,      cw_ocerst_cxt          ) 
     128#if defined key_top 
     129         CALL iom_swap(      cw_toprst_cxt          ) 
     130         CALL iom_init_closedef(cw_toprst_cxt) 
     131         CALL iom_setkt( kstp - nit000 + 1,      cw_toprst_cxt          ) 
     132#endif 
     133      ENDIF 
     134#if defined key_si3 
     135      IF(((kstp + nn_fsbc - 1) == nitrst) .AND. lwxios) THEN 
     136         CALL iom_swap(      cw_icerst_cxt          ) 
     137         CALL iom_init_closedef(cw_icerst_cxt) 
     138         CALL iom_setkt( kstp - nit000 + 1,      cw_icerst_cxt          ) 
     139      ENDIF 
     140#endif 
    124141      IF( kstp /= nit000 )   CALL day( kstp )         ! Calendar (day was already called at nit000 in day_init) 
    125142                             CALL iom_setkt( kstp - nit000 + 1,      cxios_context          )   ! tell IOM we are at time step kstp 
     
    336353      IF( kstp == nit000 ) THEN                          ! 1st time step only 
    337354                                        CALL iom_close( numror )   ! close input  ocean restart file 
     355         IF( lrxios )                   CALL iom_context_finalize(      cr_ocerst_cxt         ) 
    338356         IF(lwm)                        CALL FLUSH    ( numond )   ! flush output namelist oce 
    339357         IF(lwm .AND. numoni /= -1 )    CALL FLUSH    ( numoni )   ! flush output namelist ice (if exist) 
     
    351369      IF( kstp == nitend .OR. nstop > 0 ) THEN  
    352370                      CALL iom_context_finalize(      cxios_context          ) ! needed for XIOS+AGRIF 
    353          IF( lrxios ) CALL iom_context_finalize(      crxios_context         ) 
    354371         IF( ln_crs ) CALL iom_context_finalize( trim(cxios_context)//"_crs" ) !  
    355372      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.