Ignore:
Timestamp:
Jun 14, 2015, 9:13:32 PM (9 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes -r2237:2291 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/phylmd/ocean_cpl_mod.F90

    r1910 r2298  
    4646       windsp, fder_old, &
    4747       itime, dtime, knon, knindex, &
    48        p1lay, cdragh, cdragm, precip_rain, precip_snow, temp_air, spechum, &
     48       p1lay, cdragh, cdragq, cdragm, precip_rain, precip_snow, temp_air, spechum, &
    4949       AcoefH, AcoefQ, BcoefH, BcoefQ, &
    5050       AcoefU, AcoefV, BcoefU, BcoefV, &
    51        ps, u1, v1, &
     51       ps, u1, v1, gustiness, &
    5252       radsol, snow, agesno, &
    5353       qsurf, evap, fluxsens, fluxlat, flux_u1, flux_v1, &
     
    6565
    6666    INCLUDE "YOMCST.h"
     67    INCLUDE "clesphys.h"
    6768!   
    6869! Input arguments 
     
    7778    REAL, DIMENSION(klon), INTENT(IN)        :: fder_old
    7879    REAL, DIMENSION(klon), INTENT(IN)        :: p1lay
    79     REAL, DIMENSION(klon), INTENT(IN)        :: cdragh, cdragm
     80    REAL, DIMENSION(klon), INTENT(IN)        :: cdragh, cdragq, cdragm
    8081    REAL, DIMENSION(klon), INTENT(IN)        :: precip_rain, precip_snow
    8182    REAL, DIMENSION(klon), INTENT(IN)        :: temp_air, spechum
     
    8384    REAL, DIMENSION(klon), INTENT(IN)        :: AcoefU, AcoefV, BcoefU, BcoefV
    8485    REAL, DIMENSION(klon), INTENT(IN)        :: ps
    85     REAL, DIMENSION(klon), INTENT(IN)        :: u1, v1
     86    REAL, DIMENSION(klon), INTENT(IN)        :: u1, v1, gustiness
    8687
    8788! In/Output arguments
     
    136137
    137138    CALL calcul_fluxs(knon, is_oce, dtime, &
    138          tsurf_cpl, p1lay, cal, beta, cdragh, ps, &
     139         tsurf_cpl, p1lay, cal, beta, cdragh, cdragq, ps, &
    139140         precip_rain, precip_snow, snow, qsurf,  &
    140          radsol, dif_grnd, temp_air, spechum, u1_lay, v1_lay, &
    141          AcoefH, AcoefQ, BcoefH, BcoefQ, &
     141         radsol, dif_grnd, temp_air, spechum, u1_lay, v1_lay, gustiness, &
     142         f_qsat_oce,AcoefH, AcoefQ, BcoefH, BcoefQ, &
    142143         tsurf_new, evap, fluxlat, fluxsens, dflux_s, dflux_l)
    143144   
    144145! - Flux calculation at first modele level for U and V
    145146    CALL calcul_flux_wind(knon, dtime, &
    146          u0_cpl, v0_cpl, u1, v1, cdragm, &
     147         u0_cpl, v0_cpl, u1, v1, gustiness, cdragm, &
    147148         AcoefU, AcoefV, BcoefU, BcoefV, &
    148149         p1lay, temp_air, &
     
    185186       AcoefH, AcoefQ, BcoefH, BcoefQ, &
    186187       AcoefU, AcoefV, BcoefU, BcoefV, &
    187        ps, u1, v1, pctsrf, &
     188       ps, u1, v1, gustiness, pctsrf, &
    188189       radsol, snow, qsurf, &
    189190       alb1_new, alb2_new, evap, fluxsens, fluxlat, flux_u1, flux_v1, &
     
    200201
    201202    INCLUDE "YOMCST.h"
     203    INCLUDE "clesphys.h"
    202204
    203205! Input arguments
     
    219221    REAL, DIMENSION(klon), INTENT(IN)        :: AcoefU, AcoefV, BcoefU, BcoefV
    220222    REAL, DIMENSION(klon), INTENT(IN)        :: ps
    221     REAL, DIMENSION(klon), INTENT(IN)        :: u1, v1
     223    REAL, DIMENSION(klon), INTENT(IN)        :: u1, v1, gustiness
    222224    REAL, DIMENSION(klon,nbsrf), INTENT(IN)  :: pctsrf
    223225
     
    279281
    280282    CALL calcul_fluxs(knon, is_sic, dtime, &
    281          tsurf_cpl, p1lay, cal, beta, cdragh, ps, &
     283         tsurf_cpl, p1lay, cal, beta, cdragh, cdragh, ps, &
    282284         precip_rain, precip_snow, snow, qsurf,  &
    283          radsol, dif_grnd, temp_air, spechum, u1_lay, v1_lay, &
    284          AcoefH, AcoefQ, BcoefH, BcoefQ, &
     285         radsol, dif_grnd, temp_air, spechum, u1_lay, v1_lay, gustiness, &
     286         f_qsat_oce,AcoefH, AcoefQ, BcoefH, BcoefQ, &
    285287         tsurf_new, evap, fluxlat, fluxsens, dflux_s, dflux_l)
    286288
     
    288290! - Flux calculation at first modele level for U and V
    289291    CALL calcul_flux_wind(knon, dtime, &
    290          u0, v0, u1, v1, cdragm, &
     292         u0, v0, u1, v1, gustiness, cdragm, &
    291293         AcoefU, AcoefV, BcoefU, BcoefV, &
    292294         p1lay, temp_air, &
Note: See TracChangeset for help on using the changeset viewer.