Changeset 2274 for trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
- Timestamp:
- Apr 2, 2020, 5:45:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
r2260 r2274 444 444 c et /zkv/ = Ku 445 445 446 CALL multipl((nlay-1)*ngrid,zkv(1,2),zb0(1,2),zb(1,2))447 CALL multipl(ngrid,zcdv,zb0,zb)446 zb(1:ngrid,2:nlay)=zkv(1:ngrid,2:nlay)*zb0(1:ngrid,2:nlay) 447 zb(1:ngrid,1)=zcdv(1:ngrid)*zb0(1:ngrid,1) 448 448 449 449 DO ig=1,ngrid … … 534 534 535 535 c Mass variation scheme: 536 CALL multipl((nlay-1)*ngrid,zkh(1,2),zb0(1,2),zb(1,2))537 CALL multipl(ngrid,zcdh,zb0,zb)536 zb(1:ngrid,2:nlay)=zkh(1:ngrid,2:nlay)*zb0(1:ngrid,2:nlay) 537 zb(1:ngrid,1)=zcdh(1:ngrid)*zb0(1:ngrid,1) 538 538 539 539 c on initialise dm c … … 784 784 c -------------------------------- 785 785 do iq=1,nq !for all tracers including stormdust 786 CALL multipl((nlay-1)*ngrid,zkh(1,2),zb0(1,2),zb(1,2))786 zb(1:ngrid,2:nlay)=zkh(1:ngrid,2:nlay)*zb0(1:ngrid,2:nlay) 787 787 788 788 if ((water).and.(iq.eq.igcm_h2o_vap)) then 789 789 c This line is required to account for turbulent transport 790 790 c from surface (e.g. ice) to mid-layer of atmosphere: 791 CALL multipl(ngrid,zcdv,zb0,zb(1,1))792 CALL multipl(ngrid,dryness,zb(1,1),zb(1,1))791 zb(1:ngrid,1)=zcdv(1:ngrid)*zb0(1:ngrid,1) 792 zb(1:ngrid,1)=dryness(1:ngrid)*zb(1:ngrid,1) 793 793 else ! (re)-initialize zb(:,1) 794 794 zb(1:ngrid,1)=0
Note: See TracChangeset
for help on using the changeset viewer.