aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.H
diff options
context:
space:
mode:
authorGravatar David Grote <grote1@llnl.gov> 2021-03-22 11:02:57 -0700
committerGravatar GitHub <noreply@github.com> 2021-03-22 11:02:57 -0700
commitb582c29089e9021ece3513b99c8fce3bcea73617 (patch)
treebe84a24b8bfda5fc34da7172b57494eb6da8a35d /Source/Particles/PhysicalParticleContainer.H
parent0310202ef8a1ffddbb07d708f5232baae8dd7cb5 (diff)
downloadWarpX-b582c29089e9021ece3513b99c8fce3bcea73617.tar.gz
WarpX-b582c29089e9021ece3513b99c8fce3bcea73617.tar.zst
WarpX-b582c29089e9021ece3513b99c8fce3bcea73617.zip
Applied boost to single and multiple particle input (#1800)
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.H')
-rw-r--r--Source/Particles/PhysicalParticleContainer.H5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.H b/Source/Particles/PhysicalParticleContainer.H
index 9e4a35780..c4cfd1b69 100644
--- a/Source/Particles/PhysicalParticleContainer.H
+++ b/Source/Particles/PhysicalParticleContainer.H
@@ -192,7 +192,8 @@ public:
*/
void AddPlasma (int lev, amrex::RealBox part_realbox = amrex::RealBox());
- void MapParticletoBoostedFrame (amrex::Real& x, amrex::Real& y, amrex::Real& z, std::array<amrex::Real, 3>& u);
+ void MapParticletoBoostedFrame (amrex::Real& x, amrex::Real& y, amrex::Real& z,
+ amrex::Real& ux, amrex::Real& uy, amrex::Real& uz);
void AddGaussianBeam (
const amrex::Real x_m, const amrex::Real y_m, const amrex::Real z_m,
@@ -209,7 +210,7 @@ public:
void CheckAndAddParticle (
amrex::Real x, amrex::Real y, amrex::Real z,
- std::array<amrex::Real, 3> u,
+ amrex::Real ux, amrex::Real uy, amrex::Real uz,
amrex::Real weight,
amrex::Gpu::HostVector<amrex::ParticleReal>& particle_x,
amrex::Gpu::HostVector<amrex::ParticleReal>& particle_y,