Changeset 557
- Timestamp:
- Oct 27, 2004, 12:14:46 PM (20 years ago)
- Location:
- LMDZ4/trunk/libf/phylmd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/interface_surf.F90
r524 r557 1327 1327 INTEGER :: ndexct(iim*(jjm+1)),ndexcs(iim*(jjm+1)) 1328 1328 REAL :: zx_lon(iim,jjm+1), zx_lat(iim,jjm+1), zjulian 1329 integer :: idayref, itau_w 1329 INTEGER,save :: idayref 1330 !med integer :: itau_w 1331 integer,save :: itau_w 1330 1332 #include "param_cou.h" 1331 1333 #include "inc_cpl.h" … … 1392 1394 ! 1393 1395 idtime = int(dtime) 1394 call inicma(npas , nexca, idtime,(jjm+1)*iim) 1395 1396 #ifdef CPP_COUPLE 1397 #ifdef CPP_PSMILE 1398 CALL inicma(iim, (jjm+1)) 1399 #else 1400 call inicma(npas , nexca, idtime,(jjm+1)*iim) 1401 #endif 1402 #endif 1396 1403 ! 1397 1404 ! initialisation sorties netcdf … … 1497 1504 if (nisurf == is_oce .and. .not. cumul) then 1498 1505 if (check) write(*,*)'rentree fromcpl, itime-1 = ',itime-1 1506 #ifdef CPP_COUPLE 1507 #ifdef CPP_PSMILE 1508 il_time_secs=(itime-1)*dtime 1509 CALL fromcpl(il_time_secs, iim, (jjm+1), & 1510 & read_sst, read_sic, read_sit, read_alb_sic) 1511 #else 1499 1512 call fromcpl(itime-1,(jjm+1)*iim, & 1500 1513 & read_sst, read_sic, read_sit, read_alb_sic) 1514 #endif 1515 #endif 1501 1516 ! 1502 1517 ! sorties NETCDF des champs recus … … 1697 1712 CALL histsync(nidct) 1698 1713 ! pas utile IF (lafin) CALL histclo(nidct) 1714 #ifdef CPP_COUPLE 1715 #ifdef CPP_PSMILE 1716 il_time_secs=(itime-1)*dtime 1717 1718 CALL intocpl(il_time_secs, iim, jjm+1, wri_sol_ice, wri_sol_sea, wri_nsol_ice,& 1719 & wri_nsol_sea, wri_fder_ice, wri_evap_ice, wri_evap_sea, wri_rain, & 1720 & wri_snow, wri_rcoa, wri_rriv, wri_calv, wri_tauxx, wri_tauyy, & 1721 & wri_tauzz, wri_tauxx, wri_tauyy, wri_tauzz,lafin ) 1722 #else 1699 1723 call intocpl(itime, (jjm+1)*iim, wri_sol_ice, wri_sol_sea, wri_nsol_ice,& 1700 1724 & wri_nsol_sea, wri_fder_ice, wri_evap_ice, wri_evap_sea, wri_rain, & 1701 1725 & wri_snow, wri_rcoa, wri_rriv, wri_calv, wri_tauxx, wri_tauyy, & 1702 1726 & wri_tauzz, wri_tauxx, wri_tauyy, wri_tauzz,lafin ) 1727 #endif 1728 #endif 1703 1729 ! 1704 1730 cpl_sols = 0.; cpl_nsol = 0.; cpl_rain = 0.; cpl_snow = 0. … … 2582 2608 2583 2609 #include "YOETHF.inc" 2584 #include "FCTTRE.inc"2610 !rv#include "FCTTRE.inc" 2585 2611 #include "indicesol.inc" 2586 2612 !IM cf JLD … … 2639 2665 logical,save :: first = .true.,second=.false. 2640 2666 real :: coeff_rel 2667 #include "FCTTRE.inc" 2641 2668 2642 2669 -
LMDZ4/trunk/libf/phylmd/physiq.F
r541 r557 34 34 c CLEFS CPP POUR LES IO 35 35 c ===================== 36 c#define histhf36 #define histhf 37 37 #define histday 38 38 #define histmth 39 39 #define histins 40 c 41 c#define histREGDYN42 c#define histmthNMC40 c#define histISCCP 41 #define histREGDYN 42 #define histmthNMC 43 43 c====================================================================== 44 44 c modif ( P. Le Van , 12/10/98 ) … … 982 982 #include "FCTTRE.h" 983 983 c====================================================================== 984 !rv 985 u10m(:,:)=0. 986 v10m(:,:)=0. 987 t2m(:,:)=0. 988 q2m(:,:)=0. 989 ffonte(:,:)=0. 990 fqcalving(:,:)=0. 991 piz_ae(:,:,:)=0. 992 tau_ae(:,:,:)=0. 993 cg_ae(:,:,:)=0. 994 rain_con(:)=0. 995 snow_con(:)=0. 996 bl95_b0=0. 997 bl95_b1=0. 998 !rv 984 999 modname = 'physiq' 985 1000 IF (if_ebil.ge.1) THEN … … 1004 1019 c====================================================================== 1005 1020 cIM BEG 1006 DO k=1, nlev 1021 DO k=1, nlevENS 1007 1022 DO l=1, nlevSTD 1008 1023 c … … 1870 1885 entr_therm(:,:)=0. 1871 1886 c 1872 print*,'AVANT LA CONVECTION SECHE , iflag_thermals=' 1887 IF(prt_level>9)WRITE(lunout,*) 1888 . 'AVANT LA CONVECTION SECHE , iflag_thermals=' 1873 1889 s ,iflag_thermals,' nsplit_thermals=',nsplit_thermals 1874 1890 if(iflag_thermals.lt.0) then 1875 1891 c Rien 1876 1892 c ==== 1877 print*,'pas de convection'1893 IF(prt_level>9)WRITE(lunout,*)'pas de convection' 1878 1894 else if(iflag_thermals.eq.0) then 1879 1895 1880 1896 c Ajustement sec 1881 1897 c ============== 1882 print*,'ajsec'1898 IF(prt_level>9)WRITE(lunout,*)'ajsec' 1883 1899 CALL ajsec(paprs, pplay, t_seri,q_seri, d_t_ajs, d_q_ajs) 1884 1900 t_seri(:,:) = t_seri(:,:) + d_t_ajs(:,:) … … 1887 1903 c Thermiques 1888 1904 c ========== 1889 print*,'JUSTE AVANT , iflag_thermals='1905 IF(prt_level>9)WRITE(lunout,*)'JUSTE AVANT , iflag_thermals=' 1890 1906 s ,iflag_thermals,' nsplit_thermals=',nsplit_thermals 1891 1907 call calltherm(pdtphys -
LMDZ4/trunk/libf/phylmd/radlwsw.F
r524 r557 166 166 REAL*8 ztopswai(kdlon), zsolswai(kdlon) ! dito, indirect 167 167 cjq-end 168 !rv 169 tauae(:,:,:)=0. 170 pizae(:,:,:)=0. 171 cgae(:,:,:)=0. 172 !rv 168 173 169 174 c … … 546 551 REAL*8 ZFSUPAI(KDLON,KFLEV+1) 547 552 REAL*8 ZFSDNAI(KDLON,KFLEV+1) 553 logical initialized 548 554 SAVE ZFSUPAD, ZFSDNAD, ZFSUPAI, ZFSDNAI ! aerosol fluxes 555 !rv 556 save flag_aer 557 data initialized/.false./ 549 558 cjq-end 559 if(.not.initialized) then 560 flag_aer=0. 561 initialized=.TRUE. 562 endif 563 !rv 550 564 551 565 c
Note: See TracChangeset
for help on using the changeset viewer.