- Timestamp:
- 2012-11-19T13:28:55+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_r3452_UKMO9_RESTART/NEMOGCM/NEMO/OPA_SRC/TRD/trdmld_rst.F90
r2528 r3594 46 46 ! to get better performances with NetCDF format: 47 47 ! we open and define the ocean restart_mld file one time step before writing the data (-> at nitrst - 1) 48 ! except if we write ocean restart_mld files every time step or if an ocean restart_mld file was writen at nitend - 149 IF ( kt == nitrst - 1 .OR. nstock == 1 .OR. ( kt == nitend .AND. MOD( nitend - 1, nstock ) == 0 )) THEN48 ! except if we are at the first time step, or if the previous time step we outputted a restart_mld file 49 IF ( kt == nitrst - 1 .OR. nn_stock(nrst) == 1 .OR. nn_stock(nrst)==nn_stock(nrst-1)+1 ) THEN 50 50 ! beware of the format used to write kt (default is i8.8, that should be large enough...) 51 51 IF( nitrst > 999999999 ) THEN ; WRITE(clkt, * ) nitrst
Note: See TracChangeset
for help on using the changeset viewer.