Ignore:
Timestamp:
Jan 31, 2008, 5:48:13 PM (16 years ago)
Author:
Laurent Fairhead
Message:

Modifs pour intégrer le 1D FH
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/pbl_surface_mod.F90

    r878 r882  
    462462   
    463463!****************************************************************************************
     464! Declarations specifiques pour le 1D. A reprendre
     465  REAL  :: fsens,flat
     466  LOGICAL ok_flux_surf
     467  data ok_flux_surf/.false./
     468    common /flux_arp/fsens,flat,ok_flux_surf
     469
     470!****************************************************************************************
    464471! End of declarations
    465472!****************************************************************************************
     
    824831!****************************************************************************************
    825832! H and Q
    826        y_flux_t1(:) =  yfluxsens(:)
    827        y_flux_q1(:) = -yevap(:)
     833       print *,'pbl_surface: ok_flux_surf=',ok_flux_surf
     834       print *,'pbl_surface: fsens flat RLVTT=',fsens,flat,RLVTT
     835       if (ok_flux_surf) then
     836          y_flux_t1(:) =  fsens
     837          y_flux_q1(:) =  flat/RLVTT
     838          yfluxlat(:) =  flat
     839       else
     840          y_flux_t1(:) =  yfluxsens(:)
     841          y_flux_q1(:) = -yevap(:)
     842       endif
    828843
    829844       CALL climb_hq_up(knon, dtime, yt, yq, &
Note: See TracChangeset for help on using the changeset viewer.