diff options
author | 2020-01-29 12:23:59 -0800 | |
---|---|---|
committer | 2020-01-29 12:23:59 -0800 | |
commit | 2ef268b10a924644d10996daa069befea843879f (patch) | |
tree | 951679ad2808f212f533fc66d21baa2a0d5c1ee5 /Source/Laser/LaserParticleContainer.cpp | |
parent | d6dd759b466a350802e93786c7952cbf4bbeaf74 (diff) | |
download | WarpX-2ef268b10a924644d10996daa069befea843879f.tar.gz WarpX-2ef268b10a924644d10996daa069befea843879f.tar.zst WarpX-2ef268b10a924644d10996daa069befea843879f.zip |
Real -> ParticleReal
Diffstat (limited to 'Source/Laser/LaserParticleContainer.cpp')
-rw-r--r-- | Source/Laser/LaserParticleContainer.cpp | 4 |
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) |