aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/MultiParticleContainer.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/MultiParticleContainer.H')
-rw-r--r--Source/Particles/MultiParticleContainer.H6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Particles/MultiParticleContainer.H b/Source/Particles/MultiParticleContainer.H
index 59815d150..3eb4cfba8 100644
--- a/Source/Particles/MultiParticleContainer.H
+++ b/Source/Particles/MultiParticleContainer.H
@@ -376,8 +376,8 @@ protected:
MFItInfoCheckTiling(pc_src, pc_dsts...);
- if (pc_src.do_tiling && amrex::Gpu::notInLaunchRegion()) {
- info.EnableTiling(pc_src.tile_size);
+ if (WarpXParticleContainer::do_tiling && amrex::Gpu::notInLaunchRegion()) {
+ info.EnableTiling(WarpXParticleContainer::tile_size);
}
#ifdef AMREX_USE_OMP
@@ -496,7 +496,7 @@ private:
void MFItInfoCheckTiling(const WarpXParticleContainer& pc_src,
First const& pc_dst, Args const&... others) const noexcept
{
- if (pc_src.do_tiling && amrex::Gpu::notInLaunchRegion()) {
+ if (WarpXParticleContainer::do_tiling && amrex::Gpu::notInLaunchRegion()) {
WARPX_ALWAYS_ASSERT_WITH_MESSAGE(pc_dst.do_tiling,
"For particle creation processes, either all or none of the "
"particle species must use tiling.");