aboutsummaryrefslogtreecommitdiff
path: root/Source/ParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/ParticleContainer.cpp')
-rw-r--r--Source/ParticleContainer.cpp3
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);
}