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 4147 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2013-11-04T12:51:55+01:00 (10 years ago)
Author:
cetlod
Message:

merge in dev_LOCEAN_2013, the 1st development branch dev_r3853_CNRS9_Confsetting, from its starting point ( r3853 ) on the trunk: see ticket #1169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/step.F90

    r3769 r4147  
    8181# endif 
    8282#endif 
     83 
    8384                             indic = 0                ! reset to no error condition 
    8485      IF( kstp == nit000 )   CALL iom_init            ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 
     86 
    8587      IF( kstp /= nit000 )   CALL day( kstp )         ! Calendar (day was already called at nit000 in day_init) 
    8688                             CALL iom_setkt( kstp - nit000 + 1 )   ! say to iom that we are at time step kstp 
     
    9092      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    9193                         CALL sbc    ( kstp )         ! Sea Boundary Condition (including sea-ice) 
     94 
    9295      IF( lk_tide.AND.(kstp /= nit000 ))   CALL tide_init ( kstp ) 
    9396      IF( lk_tide    )   CALL sbc_tide( kstp ) 
     
    251254                               CALL dia_wri_state( 'output.abort', kstp ) 
    252255      ENDIF 
    253       IF( kstp == nit000   )   CALL iom_close( numror )     ! close input  ocean restart file 
     256      IF( kstp == nit000   )   THEN 
     257         CALL iom_close( numror )     ! close input  ocean restart file 
     258         CALL FLUSH    ( numond )     ! flush output namelist oce 
     259         CALL FLUSH    ( numoni )     ! flush output namelist ice     
     260      ENDIF 
    254261      IF( lrst_oce         )   CALL rst_write    ( kstp )   ! write output ocean restart file 
    255262      IF( lk_obc           )   CALL obc_rst_write( kstp )   ! write open boundary restart file 
Note: See TracChangeset for help on using the changeset viewer.