Changeset 882 for LMDZ4/trunk/libf
- Timestamp:
- Jan 31, 2008, 5:48:13 PM (17 years ago)
- Location:
- LMDZ4/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/ocean_forced_mod.F90
r793 r882 43 43 44 44 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 45 62 ! 46 63 !**************************************************************************************** … … 269 286 IF (soil_model) THEN 270 287 ! update tsoil and calculate soilcap and soilflux 288 271 289 CALL soil(dtime, is_sic, knon,snow, tsurf_tmp, tsoil,soilcap, soilflux) 272 290 cal(1:knon) = RCPD / soilcap(1:knon) … … 338 356 pctsrf_sic(:) = pctsrf_lim(:,is_sic) 339 357 358 340 359 END SUBROUTINE ocean_forced_ice 341 360 ! -
LMDZ4/trunk/libf/phylmd/pbl_surface_mod.F90
r878 r882 462 462 463 463 !**************************************************************************************** 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 !**************************************************************************************** 464 471 ! End of declarations 465 472 !**************************************************************************************** … … 824 831 !**************************************************************************************** 825 832 ! 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 828 843 829 844 CALL climb_hq_up(knon, dtime, yt, yq, &
Note: See TracChangeset
for help on using the changeset viewer.