Changes in src/releaseparticles.f90 [8a65cb0:75a4ded] in flexpart.git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/releaseparticles.f90
r8a65cb0 r75a4ded 176 176 ! scaled. Adjust the mass per particle by the species-dependent time correction factor 177 177 ! divided by the species-average one 178 ! for the scavenging calculation the mass needs to be multiplied with rho of the particle layer and 179 ! divided by the sum of rho of all particles. 178 180 !***************************************************************************** 179 181 do k=1,nspec 180 182 xmass1(ipart,k)=xmass(i,k)/real(npart(i)) & 181 183 *timecorrect(k)/average_timecorrect 182 ! write (*,*) 'xmass1: ',xmass1(ipart,k),ipart,k 184 if (DRYBKDEP.or.WETBKDEP) then ! if there is no scavenging in wetdepo it will be set to 0 185 ! if ( henry(k).gt.0 .or. & 186 ! crain_aero(k).gt.0. .or. csnow_aero(k).gt.0. .or. & 187 ! ccn_aero(k).gt.0. .or. in_aero(k).gt.0. ) then 188 xscav_frac1(ipart,k)=-1. 189 endif 183 190 ! Assign certain properties to particle 184 191 !************************************** … … 202 209 203 210 ztra1(ipart)=zpoint1(i)+ran1(idummy)*zaux 204 205 211 ! Interpolation of topography and density 206 212 !**************************************** … … 330 336 !Af ind_rel is defined in readcommand.f 331 337 332 if ( ind_rel .eq. 1) then338 if ((ind_rel .eq. 1).or.(ind_rel .eq. 3).or.(ind_rel .eq. 4)) then 333 339 334 340 ! Interpolate the air density … … 375 381 endif 376 382 377 378 383 numpart=max(numpart,ipart) 379 384 goto 34 ! Storage space has been found, stop searching 380 385 endif 381 end do 386 end do ! i=1:numpoint 382 387 if (ipart.gt.maxpart) goto 996 383 388 384 389 34 minpart=ipart+1 385 end do 386 endif 390 end do ! ipart=minpart,maxpart 391 endif ! j=1,numrel 387 392 end do 388 393
Note: See TracChangeset
for help on using the changeset viewer.