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 14553 for NEMO/trunk/src/OCE/stpmlf.F90 – NEMO

Ignore:
Timestamp:
2021-02-26T18:01:43+01:00 (3 years ago)
Author:
gsamson
Message:

merge ticket2628_r14502_abl_restart_xios branch into trunk; sette identical between r14502 and r14544; ticket #2628

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/stpmlf.F90

    r14433 r14553  
    141141#endif 
    142142      ENDIF 
     143      IF( kstp + nn_fsbc - 1 == nitrst .AND. lwxios ) THEN 
    143144#if defined key_si3 
    144       IF( kstp + nn_fsbc - 1 == nitrst .AND. lwxios ) THEN 
    145145                             CALL iom_swap(                     cw_icerst_cxt ) 
    146146                             CALL iom_init_closedef(            cw_icerst_cxt ) 
    147147                             CALL iom_setkt( kstp - nit000 + 1, cw_icerst_cxt ) 
    148       ENDIF 
    149 #endif 
     148#endif 
     149         IF( ln_abl      ) THEN 
     150                             CALL iom_swap(                     cw_ablrst_cxt ) 
     151                             CALL iom_init_closedef(            cw_ablrst_cxt ) 
     152                             CALL iom_setkt( kstp - nit000 + 1, cw_ablrst_cxt ) 
     153         ENDIF 
     154      ENDIF 
    150155      IF( kstp /= nit000 )   CALL day( kstp )         ! Calendar (day was already called at nit000 in day_init) 
    151156                             CALL iom_setkt( kstp - nit000 + 1,      cxios_context          )   ! tell IOM we are at time step kstp 
Note: See TracChangeset for help on using the changeset viewer.