Changeset 38b7917 in flexpart.git for src/init_domainfill_mpi.f90
- Timestamp:
- Mar 8, 2016, 9:54:38 AM (8 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- 9b53903
- Parents:
- db712a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/init_domainfill_mpi.f90
r5f9d14a r38b7917 163 163 pp(1)=rho(ix,jy,1,1)*r_air*tt(ix,jy,1,1) 164 164 pp(nz)=rho(ix,jy,nz,1)*r_air*tt(ix,jy,nz,1) 165 colmass(ix,jy)=(pp(1)-pp(nz))/ga*gridarea(jy) 165 ! Each MPI process is assigned an equal share of particles 166 colmass(ix,jy)=(pp(1)-pp(nz))/ga*gridarea(jy)/mp_partgroup_np 166 167 colmasstotal=colmasstotal+colmass(ix,jy) 168 167 169 end do 168 170 end do 169 171 170 write(*,*) 'Atm. mass: ',colmasstotal172 if (lroot) write(*,*) 'Atm. mass: ',colmasstotal 171 173 172 174 … … 415 417 !*************************************************************************** 416 418 419 ! :TODO: eso: parallelize 417 420 if (ipin.eq.1) then 418 421 open(unitboundcond,file=path(2)(1:length(2))//'boundcond.bin', &
Note: See TracChangeset
for help on using the changeset viewer.