Changeset 2408 for LMDZ5/branches/testing/libf/phylmd/aeropt_5wv.F90
- Timestamp:
- Dec 14, 2015, 11:43:09 AM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2293-2295,2297,2299-2302,2305-2313,2315,2317-2380,2382-2396
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/aeropt_5wv.F90
r2160 r2408 67 67 ! 68 68 REAL, DIMENSION(klon), INTENT(out) :: ai ! POLDER aerosol index 69 ! REAL, DIMENSION(klon,nwave,naero_spc), INTENT(out) :: tausum70 ! REAL, DIMENSION(klon,klev,nwave,naero_spc), INTENT(out) :: tau71 69 REAL, DIMENSION(klon,nwave,naero_tot), INTENT(out) :: tausum 72 70 REAL, DIMENSION(klon,klev,nwave,naero_tot), INTENT(out) :: tau … … 588 586 A1_SSSSM(klev), A2_SSSSM(klev), A3_SSSSM(klev),& 589 587 B1_SSSSM(klev), B2_SSSSM(klev), C1_SSSSM(klev), C2_SSSSM(klev), stat=ierr) 590 IF (ierr /= 0) CALL abort_ gcm('aeropt_5mw', 'pb in allocation 1',1)588 IF (ierr /= 0) CALL abort_physic('aeropt_5mw', 'pb in allocation 1',1) 591 589 END IF 592 590 … … 626 624 DO k=1, klev 627 625 DO i=1, klon 628 ! IF (t_seri(i,k).EQ.0) stop 'stop aeropt_5wv T '629 ! IF (pplay(i,k).EQ.0) stop 'stop aeropt_5wv p '630 626 zrho=pplay(i,k)/t_seri(i,k)/RD ! kg/m3 631 627 dh(i,k)=pdel(i,k)/(gravit*zrho) 632 !CDIR UNROLL=naero_spc633 628 mass_temp(i,k,:) = m_allaer(i,k,:) / zrho / 1.e+9 634 629 zdp1(i,k)=pdel(i,k)/(gravit*delt) ! air mass auxiliary variable --> zdp1 [kg/(m^2 *s)] … … 760 755 ENDIF 761 756 762 !Bug 21 12 10 AI763 ! used_tau(spsol)=.TRUE.764 757 IF (soluble) then 765 758 used_tau(spsol)=.TRUE. 766 759 ELSE 767 760 used_tau(naero_soluble+spinsol)=.TRUE. 768 761 ENDIF … … 866 859 DO m=1,naero_spc 867 860 od550aer(i)=od550aer(i)+tausum(i,2,m) 868 END DO 869 END DO 861 ENDDO 862 ENDDO 863 870 864 DO i=1, klon 871 865 od865aer(i)=0. 872 866 DO m=1,naero_spc 873 867 od865aer(i)=od865aer(i)+tausum(i,5,m) 874 END DO 875 END DO 868 ENDDO 869 ENDDO 870 876 871 DO i=1, klon 877 872 DO k=1, KLEV … … 879 874 DO m=1,naero_spc 880 875 ec550aer(i,k)=ec550aer(i,k)+tau(i,k,2,m)/dh(i,k) 881 END 882 END 883 END 876 ENDDO 877 ENDDO 878 ENDDO 884 879 885 od550lt1aer(:)=tausum(:,2,id_ASSO4M_phy)+tausum(:,2,id_ASBCM_phy)+tausum(:,2,id_AIBCM_phy)+ & 886 tausum(:,2,id_ASPOMM_phy)+tausum(:,2,id_AIPOMM_phy)+tausum(:,2,id_ASSSM_phy)+ & 887 0.03*tausum(:,2,id_CSSSM_phy)+0.4*tausum(:,2,id_CIDUSTM_phy) 888 889 880 od550lt1aer(:)=tausum(:,2,id_ASSO4M_phy)+tausum(:,2,id_ASBCM_phy)+tausum(:,2,id_AIBCM_phy)+ & 881 tausum(:,2,id_ASPOMM_phy)+tausum(:,2,id_AIPOMM_phy)+tausum(:,2,id_ASSSM_phy)+ & 882 0.03*tausum(:,2,id_CSSSM_phy)+0.4*tausum(:,2,id_CIDUSTM_phy) 890 883 891 884 DEALLOCATE(aerosol_name)
Note: See TracChangeset
for help on using the changeset viewer.