aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Weiqun Zhang <weiqunzhang@lbl.gov> 2019-11-11 21:10:12 -0800
committerGravatar Weiqun Zhang <weiqunzhang@lbl.gov> 2019-11-11 21:10:12 -0800
commit25c55bf3ecd7c6ca2d799fd55244e1a8b5f70970 (patch)
treeb431072669a90815d62db56de3cab3ef61c54210 /Source/Particles/PhysicalParticleContainer.cpp
parent822fe53f6c98041f1db92f5e0002d3211419330c (diff)
downloadWarpX-25c55bf3ecd7c6ca2d799fd55244e1a8b5f70970.tar.gz
WarpX-25c55bf3ecd7c6ca2d799fd55244e1a8b5f70970.tar.zst
WarpX-25c55bf3ecd7c6ca2d799fd55244e1a8b5f70970.zip
Cuda -> Gpu according to AMReX change
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index 77f6601c6..938c80de5 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -1396,7 +1396,7 @@ PhysicalParticleContainer::SplitParticles(int lev)
{
auto& mypc = WarpX::GetInstance().GetPartContainer();
auto& pctmp_split = mypc.GetPCtmp();
- Cuda::ManagedDeviceVector<ParticleReal> xp, yp, zp;
+ Gpu::ManagedDeviceVector<ParticleReal> xp, yp, zp;
RealVector psplit_x, psplit_y, psplit_z, psplit_w;
RealVector psplit_ux, psplit_uy, psplit_uz;
long np_split_to_add = 0;
@@ -1554,9 +1554,9 @@ PhysicalParticleContainer::SplitParticles(int lev)
void
PhysicalParticleContainer::PushPX(WarpXParIter& pti,
- Cuda::ManagedDeviceVector<ParticleReal>& xp,
- Cuda::ManagedDeviceVector<ParticleReal>& yp,
- Cuda::ManagedDeviceVector<ParticleReal>& zp,
+ Gpu::ManagedDeviceVector<ParticleReal>& xp,
+ Gpu::ManagedDeviceVector<ParticleReal>& yp,
+ Gpu::ManagedDeviceVector<ParticleReal>& zp,
Real dt, DtType a_dt_type)
{