diff options
author | 2018-10-18 17:07:17 -0700 | |
---|---|---|
committer | 2018-10-18 17:07:17 -0700 | |
commit | a8a3eeb794a1b9ca1be04d56a43ecfcac827df7e (patch) | |
tree | 4a0d1eebdc789a4fb6908cd221e13327e03845e0 /Source/RigidInjectedParticleContainer.H | |
parent | bb968cbf24b7804eee989f00c3f863378e3b0f97 (diff) | |
download | WarpX-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.H | 8 |
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, |