Changeset 0a94e13 in flexpart.git for src/timemanager.f90


Ignore:
Timestamp:
May 6, 2019, 11:43:21 AM (5 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
Children:
0c8c7f2
Parents:
328fdf9
Message:

Added ipout=3 option for time averaged particle output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/timemanager.f90

    rc7d1052 r0a94e13  
    45145145      format(i13,' Seconds simulated: ',i13, ' Particles:    Uncertainty: ',3f7.3)
    45245246      format(' Simulated ',f7.1,' hours (',i13,' s), ',i13, ' particles')
    453         if (ipout.ge.1) call partoutput(itime)    ! dump particle positions
     453        if (ipout.ge.1) then
     454          if (mod(itime,ipoutfac*loutstep).eq.0) call partoutput(itime) ! dump particle positions
     455          if (ipout.eq.3) call partoutput_average(itime) ! dump particle positions
     456        endif
    454457        loutnext=loutnext+loutstep
    455458        loutstart=loutnext-loutaver/2
     
    609612!        write (*,*) 'advance: ',prob(1),xmass1(j,1),ztra1(j)
    610613
     614  ! Calculate average position for particle dump output
     615  !****************************************************
     616
     617        if (ipout.eq.3) call partpos_average(itime,j)
     618
     619
    611620  ! Calculate the gross fluxes across layer interfaces
    612621  !***************************************************
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG