Changeset 881 for branches/dev_001_SBC/NEMO/LIM_SRC/limrst.F90
- Timestamp:
- 2008-04-08T11:45:52+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_001_SBC/NEMO/LIM_SRC/limrst.F90
r811 r881 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 sbc_oce 20 20 USE sbc_ice … … 27 27 PRIVATE 28 28 29 PUBLIC lim_rst_opn ! routine called by ??? module30 PUBLIC lim_rst_write ! routine called by lim_step.F9031 PUBLIC lim_rst_read ! routine called by lim_init.F9029 PUBLIC lim_rst_opn_2 ! routine called by sbcice_lim_2.F90 30 PUBLIC lim_rst_write_2 ! routine called by sbcice_lim_2.F90 31 PUBLIC lim_rst_read_2 ! routine called by iceini_2.F90 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 87 SUBROUTINE lim_rst_write ( kt )88 !!---------------------------------------------------------------------- 89 !! *** lim_rst_write ***84 END SUBROUTINE lim_rst_opn_2 85 86 87 SUBROUTINE lim_rst_write_2( kt ) 88 !!---------------------------------------------------------------------- 89 !! *** lim_rst_write_2 *** 90 90 !! 91 91 !! ** purpose : output of sea-ice variable in a netcdf file … … 100 100 IF( iter == nitrst ) THEN 101 101 IF(lwp) WRITE(numout,*) 102 IF(lwp) WRITE(numout,*) 'lim_rst_write : write ice restart file kt =', kt103 IF(lwp) WRITE(numout,*) '~~~~~~~~~~~~~ '104 ENDIF 105 106 ! Write in numriw (if iter 102 IF(lwp) WRITE(numout,*) 'lim_rst_write_2 : write ice restart file kt =', kt 103 IF(lwp) WRITE(numout,*) '~~~~~~~~~~~~~~~' 104 ENDIF 105 106 ! Write in numriw (if iter == nitrst) 107 107 ! ------------------ 108 108 ! ! calendar control … … 164 164 ENDIF 165 165 ! 166 END SUBROUTINE lim_rst_write 167 168 169 SUBROUTINE lim_rst_read 170 !!---------------------------------------------------------------------- 171 !! *** lim_rst_read ***166 END SUBROUTINE lim_rst_write_2 167 168 169 SUBROUTINE lim_rst_read_2 170 !!---------------------------------------------------------------------- 171 !! *** lim_rst_read_2 *** 172 172 !! 173 173 !! ** purpose : read of sea-ice variable restart in a netcdf file … … 178 178 IF(lwp) THEN 179 179 WRITE(numout,*) 180 WRITE(numout,*) 'lim_rst_read : read ice NetCDF restart file'181 WRITE(numout,*) '~~~~~~~~~~~~ '180 WRITE(numout,*) 'lim_rst_read_2 : read ice NetCDF restart file' 181 WRITE(numout,*) '~~~~~~~~~~~~~~' 182 182 ENDIF 183 183 … … 247 247 CALL iom_close( numrir ) 248 248 ! 249 END SUBROUTINE lim_rst_read 249 END SUBROUTINE lim_rst_read_2 250 250 251 251 #else 252 252 !!---------------------------------------------------------------------- 253 !! Default option : Empty module NO LIMsea-ice model253 !! Default option : Empty module NO LIM 2.0 sea-ice model 254 254 !!---------------------------------------------------------------------- 255 255 #endif 256 256 257 257 !!====================================================================== 258 END MODULE limrst 258 END MODULE limrst_2
Note: See TracChangeset
for help on using the changeset viewer.