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 8316 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2017-07-11T14:05:05+02:00 (7 years ago)
Author:
clem
Message:

STEP2 (3): remove obsolete features

File:
1 edited

Legend:

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

    r8313 r8316  
    116116#if defined key_agrif 
    117117      IF( Agrif_Root() ) THEN                ! AGRIF zoom (cf r1242: possibility to run without ice in fine grid) 
    118          IF( lk_lim3 )   nn_ice      = 3 
    119          IF( lk_cice )   nn_ice      = 4 
     118         IF( lk_lim3 )   nn_ice      = 2 
     119         IF( lk_cice )   nn_ice      = 3 
    120120      ENDIF 
    121121#else 
    122       IF( lk_lim3 )   nn_ice      = 3 
    123       IF( lk_cice )   nn_ice      = 4 
     122      IF( lk_lim3 )   nn_ice      = 2 
     123      IF( lk_cice )   nn_ice      = 3 
    124124#endif 
    125125      ! 
     
    139139         WRITE(numout,*) '         Multicategory heat flux formulation (LIM3) nn_limflx     = ', nn_limflx 
    140140         WRITE(numout,*) '      Sea-ice : ' 
    141          WRITE(numout,*) '         ice management in the sbc (=0/1/3/4)       nn_ice        = ', nn_ice 
     141         WRITE(numout,*) '         ice management in the sbc (=0/1/2/3)       nn_ice        = ', nn_ice 
    142142         WRITE(numout,*) '         ice embedded into ocean                    ln_ice_embd   = ', ln_ice_embd 
    143143         WRITE(numout,*) '      Misc. options of sbc : ' 
     
    198198      CASE( 0 )                        !- no ice in the domain 
    199199      CASE( 1 )                        !- Ice-cover climatology ("Ice-if" model)   
    200       CASE( 3 )                        !- LIM3 ice model 
    201       CASE( 4 )                        !- CICE ice model 
     200      CASE( 2 )                        !- LIM3 ice model 
     201      CASE( 3 )                        !- CICE ice model 
    202202         IF( .NOT.( ln_blk .OR. ln_cpl ) )   CALL ctl_stop( 'sbc_init : CICE sea-ice model requires ln_blk or ln_cpl = T' ) 
    203203         IF( lk_agrif                    )   CALL ctl_stop( 'sbc_init : CICE sea-ice model not currently available with AGRIF' )  
     
    205205      END SELECT 
    206206      ! 
    207       IF( nn_ice == 3 ) THEN           !- LIM3 case: multi-category flux option 
     207      IF( nn_ice == 2 ) THEN           !- LIM3 case: multi-category flux option 
    208208         IF(lwp) WRITE(numout,*) 
    209209         SELECT CASE( nn_limflx )         ! LIM3 Multi-category heat flux formulation 
     
    327327      IF    ( lk_agrif .AND. nn_ice == 0 ) THEN 
    328328                         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 initialization 
    330       ELSEIF(                nn_ice == 4 ) THEN   ;   CALL cice_sbc_init( nsbc )   ! CICE initialization 
     329      ELSEIF(                nn_ice == 2 ) THEN   ;   CALL sbc_lim_init            ! LIM3 initialization 
     330      ELSEIF(                nn_ice == 3 ) THEN   ;   CALL cice_sbc_init( nsbc )   ! CICE initialization 
    331331      ENDIF 
    332332      ! 
     
    421421      SELECT CASE( nn_ice )                                       ! Update heat and freshwater fluxes over sea-ice areas 
    422422      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 model 
    424       CASE(  4 )   ;         CALL sbc_ice_cice ( kt, nsbc )          ! CICE ice model 
     423      CASE(  2 )   ;         CALL sbc_ice_lim  ( kt, nsbc )          ! LIM-3 ice model 
     424      CASE(  3 )   ;         CALL sbc_ice_cice ( kt, nsbc )          ! CICE ice model 
    425425      END SELECT 
    426426 
     
    530530      !!--------------------------------------------------------------------- 
    531531      ! 
    532       IF( nn_ice == 4 )   CALL cice_sbc_final 
     532      IF( nn_ice == 3 )   CALL cice_sbc_final 
    533533      ! 
    534534   END SUBROUTINE sbc_final 
Note: See TracChangeset for help on using the changeset viewer.