Changeset 955 for LMDZ4/trunk/libf/phylmd/physiq.F
- Timestamp:
- Apr 30, 2008, 3:30:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/physiq.F
r953 r955 1074 1074 1075 1075 ! Aerosol optical properties 1076 #ifdef INCA_AER 1077 #ifdef CPP_COUPLE 1076 #ifdef INCA 1078 1077 ! Aerosol optical properties by INCA model 1079 1078 CHARACTER*4 :: rfname(9) 1080 1081 #endif1082 1079 #endif 1083 1080 REAL aerindex(klon) ! POLDER aerosol index … … 1089 1086 SAVE ok_ade, ok_aie, bl95_b0, bl95_b1 1090 1087 c$OMP THREADPRIVATE(ok_ade, ok_aie, bl95_b0, bl95_b1) 1088 LOGICAL, SAVE :: aerosol_couple ! true : calcul des aerosols dans INCA 1089 ! false : lecture des aerosol dans un fichier 1090 c$OMP THREADPRIVATE(aerosol_couple) 1091 1091 1092 1092 c … … 1209 1209 solswai(:)=0. 1210 1210 solswad(:)=0. 1211 #ifdef INCA_AER 1212 #ifdef CPP_COUPLE 1211 #ifdef INCA 1213 1212 tau_inca(:,:,:,:) = 0. 1214 1213 piz_inca(:,:,:,:) = 0. … … 1226 1225 solsw0_inca(:,:) = 0. 1227 1226 #endif 1228 #endif1229 1227 !rv 1230 1228 !ACo … … 1245 1243 . fact_cldcon, facttemps,ok_newmicro,iflag_radia, 1246 1244 . iflag_cldcon,iflag_ratqs,ratqsbas,ratqshaut, 1247 . ok_ade, ok_aie, 1245 . ok_ade, ok_aie, aerosol_couple, 1248 1246 . bl95_b0, bl95_b1, 1249 1247 . iflag_thermals,nsplit_thermals, … … 2580 2578 cjq - Johannes Quaas, 27/11/2003 (quaas@lmd.jussieu.fr) 2581 2579 IF (ok_ade.OR.ok_aie) THEN 2582 #if defined(CPP_COUPLE) && !defined(INCA_AER) 2583 ! Get sulfate aerosol distribution 2584 CALL readsulfate(rjourvrai, debut, sulfate) 2585 CALL readsulfate_preind(rjourvrai, debut, sulfate_pi) 2586 2587 ! Calculate aerosol optical properties (Olivier Boucher) 2588 CALL aeropt(pplay, paprs, t_seri, sulfate, rhcl, 2589 . tau_ae, piz_ae, cg_ae, aerindex) 2590 #endif 2591 #if !defined(CPP_COUPLE) 2592 ! Get sulfate aerosol distribution 2593 CALL readsulfate(rjourvrai, debut, sulfate) 2594 CALL readsulfate_preind(rjourvrai, debut, sulfate_pi) 2595 2596 ! Calculate aerosol optical properties (Olivier Boucher) 2597 CALL aeropt(pplay, paprs, t_seri, sulfate, rhcl, 2598 . tau_ae, piz_ae, cg_ae, aerindex) 2599 #endif 2600 cym 2580 IF ( .NOT. aerosol_couple ) THEN 2581 ! Get sulfate aerosol distribution 2582 CALL readsulfate(rjourvrai, debut, sulfate) 2583 CALL readsulfate_preind(rjourvrai, debut, sulfate_pi) 2584 2585 ! Calculate aerosol optical properties (Olivier Boucher) 2586 CALL aeropt(pplay, paprs, t_seri, sulfate, rhcl, 2587 . tau_ae, piz_ae, cg_ae, aerindex) 2588 ENDIF 2601 2589 ELSE 2602 2590 tau_ae(:,:,:)=0.0 2603 2591 piz_ae(:,:,:)=0.0 2604 2592 cg_ae(:,:,:)=0.0 2605 cym2606 2593 ENDIF 2607 2594 … … 2768 2755 c parametres pour diagnostiques: 2769 2756 c 2757 IF (aerosol_couple ) THEN 2758 #ifdef INCA 2759 sulfate(:,:) = ccm(:,:,1) 2760 sulfate_pi(:,:) = ccm(:,:,2) 2761 #endif 2762 ENDIF 2763 2770 2764 if (ok_newmicro) then 2771 2765 CALL newmicro (paprs, pplay,ok_newmicro, … … 2774 2768 . flwp, fiwp, flwc, fiwc, 2775 2769 e ok_aie, 2776 #if defined(CPP_COUPLE) && defined(INCA_AER)2777 e ccm(:,:,1), ccm(:,:,2),2778 #else2779 2770 e sulfate, sulfate_pi, 2780 #endif2781 2771 e bl95_b0, bl95_b1, 2782 2772 s cldtaupi, re, fl) … … 2814 2804 endif 2815 2805 2816 2817 #if defined(CPP_COUPLE) && defined(INCA_AER)2818 CALL radlwsw_inca ! nouveau rayonnement (compatible Arpege-IFS)2819 e (kdlon,kflev,dist, rmu0, fract, 2806 IF (aerosol_couple) THEN 2807 #ifdef INCA_AER 2808 CALL radlwsw_inca 2809 e (kdlon,kflev,dist, rmu0, fract, solaire, 2820 2810 e paprs, pplay,zxtsol,albsol, albsollw, t_seri,q_seri, 2821 2811 e wo, … … 2827 2817 s lwdn0, lwdn, lwup0, lwup, 2828 2818 s swdn0, swdn, swup0, swup, 2829 e ok_ade, ok_aie, ! new for aerosol radiative effects2830 e tau_inca, piz_inca, cg_inca, ! ="=2831 s topswad_inca, solswad_inca, ! ="=2832 s topswad0_inca, solswad0_inca, ! ="=2819 e ok_ade, ok_aie, 2820 e tau_inca, piz_inca, cg_inca, 2821 s topswad_inca, solswad_inca, 2822 s topswad0_inca, solswad0_inca, 2833 2823 s topsw_inca, topsw0_inca, 2834 2824 s solsw_inca, solsw0_inca, 2835 e cldtaupi, ! ="= 2836 s topswai_inca, solswai_inca) ! ="= 2837 #else 2838 CALL radlwsw ! nouveau rayonnement (compatible Arpege-IFS) 2825 e cldtaupi, 2826 s topswai_inca, solswai_inca) 2827 #endif 2828 ELSE 2829 CALL radlwsw ! nouveau rayonnement (compatible Arpege-IFS) 2839 2830 e (dist, rmu0, fract, 2840 2831 e paprs, pplay,zxtsol,albsol1, albsol2, t_seri,q_seri, … … 2852 2843 e cldtaupi, ! ="= 2853 2844 s topswai, solswai) ! ="= 2854 #endif 2845 ENDIF 2846 2855 2847 itaprad = 0 2856 2848 ENDIF … … 3088 3080 I upwd, 3089 3081 I dnwd, 3082 I aerosol_couple, 3090 3083 #ifdef INCA 3091 3084 I flxmass_w, 3092 #if defined(INCA_AER) && defined(CPP_COUPLE)3093 3085 I tau_inca, 3094 3086 I piz_inca, … … 3096 3088 I ccm, 3097 3089 I rfname, 3098 #endif3099 3090 #endif 3100 3091 O tr_seri)
Note: See TracChangeset
for help on using the changeset viewer.