diff options
author | 2018-10-31 19:36:40 -0400 | |
---|---|---|
committer | 2018-10-31 19:36:40 -0400 | |
commit | 1a0c6bdc09e4ef9c1d08fb1f381d417f445d7840 (patch) | |
tree | 3ed07fa9e8ebbe9f8f2ed3f22856f80d4b8b6010 /Source/ParticleContainer.cpp | |
parent | 925398199d055acbd1f4fdb07fd807738d947c5b (diff) | |
parent | 6346c5074829c9790f20f6250149100c97c8fd0f (diff) | |
download | WarpX-1a0c6bdc09e4ef9c1d08fb1f381d417f445d7840.tar.gz WarpX-1a0c6bdc09e4ef9c1d08fb1f381d417f445d7840.tar.zst WarpX-1a0c6bdc09e4ef9c1d08fb1f381d417f445d7840.zip |
Merge pull request #28 from ECP-WarpX/moving_window_nghost_fix
Moving window nghost fix
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); } |