Changeset 2823 for trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
- Timestamp:
- Nov 18, 2022, 10:43:43 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
r2616 r2823 211 211 ico2=0 212 212 213 if (tracer) then214 213 c Prepare Special treatment if one of the tracer is CO2 gas 215 214 do iq=1,nq … … 226 225 endif 227 226 enddo 228 end if229 227 230 228 firstcall=.false. … … 351 349 ENDDO 352 350 ENDDO 353 if(tracer) then 354 DO iq =1, nq 355 DO ilev=1,nlay 356 DO ig=1,ngrid 357 zq(ig,ilev,iq)=pq(ig,ilev,iq)+pdqfi(ig,ilev,iq)*ptimestep 358 ENDDO 359 ENDDO 360 ENDDO 361 end if 351 zq(1:ngrid,1:nlay,1:nq)=pq(1:ngrid,1:nlay,1:nq)+ 352 & pdqfi(1:ngrid,1:nlay,1:nq)*ptimestep 362 353 363 354 c----------------------------------------------------------------------- … … 705 696 c TRACERS 706 697 c ------- 707 708 if(tracer) then709 698 710 699 c Using the wind modified by friction for lifting and sublimation … … 1056 1045 1057 1046 enddo ! of do iq=1,nq 1058 end if ! of if(tracer)1059 1047 1060 1048 c --------- end of tracers ---------------------------- … … 1087 1075 ENDDO 1088 1076 1089 if (tracer) then 1090 DO iq = 1, nq 1091 DO ilev = 1, nlay 1092 DO ig=1,ngrid 1093 pdqdif(ig,ilev,iq)=(zq(ig,ilev,iq)- 1094 $ (pq(ig,ilev,iq) + pdqfi(ig,ilev,iq)*ptimestep))/ptimestep 1095 ENDDO 1096 ENDDO 1097 ENDDO 1098 end if 1077 pdqdif(1:ngrid,1:nlay,1:nq)=(zq(1:ngrid,1:nlay,1:nq)- 1078 & (pq(1:ngrid,1:nlay,1:nq) 1079 & +pdqfi(1:ngrid,1:nlay,1:nq) 1080 & *ptimestep))/ptimestep 1099 1081 1100 1082 c ** diagnostique final
Note: See TracChangeset
for help on using the changeset viewer.