Changeset 38b7917 in flexpart.git for src/boundcond_domainfill_mpi.f90


Ignore:
Timestamp:
Mar 8, 2016, 9:54:38 AM (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:
9b53903
Parents:
db712a8
Message:

Parallelization of domain fill option (save/restart not implemented yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/boundcond_domainfill_mpi.f90

    r5f9d14a r38b7917  
    192192        rhox=(rhohl(1)*dt2+rhohl(2)*dt1)*dtt
    193193
    194   ! Calculate mass flux
    195   !********************
    196 
    197         fluxofmass=windx*rhox*boundarea*real(lsynctime)
     194  ! Calculate mass flux, divided by number of processes
     195  !****************************************************
     196
     197        fluxofmass=windx*rhox*boundarea*real(lsynctime)/mp_partgroup_np
    198198
    199199
     
    425425        rhox=(rhohl(1)*dt2+rhohl(2)*dt1)*dtt
    426426
    427   ! Calculate mass flux
    428   !********************
    429 
    430         fluxofmass=windx*rhox*boundarea*real(lsynctime)
     427  ! Calculate mass flux, divided by number of processes
     428  !****************************************************
     429
     430        fluxofmass=windx*rhox*boundarea*real(lsynctime)/mp_partgroup_np
    431431
    432432  ! If the mass flux is directed into the domain, add it to previous mass fluxes;
     
    587587  !*****************************************************************************
    588588
     589! :TODO: eso parallelize
    589590  if ((ipout.gt.0).and.(itime.eq.loutend)) then
    590591    open(unitboundcond,file=path(2)(1:length(2))//'boundcond.bin', &
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG