aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-23 14:10:38 -0700
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-09-23 14:10:38 -0700
commit97782d2ee0929b1485923e8dc98ccf0192031649 (patch)
tree548217ff135868e9cd2eea45d3e9a875886c6e61 /Source/Particles/PhysicalParticleContainer.cpp
parent5f3db4cd214b27297e3ea69c8582e64bf190d3e6 (diff)
downloadWarpX-97782d2ee0929b1485923e8dc98ccf0192031649.tar.gz
WarpX-97782d2ee0929b1485923e8dc98ccf0192031649.tar.zst
WarpX-97782d2ee0929b1485923e8dc98ccf0192031649.zip
make sure splitting works without subcycling
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index c878ad7b3..8eec9ae41 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -1364,7 +1364,7 @@ PhysicalParticleContainer::Evolve (int lev,
}
}
// Split particles
- if (do_splitting && a_dt_type == DtType::SecondHalf){
+ if (do_splitting && a_dt_type == DtType::SecondHalf && WarpX::do_subcycling == 1){
SplitParticles(lev);
}
}