diff options
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.H')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.H | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.H b/Source/Particles/PhysicalParticleContainer.H index 08682c581..8e3bfdb86 100644 --- a/Source/Particles/PhysicalParticleContainer.H +++ b/Source/Particles/PhysicalParticleContainer.H @@ -200,7 +200,7 @@ public: void MapParticletoBoostedFrame (amrex::ParticleReal& x, amrex::ParticleReal& y, amrex::ParticleReal& z, amrex::ParticleReal& ux, amrex::ParticleReal& uy, amrex::ParticleReal& uz, - amrex::ParticleReal t_lab = 0._prt); + amrex::Real t_lab = 0._prt); void AddGaussianBeam ( const amrex::Real x_m, const amrex::Real y_m, const amrex::Real z_m, @@ -226,7 +226,7 @@ public: amrex::Gpu::HostVector<amrex::ParticleReal>& particle_uy, amrex::Gpu::HostVector<amrex::ParticleReal>& particle_uz, amrex::Gpu::HostVector<amrex::ParticleReal>& particle_w, - amrex::ParticleReal t_lab= 0._prt); + amrex::Real t_lab= 0._prt); /** * \brief Default initialize runtime attributes in a tile. This routine does not initialize the @@ -359,6 +359,9 @@ protected: bool do_backward_propagation = false; bool m_rz_random_theta = true; + // Impose t_lab from the openPMD file for externally loaded species + bool impose_t_lab_from_file = false; + Resampling m_resampler; // Inject particles during the whole simulation |