diff options
author | 2019-11-13 12:03:58 +0100 | |
---|---|---|
committer | 2019-11-13 12:03:58 +0100 | |
commit | f19e1c99a301a12a164c7c1f32d57a9e01ac525b (patch) | |
tree | 6a0ecd8758c3b7400e135238fe50dfc52f321d5d /Source/Particles/WarpXParticleContainer.H | |
parent | 913cbf0464d6a79c959dde446158791939dfd21d (diff) | |
parent | 1f594f0b5ecfa3169e90546f695a1c649af36aa1 (diff) | |
download | WarpX-f19e1c99a301a12a164c7c1f32d57a9e01ac525b.tar.gz WarpX-f19e1c99a301a12a164c7c1f32d57a9e01ac525b.tar.zst WarpX-f19e1c99a301a12a164c7c1f32d57a9e01ac525b.zip |
Merge remote-tracking branch 'upstream/dev' into qed_evolve_optical_depth
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.H')
-rw-r--r-- | Source/Particles/WarpXParticleContainer.H | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Particles/WarpXParticleContainer.H b/Source/Particles/WarpXParticleContainer.H index 7eaf7c277..1a89ded02 100644 --- a/Source/Particles/WarpXParticleContainer.H +++ b/Source/Particles/WarpXParticleContainer.H @@ -73,12 +73,12 @@ public: WarpXParIter (ContainerType& pc, int level); #if (AMREX_SPACEDIM == 2) - void GetPosition (amrex::Cuda::ManagedDeviceVector<amrex::ParticleReal>& x, - amrex::Cuda::ManagedDeviceVector<amrex::ParticleReal>& y, - amrex::Cuda::ManagedDeviceVector<amrex::ParticleReal>& z) const; - void SetPosition (const amrex::Cuda::ManagedDeviceVector<amrex::ParticleReal>& x, - const amrex::Cuda::ManagedDeviceVector<amrex::ParticleReal>& y, - const amrex::Cuda::ManagedDeviceVector<amrex::ParticleReal>& z); + void GetPosition (amrex::Gpu::ManagedDeviceVector<amrex::ParticleReal>& x, + amrex::Gpu::ManagedDeviceVector<amrex::ParticleReal>& y, + amrex::Gpu::ManagedDeviceVector<amrex::ParticleReal>& z) const; + void SetPosition (const amrex::Gpu::ManagedDeviceVector<amrex::ParticleReal>& x, + const amrex::Gpu::ManagedDeviceVector<amrex::ParticleReal>& y, + const amrex::Gpu::ManagedDeviceVector<amrex::ParticleReal>& z); #endif const std::array<RealVector, PIdx::nattribs>& GetAttribs () const { return GetStructOfArrays().GetRealData(); |