Changeset c8fc724 in flexpart.git for src/wetdepo.f90
- Timestamp:
- Feb 2, 2017, 2:23:04 PM (7 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- 93786a1
- Parents:
- 4c64400
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/wetdepo.f90
r05cf28d rc8fc724 90 90 real :: frac_act, liq_frac, dquer_m 91 91 92 integer :: blc_count, inc_count92 integer(selected_int_kind(16)), dimension(nspec) :: blc_count, inc_count 93 93 real :: Si_dummy, wetscav_dummy 94 94 logical :: readclouds_this_nest … … 107 107 !************************ 108 108 109 blc_count =0110 inc_count =0109 blc_count(:)=0 110 inc_count(:)=0 111 111 112 112 do jpart=1,numpart … … 256 256 do ks=1,nspec ! loop over species 257 257 wetdeposit(ks)=0. 258 wetscav=0. 258 wetscav=0. 259 260 ! Cycle loop if wet deposition for the species is off 261 if (WETDEPSPEC(ks).eqv..false.) cycle 259 262 260 263 if (ngrid.gt.0) then … … 274 277 if ((dquer(ks).le.0.).and.(weta_gas(ks).gt.0..or.wetb_gas(ks).gt.0.)) then 275 278 ! if (weta(ks).gt.0. .or. wetb(ks).gt.0.) then 276 blc_count =blc_count+1279 blc_count(ks)=blc_count(ks)+1 277 280 wetscav=weta_gas(ks)*prec(1)**wetb_gas(ks) 278 281 … … 280 283 !********************************************************************************* 281 284 else if ((dquer(ks).gt.0.).and.(crain_aero(ks).gt.0..or.csnow_aero(ks).gt.0.)) then 282 blc_count =blc_count+1285 blc_count(ks)=blc_count(ks)+1 283 286 284 287 !NIK 17.02.2015 … … 320 323 ! given in species file, or if gas and positive Henry's constant 321 324 if ((ccn_aero(ks).gt.0. .or. in_aero(ks).gt.0.).or.(henry(ks).gt.0.and.dquer(ks).le.0)) then 322 inc_count =inc_count+1325 inc_count(ks)=inc_count(ks)+1 323 326 ! if negative coefficients (turned off) set to zero for use in equation 324 327 if (ccn_aero(ks).lt.0.) ccn_aero(ks)=0. … … 432 435 433 436 ! count the total number of below-cloud and in-cloud occurences: 434 tot_blc_count =tot_blc_count+blc_count435 tot_inc_count =tot_inc_count+inc_count437 tot_blc_count(1:nspec)=tot_blc_count(1:nspec)+blc_count(1:nspec) 438 tot_inc_count(1:nspec)=tot_inc_count(1:nspec)+inc_count(1:nspec) 436 439 437 440 end subroutine wetdepo
Note: See TracChangeset
for help on using the changeset viewer.