New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 8324 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2017-07-12T15:36:28+02:00 (7 years ago)
Author:
clem
Message:

STEP3 (2): clean separation between sea-ice and ocean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r8321 r8324  
    210210      !                             !* allocate sbc arrays 
    211211      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' )               
    212213      ! 
    213214      IF( .NOT.ln_isf ) THEN        !* No ice-shelf in the domain : allocate and set to zero 
     
    306307      ! 
    307308#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 
    312310#endif 
    313       IF    (                nn_ice == 3 )            CALL cice_sbc_init( nsbc )   ! CICE initialization 
    314       ! 
    315       IF( ln_wave     )   CALL sbc_wave_init              ! surface wave initialisation 
     311      IF( nn_ice == 3 )   CALL cice_sbc_init( nsbc )   ! CICE initialization 
     312      ! 
     313      IF( ln_wave     )   CALL sbc_wave_init           ! surface wave initialisation 
    316314      ! 
    317315   END SUBROUTINE sbc_init 
Note: See TracChangeset for help on using the changeset viewer.