Ignore:
Timestamp:
Apr 9, 2009, 12:11:35 PM (15 years ago)
Author:
Laurent Fairhead
Message:

Réintegration dans le tronc des modifications issues de la branche LMDZ-dev
comprises entre la révision 1074 et 1145
Validation: une simulation de 1 jour en séquentiel sur PC donne les mêmes
résultats entre la trunk et la dev
LF

Location:
LMDZ4/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk

  • LMDZ4/trunk/libf/phylmd/surf_land_mod.F90

    r1067 r1146  
    1515       AcoefU, AcoefV, BcoefU, BcoefV, &
    1616       pref, u1, v1, rugoro, pctsrf, &
     17       lwdown_m, q2m, t2m, &
    1718       snow, qsol, agesno, tsoil, &
    1819       z0_new, alb1_new, alb2_new, evap, fluxsens, fluxlat, &
    1920       qsurf, tsurf_new, dflux_s, dflux_l, &
    20        flux_u1, flux_v1, &
    21        lwdown_m)
     21       flux_u1, flux_v1 )
    2222
    2323    USE dimphy
    2424    USE surface_data, ONLY    : ok_veget
     25
     26#ifdef ORCHIDEE_NOOPENMP
     27    USE surf_land_orchidee_noopenmp_mod
     28#else
    2529    USE surf_land_orchidee_mod
     30#endif
    2631    USE surf_land_bucket_mod
    2732    USE calcul_fluxs_mod
     
    5358    REAL, DIMENSION(klon), INTENT(IN)       :: rugoro
    5459    REAL, DIMENSION(klon,nbsrf), INTENT(IN) :: pctsrf
    55 
    5660    REAL, DIMENSION(klon), INTENT(IN)       :: lwdown_m  ! downwelling longwave radiation at mean surface
    5761                                                         ! corresponds to previous sollwdown
     62    REAL, DIMENSION(klon), INTENT(IN)       :: q2m, t2m
    5863
    5964! In/Output variables
     
    124129            cdragh, AcoefH, AcoefQ, BcoefH, BcoefQ, &
    125130            precip_rain, precip_snow, lwdown_m, swnet, swdown, &
    126             pref_tmp, &
     131            pref_tmp, q2m, t2m, &
    127132            evap, fluxsens, fluxlat, &             
    128133            tsol_rad, tsurf_new, alb1_new, alb2_new, &
     
    133138
    134139       DO i=1,knon
    135           z0_new(i) = SQRT(z0_new(i)**2 + rugoro(i)**2)
     140          z0_new(i) = MAX(1.5e-05,SQRT(z0_new(i)**2 + rugoro(i)**2))
    136141       ENDDO
    137142
Note: See TracChangeset for help on using the changeset viewer.