- Timestamp:
- 2017-09-18T16:54:04+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/icerst.F90
r8518 r8534 2 2 !!====================================================================== 3 3 !! *** MODULE icerst *** 4 !! Ice restart : writethe ice restart file4 !! sea-ice : write/read the ice restart file 5 5 !!====================================================================== 6 6 !! History: 3.0 ! 2005-04 (M. Vancoppenolle) Original code … … 10 10 #if defined key_lim3 11 11 !!---------------------------------------------------------------------- 12 !! 'key_lim3' LIM sea-ice model13 !!---------------------------------------------------------------------- 14 !! ice_rst_opn : open icerestart file15 !! ice_rst_write : write of therestart file16 !! ice_rst_read : read therestart file12 !! 'key_lim3' ESIM sea-ice model 13 !!---------------------------------------------------------------------- 14 !! ice_rst_opn : open restart file 15 !! ice_rst_write : write restart file 16 !! ice_rst_read : read restart file 17 17 !!---------------------------------------------------------------------- 18 18 USE ice ! sea-ice variables … … 22 22 ! 23 23 USE in_out_manager ! I/O manager 24 USE iom ! I/O library24 USE iom ! I/O manager library 25 25 USE lib_mpp ! MPP library 26 USE lib_fortran ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined) 26 USE lib_fortran ! fortran utilities (glob_sum + no signed zero) 27 USE timing ! Timing 27 28 28 29 IMPLICIT NONE … … 44 45 !! *** ice_rst_opn *** 45 46 !! 46 !! ** purpose : o utput of sea-ice variable in a netcdffile47 !! ** purpose : open restart file 47 48 !!---------------------------------------------------------------------- 48 49 INTEGER, INTENT(in) :: kt ! number of iteration … … 95 96 !! *** ice_rst_write *** 96 97 !! 97 !! ** purpose : output of sea-ice variable in a netcdffile98 !! ** purpose : write restart file 98 99 !!---------------------------------------------------------------------- 99 100 INTEGER, INTENT(in) :: kt ! number of iteration … … 105 106 REAL(wp), DIMENSION(jpi,jpj) :: z2d 106 107 !!---------------------------------------------------------------------- 108 109 IF( nn_timing == 1 ) CALL timing_start('ice_rst') 107 110 108 111 iter = kt + nn_fsbc - 1 ! ice restarts are written at kt == nitrst - nn_fsbc + 1 … … 184 187 ENDIF 185 188 ! 189 IF( nn_timing == 1 ) CALL timing_stop('ice_rst') 186 190 ! 187 191 END SUBROUTINE ice_rst_write … … 192 196 !! *** ice_rst_read *** 193 197 !! 194 !! ** purpose : read of sea-ice variable restart in a netcdffile198 !! ** purpose : read restart file 195 199 !!---------------------------------------------------------------------- 196 200 INTEGER :: jk, jl … … 202 206 LOGICAL :: llok 203 207 !!---------------------------------------------------------------------- 208 209 IF( nn_timing == 1 ) CALL timing_start('ice_rst') 204 210 205 211 IF(lwp) THEN … … 279 285 CALL iom_get( numrir, jpdom_autoglo, 'v_ice', v_ice ) 280 286 287 IF( nn_timing == 1 ) CALL timing_stop('ice_rst') 288 281 289 END SUBROUTINE ice_rst_read 282 290 283 291 #else 284 292 !!---------------------------------------------------------------------- 285 !! Default option : Empty module NO LIM sea-ice model293 !! Default option : Empty module NO ESIM sea-ice model 286 294 !!---------------------------------------------------------------------- 287 295 #endif
Note: See TracChangeset
for help on using the changeset viewer.