aboutsummaryrefslogtreecommitdiff
path: root/Source/RigidInjectedParticleContainer.H
diff options
context:
space:
mode:
authorGravatar Andrew Myers <atmyers2@gmail.com> 2018-10-18 17:07:17 -0700
committerGravatar Andrew Myers <atmyers2@gmail.com> 2018-10-18 17:07:17 -0700
commita8a3eeb794a1b9ca1be04d56a43ecfcac827df7e (patch)
tree4a0d1eebdc789a4fb6908cd221e13327e03845e0 /Source/RigidInjectedParticleContainer.H
parentbb968cbf24b7804eee989f00c3f863378e3b0f97 (diff)
downloadWarpX-a8a3eeb794a1b9ca1be04d56a43ecfcac827df7e.tar.gz
WarpX-a8a3eeb794a1b9ca1be04d56a43ecfcac827df7e.tar.zst
WarpX-a8a3eeb794a1b9ca1be04d56a43ecfcac827df7e.zip
use thrust::device_vector to store temporary particle quantities
Diffstat (limited to 'Source/RigidInjectedParticleContainer.H')
-rw-r--r--Source/RigidInjectedParticleContainer.H8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/RigidInjectedParticleContainer.H b/Source/RigidInjectedParticleContainer.H
index ea405180e..cd53db71f 100644
--- a/Source/RigidInjectedParticleContainer.H
+++ b/Source/RigidInjectedParticleContainer.H
@@ -43,10 +43,10 @@ public:
amrex::Real dt) override;
virtual void PushPX(WarpXParIter& pti,
- RealVector& xp,
- RealVector& yp,
- RealVector& zp,
- RealVector& giv,
+ thrust::device_vector<amrex::Real>& xp,
+ thrust::device_vector<amrex::Real>& yp,
+ thrust::device_vector<amrex::Real>& zp,
+ thrust::device_vector<amrex::Real>& giv,
amrex::Real dt) override;
virtual void PushP (int lev, amrex::Real dt,