Changeset 7060 for branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim.F90
- Timestamp:
- 2016-10-20T16:16:29+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_lim.F90
r6994 r7060 118 118 IF( nn_timing == 1 ) CALL timing_start('sbc_ice_lim') 119 119 120 ! clem: it is important to initialize agrif_lim3 variables here and not in sbc_lim_init 121 # if defined key_agrif 122 IF( kt == nit000 ) THEN 123 IF( .NOT. Agrif_Root() ) CALL Agrif_InitValues_cont_lim3 124 ENDIF 125 # endif 126 120 127 !-----------------------! 121 128 ! --- Ice time step --- ! … … 189 196 ! 190 197 ENDIF 198 191 199 ! --- 192 200 #if defined key_agrif … … 314 322 IF( ierr /= 0 ) CALL ctl_stop('STOP', 'sbc_lim_init : unable to allocate ice arrays') 315 323 ! 316 ! ! adequation jpk versus ice/snow layers/categories317 IF( jpl > jpk .OR. (nlay_i+1) > jpk .OR. nlay_s > jpk ) &318 & CALL ctl_stop( 'STOP', &319 & 'sbc_lim_init: the 3rd dimension of workspace arrays is too small.', &320 & 'use more ocean levels or less ice/snow layers/categories.' )321 !322 324 CALL lim_dyn_init ! set ice dynamics parameters 323 325 ! … … 364 366 IF( nstock == 0 ) nstock = nlast + 1 365 367 ! 366 # if defined key_agrif367 IF( .NOT. Agrif_Root() ) CALL Agrif_InitValues_cont_lim3368 # endif369 368 ! 370 369 END SUBROUTINE sbc_lim_init
Note: See TracChangeset
for help on using the changeset viewer.