- Timestamp:
- 2017-07-13T19:17:41+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r8324 r8331 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 #if ! defined key_lim3 && ! defined key_cice 213 IF( sbc_ice_alloc() /= 0 ) CALL ctl_stop( 'sbc_init : unable to allocate sbc_ice arrays' ) 214 #endif 213 215 ! 214 216 IF( .NOT.ln_isf ) THEN !* No ice-shelf in the domain : allocate and set to zero … … 307 309 ! 308 310 #if defined key_lim3 309 IF( nn_ice == 2 ) CALL ice_init ! LIM3 initialization 311 IF ( lk_agrif .AND. nn_ice == 0 ) THEN 312 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 313 ELSEIF( nn_ice == 2 ) THEN 314 CALL ice_init ! LIM3 initialization 315 ENDIF 310 316 #endif 311 317 IF( nn_ice == 3 ) CALL cice_sbc_init( nsbc ) ! CICE initialization
Note: See TracChangeset
for help on using the changeset viewer.