- Timestamp:
- 2013-11-04T12:51:55+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/step.F90
r3769 r4147 81 81 # endif 82 82 #endif 83 83 84 indic = 0 ! reset to no error condition 84 85 IF( kstp == nit000 ) CALL iom_init ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 86 85 87 IF( kstp /= nit000 ) CALL day( kstp ) ! Calendar (day was already called at nit000 in day_init) 86 88 CALL iom_setkt( kstp - nit000 + 1 ) ! say to iom that we are at time step kstp … … 90 92 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 91 93 CALL sbc ( kstp ) ! Sea Boundary Condition (including sea-ice) 94 92 95 IF( lk_tide.AND.(kstp /= nit000 )) CALL tide_init ( kstp ) 93 96 IF( lk_tide ) CALL sbc_tide( kstp ) … … 251 254 CALL dia_wri_state( 'output.abort', kstp ) 252 255 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 254 261 IF( lrst_oce ) CALL rst_write ( kstp ) ! write output ocean restart file 255 262 IF( lk_obc ) CALL obc_rst_write( kstp ) ! write open boundary restart file
Note: See TracChangeset
for help on using the changeset viewer.