- Timestamp:
- 2017-07-11T14:05:05+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r8313 r8316 116 116 #if defined key_agrif 117 117 IF( Agrif_Root() ) THEN ! AGRIF zoom (cf r1242: possibility to run without ice in fine grid) 118 IF( lk_lim3 ) nn_ice = 3119 IF( lk_cice ) nn_ice = 4118 IF( lk_lim3 ) nn_ice = 2 119 IF( lk_cice ) nn_ice = 3 120 120 ENDIF 121 121 #else 122 IF( lk_lim3 ) nn_ice = 3123 IF( lk_cice ) nn_ice = 4122 IF( lk_lim3 ) nn_ice = 2 123 IF( lk_cice ) nn_ice = 3 124 124 #endif 125 125 ! … … 139 139 WRITE(numout,*) ' Multicategory heat flux formulation (LIM3) nn_limflx = ', nn_limflx 140 140 WRITE(numout,*) ' Sea-ice : ' 141 WRITE(numout,*) ' ice management in the sbc (=0/1/ 3/4) nn_ice = ', nn_ice141 WRITE(numout,*) ' ice management in the sbc (=0/1/2/3) nn_ice = ', nn_ice 142 142 WRITE(numout,*) ' ice embedded into ocean ln_ice_embd = ', ln_ice_embd 143 143 WRITE(numout,*) ' Misc. options of sbc : ' … … 198 198 CASE( 0 ) !- no ice in the domain 199 199 CASE( 1 ) !- Ice-cover climatology ("Ice-if" model) 200 CASE( 3) !- LIM3 ice model201 CASE( 4) !- CICE ice model200 CASE( 2 ) !- LIM3 ice model 201 CASE( 3 ) !- CICE ice model 202 202 IF( .NOT.( ln_blk .OR. ln_cpl ) ) CALL ctl_stop( 'sbc_init : CICE sea-ice model requires ln_blk or ln_cpl = T' ) 203 203 IF( lk_agrif ) CALL ctl_stop( 'sbc_init : CICE sea-ice model not currently available with AGRIF' ) … … 205 205 END SELECT 206 206 ! 207 IF( nn_ice == 3) THEN !- LIM3 case: multi-category flux option207 IF( nn_ice == 2 ) THEN !- LIM3 case: multi-category flux option 208 208 IF(lwp) WRITE(numout,*) 209 209 SELECT CASE( nn_limflx ) ! LIM3 Multi-category heat flux formulation … … 327 327 IF ( lk_agrif .AND. nn_ice == 0 ) THEN 328 328 IF( sbc_ice_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'sbc_ice_alloc : unable to allocate arrays' ) ! clem2017: allocate ice arrays in case agrif + lim + no-ice in child grid 329 ELSEIF( nn_ice == 3) THEN ; CALL sbc_lim_init ! LIM3 initialization330 ELSEIF( nn_ice == 4) THEN ; CALL cice_sbc_init( nsbc ) ! CICE initialization329 ELSEIF( nn_ice == 2 ) THEN ; CALL sbc_lim_init ! LIM3 initialization 330 ELSEIF( nn_ice == 3 ) THEN ; CALL cice_sbc_init( nsbc ) ! CICE initialization 331 331 ENDIF 332 332 ! … … 421 421 SELECT CASE( nn_ice ) ! Update heat and freshwater fluxes over sea-ice areas 422 422 CASE( 1 ) ; CALL sbc_ice_if ( kt ) ! Ice-cover climatology ("Ice-if" model) 423 CASE( 3) ; CALL sbc_ice_lim ( kt, nsbc ) ! LIM-3 ice model424 CASE( 4) ; CALL sbc_ice_cice ( kt, nsbc ) ! CICE ice model423 CASE( 2 ) ; CALL sbc_ice_lim ( kt, nsbc ) ! LIM-3 ice model 424 CASE( 3 ) ; CALL sbc_ice_cice ( kt, nsbc ) ! CICE ice model 425 425 END SELECT 426 426 … … 530 530 !!--------------------------------------------------------------------- 531 531 ! 532 IF( nn_ice == 4) CALL cice_sbc_final532 IF( nn_ice == 3 ) CALL cice_sbc_final 533 533 ! 534 534 END SUBROUTINE sbc_final
Note: See TracChangeset
for help on using the changeset viewer.