diff options
author | 2020-01-29 12:54:42 -0800 | |
---|---|---|
committer | 2020-01-29 12:54:42 -0800 | |
commit | 1b3a5b73df4937559ee76fbbb189f88c661df54e (patch) | |
tree | 6a486ec1e753fb9126ed572e6750397bd7b12cff /Source/Particles/PhotonParticleContainer.cpp | |
parent | 4f2cbd2f3525d9f97aeeb00d0a205ab271135235 (diff) | |
download | WarpX-1b3a5b73df4937559ee76fbbb189f88c661df54e.tar.gz WarpX-1b3a5b73df4937559ee76fbbb189f88c661df54e.tar.zst WarpX-1b3a5b73df4937559ee76fbbb189f88c661df54e.zip |
rename get/set particle position functors
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp index 1e34b4c97..92ccc17e7 100644 --- a/Source/Particles/PhotonParticleContainer.cpp +++ b/Source/Particles/PhotonParticleContainer.cpp @@ -72,16 +72,16 @@ PhotonParticleContainer::PushPX(WarpXParIter& pti, Real dt, DtType a_dt_type) copy_attribs(pti); } - const auto get_position = GetPosition(pti); - auto set_position = SetPosition(pti); + const auto GetPosition = GetParticlePosition(pti); + auto SetPosition = SetParticlePosition(pti); amrex::ParallelFor( pti.numParticles(), [=] AMREX_GPU_DEVICE (long i) { ParticleReal x, y, z; - get_position(i, x, y, z); + GetPosition(i, x, y, z); UpdatePositionPhoton( x, y, z, ux[i], uy[i], uz[i], dt ); - set_position(i, x, y, z); + SetPosition(i, x, y, z); } ); } |