Changeset 821 for branches/dev_002_LIM/NEMO/LIM_SRC/limrst.F90
- Timestamp:
- 2008-03-06T12:22:15+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_002_LIM/NEMO/LIM_SRC/limrst.F90
r783 r821 1 MODULE limrst 1 MODULE limrst_2 2 2 !!====================================================================== 3 !! *** MODULE limrst ***3 !! *** MODULE limrst_2 *** 4 4 !! Ice restart : write the ice restart file 5 5 !!====================================================================== … … 7 7 !! ! 06-07 (S. Masson) use IOM for restart read/write 8 8 !!---------------------------------------------------------------------- 9 #if defined key_ ice_lim10 !!---------------------------------------------------------------------- 11 !! 'key_ ice_lim' : LIMsea-ice model12 !!---------------------------------------------------------------------- 13 !!---------------------------------------------------------------------- 14 !! lim_rst_opn : open ice restart file15 !! lim_rst_write : write of the ice restart file16 !! lim_rst_read : read the ice restart file17 !!---------------------------------------------------------------------- 18 USE ice 9 #if defined key_lim2 10 !!---------------------------------------------------------------------- 11 !! 'key_lim2' : LIM 2.0 sea-ice model 12 !!---------------------------------------------------------------------- 13 !!---------------------------------------------------------------------- 14 !! lim_rst_opn_2 : open ice restart file 15 !! lim_rst_write_2 : write of the ice restart file 16 !! lim_rst_read_2 : read the ice restart file 17 !!---------------------------------------------------------------------- 18 USE ice_2 19 19 USE dom_oce 20 20 USE ice_oce ! ice variables … … 27 27 PRIVATE 28 28 29 PUBLIC lim_rst_opn ! routine called by ??? module30 PUBLIC lim_rst_write ! routine called by ??? module31 PUBLIC lim_rst_read ! routine called by ??? module29 PUBLIC lim_rst_opn_2 ! routine called by ??? module 30 PUBLIC lim_rst_write_2 ! routine called by ??? module 31 PUBLIC lim_rst_read_2 ! routine called by ??? module 32 32 33 33 LOGICAL, PUBLIC :: lrst_ice !: logical to control the ice restart write … … 42 42 CONTAINS 43 43 44 SUBROUTINE lim_rst_opn ( kt )45 !!---------------------------------------------------------------------- 46 !! *** lim_rst_opn ***44 SUBROUTINE lim_rst_opn_2( kt ) 45 !!---------------------------------------------------------------------- 46 !! *** lim_rst_opn_2 *** 47 47 !! 48 48 !! ** purpose : output of sea-ice variable in a netcdf file … … 82 82 ENDIF 83 83 ! 84 END SUBROUTINE lim_rst_opn 85 86 SUBROUTINE lim_rst_write ( kt )87 !!---------------------------------------------------------------------- 88 !! *** lim_rst_write ***84 END SUBROUTINE lim_rst_opn_2 85 86 SUBROUTINE lim_rst_write_2( kt ) 87 !!---------------------------------------------------------------------- 88 !! *** lim_rst_write_2 *** 89 89 !! 90 90 !! ** purpose : output of sea-ice variable in a netcdf file … … 99 99 IF( iter == nitrst ) THEN 100 100 IF(lwp) WRITE(numout,*) 101 IF(lwp) WRITE(numout,*) 'lim_rst_write : write ice restart file kt =', kt101 IF(lwp) WRITE(numout,*) 'lim_rst_write_2 : write ice restart file kt =', kt 102 102 IF(lwp) WRITE(numout,*) '~~~~~~~' 103 103 ENDIF … … 166 166 ENDIF 167 167 ! 168 END SUBROUTINE lim_rst_write 169 170 171 SUBROUTINE lim_rst_read 172 !!---------------------------------------------------------------------- 173 !! *** lim_rst_read ***168 END SUBROUTINE lim_rst_write_2 169 170 171 SUBROUTINE lim_rst_read_2 172 !!---------------------------------------------------------------------- 173 !! *** lim_rst_read_2 *** 174 174 !! 175 175 !! ** purpose : read of sea-ice variable restart in a netcdf file … … 181 181 IF(lwp) THEN 182 182 WRITE(numout,*) 183 WRITE(numout,*) 'lim_rst_read : read ice NetCDF restart file'183 WRITE(numout,*) 'lim_rst_read_2 : read ice NetCDF restart file' 184 184 WRITE(numout,*) '~~~~~~~~' 185 185 ENDIF … … 257 257 CALL iom_close( numrir ) 258 258 ! 259 END SUBROUTINE lim_rst_read 259 END SUBROUTINE lim_rst_read_2 260 260 261 261 #else 262 262 !!---------------------------------------------------------------------- 263 !! Default option : Empty module NO LIMsea-ice model263 !! Default option : Empty module NO LIM 2.0 sea-ice model 264 264 !!---------------------------------------------------------------------- 265 265 #endif 266 266 267 267 !!====================================================================== 268 END MODULE limrst 268 END MODULE limrst_2
Note: See TracChangeset
for help on using the changeset viewer.