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 8426 for branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/iceforcing.F90 – NEMO

Ignore:
Timestamp:
2017-08-08T17:53:09+02:00 (7 years ago)
Author:
clem
Message:

last routine names to be changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/iceforcing.F90

    r8414 r8426  
    1919   USE sbcblk          ! Surface boundary condition: bulk 
    2020   USE sbccpl          ! Surface boundary condition: coupled interface 
    21    USE icealbedo       ! ice albedo 
     21   USE icealb          ! ice albedo 
    2222   ! 
    2323   USE iom             ! I/O manager library 
     
    6464      IF( nn_timing == 1 )   CALL timing_start('ice_forcing_tau') 
    6565 
     66      IF( kt == nit000 .AND. lwp ) THEN 
     67         WRITE(numout,*) 
     68         WRITE(numout,*)'ice_forcing_tau' 
     69         WRITE(numout,*)'~~~~~~~~~~~~~~~' 
     70      ENDIF 
     71 
    6672      SELECT CASE( ksbc ) 
    6773         CASE( jp_usr     )   ;    CALL usrdef_sbc_ice_tau( kt )                 ! user defined formulation 
     
    7884            END DO 
    7985         END DO 
    80          CALL lbc_lnk( utau_ice, 'U', -1. ) 
    81          CALL lbc_lnk( vtau_ice, 'V', -1. ) 
     86         CALL lbc_lnk_multi( utau_ice, 'U', -1., vtau_ice, 'V', -1. ) 
    8287      ENDIF 
    8388 
     
    119124      IF( nn_timing == 1 )   CALL timing_start('ice_forcing_flx') 
    120125 
     126      IF( kt == nit000 .AND. lwp ) THEN 
     127         WRITE(numout,*) 
     128         WRITE(numout,*)'ice_forcing_flx' 
     129         WRITE(numout,*)'~~~~~~~~~~~~~~~' 
     130      ENDIF 
     131 
    121132      ! --- cloud-sky and overcast-sky ice albedos --- ! 
    122       CALL ice_albedo( t_su, ht_i, ht_s, a_ip_frac, h_ip, ln_pnd_rad, zalb_cs, zalb_os ) 
     133      CALL ice_alb( t_su, ht_i, ht_s, a_ip_frac, h_ip, ln_pnd_rad, zalb_cs, zalb_os ) 
    123134 
    124135      ! albedo depends on cloud fraction because of non-linear spectral effects 
     
    140151                                   CALL blk_ice_flx( t_su, alb_ice ) 
    141152            IF( ln_mixcpl      )   CALL sbc_cpl_ice_flx( picefr=at_i_b, palbi=alb_ice, psst=sst_m, pist=t_su ) 
    142             IF( nn_limflx /= 2 )   CALL ice_lim_flx( t_su, alb_ice, qns_ice, qsr_ice, dqns_ice, evap_ice, devap_ice, nn_limflx ) 
     153            IF( nn_limflx /= 2 )   CALL ice_flx_dist( t_su, alb_ice, qns_ice, qsr_ice, dqns_ice, evap_ice, devap_ice, nn_limflx ) 
    143154 
    144155         CASE ( jp_purecpl )                                     ! coupled formulation 
    145156                                   CALL sbc_cpl_ice_flx( picefr=at_i_b, palbi=alb_ice, psst=sst_m, pist=t_su ) 
    146             IF( nn_limflx == 2 )   CALL ice_lim_flx( t_su, alb_ice, qns_ice, qsr_ice, dqns_ice, evap_ice, devap_ice, nn_limflx ) 
     157            IF( nn_limflx == 2 )   CALL ice_flx_dist( t_su, alb_ice, qns_ice, qsr_ice, dqns_ice, evap_ice, devap_ice, nn_limflx ) 
    147158      END SELECT 
    148159 
     
    162173 
    163174 
    164    SUBROUTINE ice_lim_flx( ptn_ice, palb_ice, pqns_ice, pqsr_ice, pdqn_ice, pevap_ice, pdevap_ice, k_limflx ) 
    165       !!--------------------------------------------------------------------- 
    166       !!                  ***  ROUTINE ice_lim_flx  *** 
     175   SUBROUTINE ice_flx_dist( ptn_ice, palb_ice, pqns_ice, pqsr_ice, pdqn_ice, pevap_ice, pdevap_ice, k_limflx ) 
     176      !!--------------------------------------------------------------------- 
     177      !!                  ***  ROUTINE ice_flx_dist  *** 
    167178      !! 
    168179      !! ** Purpose :   update the ice surface boundary condition by averaging and / or 
     
    195206      !!---------------------------------------------------------------------- 
    196207      ! 
    197       IF( nn_timing == 1 )  CALL timing_start('ice_lim_flx') 
     208      IF( nn_timing == 1 )  CALL timing_start('ice_flx_dist') 
    198209      ! 
    199210      SELECT CASE( k_limflx )                              !==  averaged on all ice categories  ==! 
     
    231242      END SELECT 
    232243      ! 
    233       IF( nn_timing == 1 )  CALL timing_stop('ice_lim_flx') 
    234       ! 
    235    END SUBROUTINE ice_lim_flx 
     244      IF( nn_timing == 1 )  CALL timing_stop('ice_flx_dist') 
     245      ! 
     246   END SUBROUTINE ice_flx_dist 
    236247 
    237248 
Note: See TracChangeset for help on using the changeset viewer.