- Timestamp:
- Oct 3, 2016, 9:07:05 AM (8 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- 5844866
- Parents:
- 9669e1e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/timemanager.f90
r54cbd6c r0581cac 172 172 write (*,*) 'timemanager> call wetdepo' 173 173 endif 174 call wetdepo(itime,lsynctime,loutnext ,.false.)174 call wetdepo(itime,lsynctime,loutnext) 175 175 endif 176 176 … … 548 548 ! the calculation of the scavenged mass shall only be done once after release 549 549 ! xscav_frac1 was initialised with a negative value 550 551 if (DRYBKDEP) then 550 552 do ks=1,nspec 551 if (DRYBKDEP.and.(xscav_frac1(j,ks).lt.0)) then 552 if (ks.eq.1) then 553 if ((xscav_frac1(j,ks).lt.0)) then 553 554 call advance_rec(itime,npoint(j),idt(j),uap(j),ucp(j),uzp(j), & 554 555 us(j),vs(j),ws(j),nstop,xtra1(j),ytra1(j),ztra1(j),prob, & 555 556 cbt(j)) 556 endif557 557 if (decay(ks).gt.0.) then ! radioactive decay 558 558 decfact=exp(-real(abs(lsynctime))*decay(ks)) … … 574 574 endif 575 575 enddo 576 577 firstdepocalc=.false. 578 do ks=1,nspec 579 if ((WETBKDEP).and.(xscav_frac1(j,ks).lt.0) & 580 .and.firstdepocalc.eqv..false.) then 581 ! Backward wetdeposition and first timestep after release 582 call wetdepo(itime,lsynctime,loutnext,.true.) 583 firstdepocalc=.true. 584 endif 585 enddo 576 endif 577 578 ! if (WETBKDEP) then 579 ! firstdepocalc=.false. 580 ! do ks=1,nspec 581 ! if ((xscav_frac1(j,ks).lt.0) & 582 ! .and.firstdepocalc.eqv..false.) then 583 ! ! Backward wetdeposition and first timestep after release 584 ! call wetdepo(itime,lsynctime,loutnext,.true.) 585 ! firstdepocalc=.true. 586 ! endif 587 ! enddo 588 ! endif 586 589 587 590 ! Integrate Lagevin equation for lsynctime seconds … … 590 593 if (verbosity.gt.0) then 591 594 if (j.eq.1) then 592 write (*,*) 'timemanager> call advance' 593 endif 594 endif 595 call advance(itime,npoint(j),idt(j),uap(j),ucp(j),uzp(j), & 595 write (*,*) 'timemanager> call advance' 596 endif 597 endif 598 599 call advance(itime,npoint(j),idt(j),uap(j),ucp(j),uzp(j), & 596 600 us(j),vs(j),ws(j),nstop,xtra1(j),ytra1(j),ztra1(j),prob, & 597 601 cbt(j))
Note: See TracChangeset
for help on using the changeset viewer.