aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.H')
-rw-r--r--Source/Particles/PhysicalParticleContainer.H4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.H b/Source/Particles/PhysicalParticleContainer.H
index 30105ddcb..1e1307072 100644
--- a/Source/Particles/PhysicalParticleContainer.H
+++ b/Source/Particles/PhysicalParticleContainer.H
@@ -287,7 +287,7 @@ public:
* @param[in] resampler the Resampling object used for resampling.
* @param[in] timestep the current timestep.
*/
- void resample (const Resampling& resampler, const int timestep) override final;
+ void resample (const int timestep) override final;
#ifdef WARPX_QED
//Functions decleared in WarpXParticleContainer.H
@@ -338,6 +338,8 @@ protected:
bool boost_adjust_transverse_positions = false;
bool do_backward_propagation = false;
+ Resampling m_resampler;
+
// Inject particles during the whole simulation
void ContinuousInjection (const amrex::RealBox& injection_box) override;