Changeset b5127f9 in flexpart.git for src/init_domainfill_mpi.f90
- Timestamp:
- Aug 4, 2017, 2:18:03 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:
- 61e07ba, 1d072c0
- Parents:
- 5184a7c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/init_domainfill_mpi.f90
r16b61a5 rb5127f9 370 370 !*********************************************** 371 371 372 ! do j=1,numpart 373 do j=1,npoint(1) 372 do j=1,numpart 374 373 if ((xtra1_tmp(j).lt.0.).or.(xtra1_tmp(j).ge.real(nxmin1)).or. & 375 374 (ytra1_tmp(j).lt.0.).or.(ytra1_tmp(j).ge.real(nymin1))) then … … 475 474 endif 476 475 477 numpart = n part(1)/mp_partgroup_np476 numpart = numpart/mp_partgroup_np 478 477 if (mod(numpart,mp_partgroup_np).ne.0) numpart=numpart+1 479 478 … … 488 487 489 488 ! Distribute particles to other processes (numpart is 'per-process', not total) 490 489 call MPI_Bcast(numpart, 1, MPI_INTEGER, id_root, mp_comm_used, mp_ierr) 491 490 ! eso TODO: xmassperparticle: not necessary to send 492 493 491 call MPI_Bcast(xmassperparticle, 1, mp_sp, id_root, mp_comm_used, mp_ierr) 492 call mpif_send_part_properties(numpart) 494 493 495 494 ! Deallocate the temporary arrays used for all particles 496 495 deallocate(itra1_tmp,npoint_tmp,nclass_tmp,idt_tmp,itramem_tmp,& 497 496 & itrasplit_tmp,xtra1_tmp,ytra1_tmp,ztra1_tmp,xmass1_tmp) 498 497
Note: See TracChangeset
for help on using the changeset viewer.