diff options
author | 2018-01-31 08:05:22 -0800 | |
---|---|---|
committer | 2018-01-31 08:05:22 -0800 | |
commit | cac24fdd25dab0ba2898df49547aa1929590602e (patch) | |
tree | 2caa1898eb41fa5f0ee96da08d26ccd4374bb72b /Source/ParticleContainer.cpp | |
parent | b4d533b1d987a952f99683562369e09097d9d473 (diff) | |
parent | 84711074d754243a82a8a4fd5a68f0f042edc63c (diff) | |
download | WarpX-cac24fdd25dab0ba2898df49547aa1929590602e.tar.gz WarpX-cac24fdd25dab0ba2898df49547aa1929590602e.tar.zst WarpX-cac24fdd25dab0ba2898df49547aa1929590602e.zip |
Merge branch 'master' of bitbucket.org:berkeleylab/warpx
Diffstat (limited to 'Source/ParticleContainer.cpp')
-rw-r--r-- | Source/ParticleContainer.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/ParticleContainer.cpp b/Source/ParticleContainer.cpp index 55889cf8d..168b9167c 100644 --- a/Source/ParticleContainer.cpp +++ b/Source/ParticleContainer.cpp @@ -186,6 +186,14 @@ MultiParticleContainer::Redistribute () } } +void +MultiParticleContainer::RedistributeLocal () +{ + for (auto& pc : allcontainers) { + pc->Redistribute(0, 0, 0, true); + } +} + Vector<long> MultiParticleContainer::NumberOfParticlesInGrid(int lev) const { |