aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Andrew Myers <atmyers2@gmail.com> 2020-01-29 12:23:59 -0800
committerGravatar Andrew Myers <atmyers2@gmail.com> 2020-01-29 12:23:59 -0800
commit2ef268b10a924644d10996daa069befea843879f (patch)
tree951679ad2808f212f533fc66d21baa2a0d5c1ee5 /Source/Particles/PhotonParticleContainer.cpp
parentd6dd759b466a350802e93786c7952cbf4bbeaf74 (diff)
downloadWarpX-2ef268b10a924644d10996daa069befea843879f.tar.gz
WarpX-2ef268b10a924644d10996daa069befea843879f.tar.zst
WarpX-2ef268b10a924644d10996daa069befea843879f.zip
Real -> ParticleReal
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index 590b8b9dc..1e34b4c97 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -78,7 +78,7 @@ PhotonParticleContainer::PushPX(WarpXParIter& pti, Real dt, DtType a_dt_type)
amrex::ParallelFor(
pti.numParticles(),
[=] AMREX_GPU_DEVICE (long i) {
- Real x, y, z;
+ ParticleReal x, y, z;
get_position(i, x, y, z);
UpdatePositionPhoton( x, y, z, ux[i], uy[i], uz[i], dt );
set_position(i, x, y, z);