diff options
author | 2018-10-31 15:41:49 -0700 | |
---|---|---|
committer | 2018-10-31 15:41:49 -0700 | |
commit | 0bc456a56a1c70925cee7a341f24d2ad9e1bc8fc (patch) | |
tree | ab22de40c1a5b7c3edb9a559b849bfa995f6bb55 /Source/ParticleContainer.cpp | |
parent | cb3d6c521b95fe2c6d1e5d79ce56066c41b98e01 (diff) | |
download | WarpX-0bc456a56a1c70925cee7a341f24d2ad9e1bc8fc.tar.gz WarpX-0bc456a56a1c70925cee7a341f24d2ad9e1bc8fc.tar.zst WarpX-0bc456a56a1c70925cee7a341f24d2ad9e1bc8fc.zip |
make RedistributeLocal take the number of ghost cells as an argument.
Diffstat (limited to 'Source/ParticleContainer.cpp')
-rw-r--r-- | Source/ParticleContainer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/ParticleContainer.cpp b/Source/ParticleContainer.cpp index 39119e960..75c13d793 100644 --- a/Source/ParticleContainer.cpp +++ b/Source/ParticleContainer.cpp @@ -269,9 +269,8 @@ MultiParticleContainer::Redistribute () } void -MultiParticleContainer::RedistributeLocal () +MultiParticleContainer::RedistributeLocal (const int num_ghost) { - int num_ghost = WarpX::do_moving_window ? 2 : 1; for (auto& pc : allcontainers) { pc->Redistribute(0, 0, 0, num_ghost); } |