From 589343c6d151fc539a865a4987b97bfd31c30ca2 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Mon, 9 Sep 2019 15:16:24 -0700 Subject: Clean Up Deposit on Main Just some small renamings, doc strings and clean-ups for deposit on main grid. --- Source/Particles/PhysicalParticleContainer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Particles/PhysicalParticleContainer.cpp') 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) { -- cgit v1.2.3