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 918 for trunk/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2008-05-09T12:00:09+02:00 (16 years ago)
Author:
rblod
Message:

Change ice_ocean stress computation, step II, see ticket #128

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcmod.F90

    r888 r918  
    5555   INTEGER , PUBLIC ::   nn_ice      = 0         !: flag on ice in the surface boundary condition (=0/1/2) 
    5656   INTEGER , PUBLIC ::   nn_fwb      = 0         !: type of FreshWater Budget control (=0/1/2) 
     57   INTEGER          ::   nn_ico_cpl = 0    ! ice-ocean coupling indicator:         !!gm   ===>> to be put in namelist 
     58   !                                       !  = 0   LIM-3 old case 
     59   !                                       !  = 1   stresses computed using now ocean velocity 
     60   !                                       !  = 2   combination of 0 and 1 cases 
     61 
    5762   NAMELIST/namsbc/ nn_fsbc, ln_ana, ln_flx, ln_blk_clio, ln_blk_core, ln_cpl,   & 
    58       &             nn_ice , ln_dm2dc, ln_rnf, ln_ssr, nn_fwb 
     63      &             nn_ice , ln_dm2dc, ln_rnf, ln_ssr, nn_fwb, nn_ico_cpl 
    5964 
    6065   INTEGER ::   nsbc   ! type of surface boundary condition (deduced from namsbc informations) 
     
    116121         WRITE(numout,*) '           Misc. options of sbc : ' 
    117122         WRITE(numout,*) '              ice management in the sbc (=0/1/2)         nn_ice      = ', nn_ice  
     123         WRITE(numout,*) '              ice-ocean stress computation (=0/1/2)      nn_ico_cpl  = ', nn_ico_cpl 
    118124         WRITE(numout,*) '              daily mean to diurnal cycle qsr            ln_dm2dc    = ', ln_dm2dc  
    119125         WRITE(numout,*) '              runoff / runoff mouths                     ln_rnf      = ', ln_rnf 
     
    228234       
    229235      SELECT CASE( nn_ice )                                     ! Update sbc over ice-covered areas 
    230       CASE(  1 )   ;         CALL sbc_ice_if ( kt )                  ! Ice-cover climatology ("Ice-if" model) 
    231          !                                                           ! (update heat and freshwater fluxes) 
    232       CASE(  2 )   ;         CALL sbc_ice_lim_2( kt, nsbc )          ! LIM 2.0 ice model 
    233          !                                                           ! (update heat and freshwater fluxes) 
    234       CASE(  3 )   ;         CALL sbc_ice_lim  ( kt, nsbc )          ! LIM 3.0 ice model 
    235       END SELECT                                                     ! (update all fluxes using bulk + LIM) 
     236      CASE(  1 )   ;         CALL sbc_ice_if ( kt )                     ! Ice-cover climatology ("Ice-if" model) 
     237         !                                                              ! (update heat and freshwater fluxes) 
     238      CASE(  2 )   ;         CALL sbc_ice_lim_2( kt, nsbc )             ! LIM 2.0 ice model 
     239         !                                                              ! (update heat and freshwater fluxes) 
     240      CASE(  3 )   ;         CALL sbc_ice_lim  ( kt, nsbc, nn_ico_cpl)          ! LIM 3.0 ice model 
     241      END SELECT                                                        ! (update all fluxes using bulk + LIM) 
    236242 
    237243      IF( ln_ssr         )   CALL sbc_ssr( kt )                 ! add SST/SSS damping term 
Note: See TracChangeset for help on using the changeset viewer.