- Timestamp:
- 2017-07-12T15:36:28+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r8321 r8324 210 210 ! !* allocate sbc arrays 211 211 IF( sbc_oce_alloc() /= 0 ) CALL ctl_stop( 'sbc_init : unable to allocate sbc_oce arrays' ) 212 IF( sbc_ice_alloc() /= 0 ) CALL ctl_stop( 'sbc_init : unable to allocate sbc_ice arrays' ) 212 213 ! 213 214 IF( .NOT.ln_isf ) THEN !* No ice-shelf in the domain : allocate and set to zero … … 306 307 ! 307 308 #if defined key_lim3 308 IF ( lk_agrif .AND. nn_ice == 0 ) THEN 309 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 310 ELSEIF( nn_ice == 2 ) THEN ; CALL ice_init ! LIM3 initialization 311 ENDIF 309 IF( nn_ice == 2 ) CALL ice_init ! LIM3 initialization 312 310 #endif 313 IF ( nn_ice == 3 )CALL cice_sbc_init( nsbc ) ! CICE initialization314 ! 315 IF( ln_wave ) CALL sbc_wave_init 311 IF( nn_ice == 3 ) CALL cice_sbc_init( nsbc ) ! CICE initialization 312 ! 313 IF( ln_wave ) CALL sbc_wave_init ! surface wave initialisation 316 314 ! 317 315 END SUBROUTINE sbc_init
Note: See TracChangeset
for help on using the changeset viewer.