- Timestamp:
- Jan 7, 2020, 10:32:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F.new
r2123 r2208 495 495 IF (MARS_MODE .EQ. 0) THEN 496 496 q_prof(:,1)=0.95 497 ELSE 497 ELSE IF (MARS_MODE .EQ. 42) THEN 498 498 q_prof(:,1) = moist(i,kps:kpe,j,P_QV) !! the names were set above !! one dummy tracer in WRF 499 499 q_prof(:,2) = SCALAR(i,kps:kpe,j,3) !! the names were set above !! one dummy tracer in WRF 500 ELSE 501 q_prof(:,1:nq) = SCALAR(i,kps:kpe,j,2:nq+1) !! the names were set above !! one dummy tracer in WRF 500 502 ENDIF 501 503 … … 512 514 ENDIF 513 515 ENDIF 514 515 516 516 517 IF (firstcall .EQV. .true.) THEN … … 805 806 SCALAR(i,kps:kpe,j,2) = SCALAR(i,kps:kpe,j,2)*exp(-dt/tau_decay) 806 807 SCALAR(i,1,j,2) = SCALAR(i,1,j,2) + 1. !! this tracer is emitted in the surface layer 807 CASE DEFAULT808 CASE(42) 808 809 moist(i,kps:kpe,j,P_QV)=moist(i,kps:kpe,j,P_QV)+zdqfi_omp(subs,kps:kpe,1)*dt !!! here dt is needed 809 810 scalar(i,kps:kpe,j,3)=scalar(i,kps:kpe,j,3)+zdqfi_omp(subs,kps:kpe,2)*dt !!! here dt is needed 811 CASE DEFAULT 812 SCALAR(i,kps:kpe,j,2:nq+1)=SCALAR(i,kps:kpe,j,2:nq+1)+zdqfi_omp(subs,kps:kpe,1:nq)*dt !!! here dt is needed 810 813 END SELECT 811 814 812 815 ENDDO 813 816 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.