aboutsummaryrefslogtreecommitdiff
path: root/Source/Laser/LaserParticleContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Laser/LaserParticleContainer.cpp')
-rw-r--r--Source/Laser/LaserParticleContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Laser/LaserParticleContainer.cpp b/Source/Laser/LaserParticleContainer.cpp
index 658e56db4..0203cc4b2 100644
--- a/Source/Laser/LaserParticleContainer.cpp
+++ b/Source/Laser/LaserParticleContainer.cpp
@@ -585,7 +585,7 @@ LaserParticleContainer::calculate_laser_plane_coordinates (const WarpXParIter& p
amrex::ParallelFor(
np,
[=] AMREX_GPU_DEVICE (int i) {
- Real x, y, z;
+ ParticleReal x, y, z;
get_position(i, x, y, z);
#if (defined WARPX_DIM_3D) || (defined WARPX_DIM_RZ)
pplane_Xp[i] =
@@ -662,7 +662,7 @@ LaserParticleContainer::update_laser_particle(WarpXParIter& pti,
puzp[i] = gamma * vz;
// Push the the particle positions
- Real x, y, z;
+ ParticleReal x, y, z;
get_position(i, x, y, z);
x += vx * dt;
#if (defined WARPX_DIM_3D) || (defined WARPX_DIM_RZ)