Changeset 4069
- Timestamp:
- Jan 30, 2022, 6:58:23 PM (3 years ago)
- Location:
- LMDZ6/trunk/libf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/misc/strings_mod.F90
r4068 r4069 355 355 IF(n==0) RETURN 356 356 str(1) = s1(1) 357 n=1; DO k= 1,n1; IF(ANY(s1(1:k-1)==s1(k))) CYCLE; n=n+1; str(n)=s1(k); END DO357 n=1; DO k=2,n1; IF(ANY(s1(1:k-1)==s1(k))) CYCLE; n=n+1; str(n)=s1(k); END DO 358 358 IF(PRESENT(nb)) nb=n 359 359 END SUBROUTINE strReduce_1 -
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r4067 r4069 40 40 USE indice_sol_mod 41 41 USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac, nqCO2 42 USE readTracFiles_mod, ONLY: phases_sep42 USE readTracFiles_mod, ONLY: addPhase 43 43 USE strings_mod, ONLY: strIdx 44 44 USE iophy … … 2270 2270 itr = 0 2271 2271 DO iq = 1, nqtot 2272 IF(tracers(iq)%isH2Ofamily .OR. .NOT.tracers(iq)%isAdvected) CYCLE2272 IF(tracers(iq)%isH2Ofamily) CYCLE 2273 2273 itr = itr+1 2274 2274 DO k = 1, klev … … 2280 2280 ELSE 2281 2281 ! DC: make sure the final "1" index was meant for 1st H2O phase (vapor) !!! 2282 ! tr_seri(:,:,strIdx(tracers(:)%name, 'H2O'//phases_sep//'g')) = 0.02283 tr_seri(:,:,strIdx(tracers(:)%name, 'H2Ov')) = 0.02282 ! tr_seri(:,:,strIdx(tracers(:)%name,addPhase('H2O','g'))) = 0.0 2283 tr_seri(:,:,strIdx(tracers(:)%name,addPhase('H2O','v',''))) = 0.0 2284 2284 ENDIF 2285 2285 ! … … 5114 5114 ENDDO 5115 5115 ! 5116 IF (nqtot > nqo +1) THEN5116 IF (nqtot > nqo) THEN 5117 5117 itr = 0 5118 5118 DO iq = 1, nqtot
Note: See TracChangeset
for help on using the changeset viewer.