diff options
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 2dc25e6fa..c99c5278c 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1142,9 +1142,13 @@ PhysicalParticleContainer::Evolve (int lev, } } + // only deposit / gather to coarsest grid if (deposit_on_main_grid && lev > 0) { nfine_current = 0; } + if (m_gather_from_main_grid && lev > 0) { + nfine_gather = 0; + } if (nfine_current != np || nfine_gather != np) { |