Changeset 790 for trunk/LMDZ.MARS/libf
- Timestamp:
- Sep 20, 2012, 5:50:17 PM (12 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_les.F
r505 r790 55 55 zdudif(ig,l) = 0. 56 56 zdhdif(ig,l) = 0. 57 DO iq=1, nq58 zdqdif(ig,l,iq) = 0.59 zdqsdif(ig,iq) = 0. !! sortir de la boucle60 ENDDO61 57 ENDDO 62 58 ENDDO 59 IF (lifting .and. doubleq) THEN 60 !! lifted dust is injected in the first layer. 61 !! Sedimentation must be called after turbulent mixing, i.e. on next step, after WRF. 62 !! => lifted dust is not incremented before the sedimentation step. 63 zdqdif(:,1,:)=0. 64 zdqdif(:,1,igcm_dust_number)=-zdqsdif(:,igcm_dust_number) 65 zdqdif(:,1,igcm_dust_mass)=-zdqsdif(:,igcm_dust_mass) 66 zdqdif(:,2:nlayermx,:)=0. 67 DO iq=1, nq 68 IF ((iq .ne. igcm_dust_mass) 69 & .and. (iq .ne. igcm_dust_number)) THEN 70 zdqsdif(:,iq)=0. 71 ENDIF 72 ENDDO 73 ELSE 74 DO ig=1,ngrid 75 DO l=1,nlayer 76 DO iq=1, nq 77 zdqdif(ig,l,iq) = 0. 78 zdqsdif(ig,iq) = 0. !! sortir de la boucle 79 ENDDO 80 ENDDO 81 ENDDO 82 ENDIF 63 83 ENDIF 64 84 !!! LES LES -
trunk/LMDZ.MARS/libf/phymars/physiq.F
r769 r790 363 363 REAL L_mo(ngridmx),vhf(ngridmx),vvv(ngridmx) 364 364 REAL zu2(ngridmx),sensibFlux(ngridmx) 365 365 366 c======================================================================= 366 367 … … 823 824 ENDDO 824 825 825 if (tracer) then 826 if (tracer) then 827 #ifdef MESOSCALE 828 IF (.not.flag_LES) THEN 829 #endif 826 830 DO iq=1, nq 827 831 DO l=1,nlayer … … 836 840 ENDDO 837 841 ENDDO 842 #ifdef MESOSCALE 843 ENDIF 844 #endif 838 845 end if ! of if (tracer) 839 846 … … 1128 1135 ENDDO 1129 1136 END IF ! of IF (sedimentation) 1130 1137 1138 c Add lifted dust to tendancies after sedimentation in the LES 1139 #ifdef MESOSCALE 1140 #include "meso_inc/meso_inc_lift_les.F" 1141 #endif 1142 1131 1143 c 1132 1144 c 7c. Chemical species
Note: See TracChangeset
for help on using the changeset viewer.