- Timestamp:
- 2015-02-04T11:10:53+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5044_CNRS_LIM3CLEAN/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim.F90
r5053 r5055 22 22 USE oce ! ocean dynamics and tracers 23 23 USE dom_oce ! ocean space and time domain 24 USE par_ice ! sea-ice parameters25 24 USE ice ! LIM-3: ice variables 26 25 USE thd_ice ! LIM-3: thermodynamical variables … … 304 303 IF(lwp) WRITE(numout,*) '~~~~~~~~~~~ via Louvain la Neuve Ice Model (LIM-3) time stepping' 305 304 ! 305 ! Open the reference and configuration namelist files and namelist output file 306 CALL ctl_opn( numnam_ice_ref, 'namelist_ice_ref', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 307 CALL ctl_opn( numnam_ice_cfg, 'namelist_ice_cfg', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 308 IF(lwm) CALL ctl_opn( numoni, 'output.namelist.ice', 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, 1 ) 309 310 CALL ice_run ! set some ice run parameters including jpl, nlay_i and nlay_s 306 311 ! ! Allocate the ice arrays 307 312 ierr = ice_alloc () ! ice variables … … 316 321 ! ! adequation jpk versus ice/snow layers/categories 317 322 IF( jpl > jpk .OR. (nlay_i+1) > jpk .OR. nlay_s > jpk ) & 318 & CALL ctl_stop( 'STOP', &323 & CALL ctl_stop( 'STOP', & 319 324 & 'sbc_lim_init: the 3rd dimension of workspace arrays is too small.', & 320 325 & 'use more ocean levels or less ice/snow layers/categories.' ) 321 322 ! Open the reference and configuration namelist files and namelist output file 323 CALL ctl_opn( numnam_ice_ref, 'namelist_ice_ref', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 324 CALL ctl_opn( numnam_ice_cfg, 'namelist_ice_cfg', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 325 IF(lwm) CALL ctl_opn( numoni, 'output.namelist.ice', 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, 1 ) 326 ! 327 CALL ice_run ! set some ice run parameters 326 ! 328 327 ! 329 328 CALL lim_thd_init ! set ice thermodynics parameters … … 335 334 CALL lim_itd_init ! ice thickness distribution initialization 336 335 ! 337 CALL lim_itd_me_init ! ice thickness distribution initialization 336 CALL lim_itd_me_init ! ice thickness distribution initialization for mecanical deformation 338 337 ! ! Initial sea-ice state 339 338 IF( .NOT. ln_rstart ) THEN ! start from rest: sea-ice deduced from sst … … 373 372 !! ** input : Namelist namicerun 374 373 !!------------------------------------------------------------------- 375 !clem NAMELIST/namicerun/ jpl, nlay_i, nlay_s, cn_icerst_in, cn_icerst_out, & 376 !clem & ln_limdyn, amax, ln_nicep, ln_limdiahsb, ln_limdiaout 377 NAMELIST/namicerun/ cn_icerst_in, cn_icerst_out, & 374 INTEGER :: ios ! Local integer output status for namelist read 375 NAMELIST/namicerun/ jpl, nlay_i, nlay_s, cn_icerst_in, cn_icerst_out, & 378 376 & ln_limdyn, amax, ln_nicep, ln_limdiahsb, ln_limdiaout 379 INTEGER :: ios ! Local integer output status for namelist read380 377 !!------------------------------------------------------------------- 381 378 ! … … 394 391 WRITE(numout,*) 'ice_run : ice share parameters for dynamics/advection/thermo of sea-ice' 395 392 WRITE(numout,*) ' ~~~~~~' 396 !clemWRITE(numout,*) ' number of ice categories = ', jpl397 !clemWRITE(numout,*) ' number of ice layers = ', nlay_i398 !clemWRITE(numout,*) ' number of snow layers = ', nlay_s393 WRITE(numout,*) ' number of ice categories = ', jpl 394 WRITE(numout,*) ' number of ice layers = ', nlay_i 395 WRITE(numout,*) ' number of snow layers = ', nlay_s 399 396 WRITE(numout,*) ' switch for ice dynamics (1) or not (0) ln_limdyn = ', ln_limdyn 400 397 WRITE(numout,*) ' maximum ice concentration = ', amax
Note: See TracChangeset
for help on using the changeset viewer.