aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-10 17:53:50 -0600
committerGravatar GitHub <noreply@github.com> 2019-09-10 17:53:50 -0600
commit51996901584e48ffb8fbcf719c8a1db851b21ac5 (patch)
tree34c37307e78ac5b3dbcc7772cd200f4f22f6d51b /Source/Particles/PhysicalParticleContainer.cpp
parentdebe7df266fd58a1e9e5ca6c6929c198cfb1cbac (diff)
parent589343c6d151fc539a865a4987b97bfd31c30ca2 (diff)
downloadWarpX-51996901584e48ffb8fbcf719c8a1db851b21ac5.tar.gz
WarpX-51996901584e48ffb8fbcf719c8a1db851b21ac5.tar.zst
WarpX-51996901584e48ffb8fbcf719c8a1db851b21ac5.zip
Merge pull request #329 from ax3l/topic-cleanUpDepositMembers
Clean Up Deposit on Main
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index c99c5278c..318ad4664 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -1087,8 +1087,8 @@ PhysicalParticleContainer::Evolve (int lev,
m_giv[thread_num].resize(np);
- long nfine_current = np;
- long nfine_gather = np;
+ long nfine_current = np; //! number of particles depositing to fine grid
+ long nfine_gather = np; //! number of particles gathering from fine grid
if (has_buffer && !do_not_push)
{
BL_PROFILE_VAR_START(blp_partition);
@@ -1143,7 +1143,7 @@ PhysicalParticleContainer::Evolve (int lev,
}
// only deposit / gather to coarsest grid
- if (deposit_on_main_grid && lev > 0) {
+ if (m_deposit_on_main_grid && lev > 0) {
nfine_current = 0;
}
if (m_gather_from_main_grid && lev > 0) {