aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/WarpXParticleContainer.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.H')
-rw-r--r--Source/Particles/WarpXParticleContainer.H12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Particles/WarpXParticleContainer.H b/Source/Particles/WarpXParticleContainer.H
index afc83c041..5032bb455 100644
--- a/Source/Particles/WarpXParticleContainer.H
+++ b/Source/Particles/WarpXParticleContainer.H
@@ -368,10 +368,10 @@ protected:
std::string ionization_product_name;
int ion_atomic_number;
int ionization_initial_level = 0;
- amrex::Gpu::ManagedVector<amrex::Real> ionization_energies;
- amrex::Gpu::ManagedVector<amrex::Real> adk_power;
- amrex::Gpu::ManagedVector<amrex::Real> adk_prefactor;
- amrex::Gpu::ManagedVector<amrex::Real> adk_exp_prefactor;
+ amrex::Gpu::DeviceVector<amrex::Real> ionization_energies;
+ amrex::Gpu::DeviceVector<amrex::Real> adk_power;
+ amrex::Gpu::DeviceVector<amrex::Real> adk_prefactor;
+ amrex::Gpu::DeviceVector<amrex::Real> adk_exp_prefactor;
std::string physical_element;
int do_resampling = 0;
@@ -402,9 +402,9 @@ protected:
amrex::Vector<amrex::FArrayBox> local_jz;
public:
- using DataContainer = amrex::Gpu::ManagedDeviceVector<amrex::ParticleReal>;
using PairIndex = std::pair<int, int>;
- using TmpParticleTile = std::array<DataContainer, TmpIdx::nattribs>;
+ using TmpParticleTile = std::array<amrex::Gpu::DeviceVector<amrex::ParticleReal>,
+ TmpIdx::nattribs>;
using TmpParticles = amrex::Vector<std::map<PairIndex, TmpParticleTile> >;
protected: