diff options
author | 2019-11-13 12:03:58 +0100 | |
---|---|---|
committer | 2019-11-13 12:03:58 +0100 | |
commit | f19e1c99a301a12a164c7c1f32d57a9e01ac525b (patch) | |
tree | 6a0ecd8758c3b7400e135238fe50dfc52f321d5d /Source/Particles/MultiParticleContainer.cpp | |
parent | 913cbf0464d6a79c959dde446158791939dfd21d (diff) | |
parent | 1f594f0b5ecfa3169e90546f695a1c649af36aa1 (diff) | |
download | WarpX-f19e1c99a301a12a164c7c1f32d57a9e01ac525b.tar.gz WarpX-f19e1c99a301a12a164c7c1f32d57a9e01ac525b.tar.zst WarpX-f19e1c99a301a12a164c7c1f32d57a9e01ac525b.zip |
Merge remote-tracking branch 'upstream/dev' into qed_evolve_optical_depth
Diffstat (limited to 'Source/Particles/MultiParticleContainer.cpp')
-rw-r--r-- | Source/Particles/MultiParticleContainer.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/Source/Particles/MultiParticleContainer.cpp b/Source/Particles/MultiParticleContainer.cpp index fca22daa2..55768c6fc 100644 --- a/Source/Particles/MultiParticleContainer.cpp +++ b/Source/Particles/MultiParticleContainer.cpp @@ -321,11 +321,7 @@ void MultiParticleContainer::Redistribute () { for (auto& pc : allcontainers) { - if ( (pc->NumRuntimeRealComps()>0) || (pc->NumRuntimeIntComps()>0) ) { - pc->RedistributeCPU(); - } else { - pc->Redistribute(); - } + pc->Redistribute(); } } @@ -333,11 +329,7 @@ void MultiParticleContainer::RedistributeLocal (const int num_ghost) { for (auto& pc : allcontainers) { - if ( (pc->NumRuntimeRealComps()>0) || (pc->NumRuntimeIntComps()>0) ) { - pc->RedistributeCPU(0, 0, 0, num_ghost); - } else { - pc->Redistribute(0, 0, 0, num_ghost); - } + pc->Redistribute(0, 0, 0, num_ghost); } } |