Changeset 41d8574 in flexpart.git for src/timemanager_mpi.f90


Ignore:
Timestamp:
Jan 15, 2016, 12:35:58 PM (8 years ago)
Author:
Espen Sollum ATMOS <eso@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
fdc0f03
Parents:
d8107c2
Message:

bugfix: MPI version gave wrong wet deposition when using ECMWF cloud water fields. Cloud water in ECMWF fields now uses parameter qc, or reads clwc+ciwc. Added minmass variable as limit for terminating particles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/timemanager_mpi.f90

    rf75967d r41d8574  
    103103  implicit none
    104104
    105   logical :: fc_mp=.true., fc_sync=.true.
    106105  logical :: reqv_state=.false. ! .true. if waiting for a MPI_Irecv to complete
    107106  integer :: j,ks,kp,l,n,itime=0,nstop,nstop1,memstat=0,mind
     
    352351      do ks=1,nspec
    353352        do kp=1,maxpointspec_act
    354           if (decay(ks).gt.0.) then
     353          if (decay(ks).gt.0.) then ! TODO move this statement up 2 levels
    355354            do nage=1,nageclass
    356355              do l=1,nclassunc
     
    485484            if (lroot) then
    486485              if (lnetcdfout.eq.1) then
    487 
    488486                call concoutput_surf_netcdf(itime,outnum,gridtotalunc,wetgridtotalunc,&
    489487                     &drygridtotalunc)
     
    772770          end do
    773771
    774           if (xmassfract.lt.0.00005 .and. sum(real(npart(npoint(j)))*xmass1(j,:)).lt.1.0) then   ! terminate all particles carrying less mass
     772          if (xmassfract.lt.minmass) then ! .and. sum(real(npart(npoint(j)))*xmass1(j,:)).lt.1.0) then   ! terminate all particles carrying less mass
    775773          !            print*,'terminated particle ',j,' for small mass (', sum(real(npart(npoint(j)))* &
    776774          !         xmass1(j,:)), ' of ', sum(xmass(npoint(j),:)),')'
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG