Changeset 882 for LMDZ4/trunk/libf


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

Modifs pour intégrer le 1D FH
LF

Location:
LMDZ4/trunk/libf/phylmd
Files:
2 edited

Legend:

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

    r793 r882  
    4343
    4444  END SUBROUTINE ocean_forced_init
     45!
     46!****************************************************************************************
     47!****************************************************************************************
     48!
     49  SUBROUTINE ocean_forced_final
     50! Allocate fields needed for this module
     51!   
     52    INTEGER              :: error
     53    CHARACTER (len = 80) :: abort_message
     54    CHARACTER (len = 20) :: modname = 'ocean_forced_init'
     55!****************************************************************************************
     56
     57    DEALLOCATE(tmp_flux_o)
     58    DEALLOCATE(tmp_flux_g)
     59
     60
     61  END SUBROUTINE ocean_forced_final
    4562!
    4663!****************************************************************************************
     
    269286    IF (soil_model) THEN
    270287! update tsoil and calculate soilcap and soilflux
     288
    271289       CALL soil(dtime, is_sic, knon,snow, tsurf_tmp, tsoil,soilcap, soilflux)
    272290       cal(1:knon) = RCPD / soilcap(1:knon)
     
    338356    pctsrf_sic(:) = pctsrf_lim(:,is_sic)
    339357
     358
    340359  END SUBROUTINE ocean_forced_ice
    341360!
  • 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.