diff options
author | 2020-02-03 13:34:22 -0800 | |
---|---|---|
committer | 2020-02-03 13:34:22 -0800 | |
commit | 0864af39eb38ef9b3d80688bcc05f20591d12d51 (patch) | |
tree | f75ed8fe8eb4e2a51c835e7df9247bb1b71294b3 /Source/Particles/Pusher/UpdatePosition.H | |
parent | f8d47ad826c85f691473b03e191a1097685c52dd (diff) | |
parent | 3a15da410873a733ab77150089d665e513cc1d80 (diff) | |
download | WarpX-0864af39eb38ef9b3d80688bcc05f20591d12d51.tar.gz WarpX-0864af39eb38ef9b3d80688bcc05f20591d12d51.tar.zst WarpX-0864af39eb38ef9b3d80688bcc05f20591d12d51.zip |
Merge branch 'dev' into elementary_process
Diffstat (limited to 'Source/Particles/Pusher/UpdatePosition.H')
-rw-r--r-- | Source/Particles/Pusher/UpdatePosition.H | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/Particles/Pusher/UpdatePosition.H b/Source/Particles/Pusher/UpdatePosition.H index 7f86a106d..1968a1439 100644 --- a/Source/Particles/Pusher/UpdatePosition.H +++ b/Source/Particles/Pusher/UpdatePosition.H @@ -15,10 +15,9 @@ /** \brief Push the particle's positions over one timestep, * given the value of its momenta `ux`, `uy`, `uz` */ AMREX_GPU_HOST_DEVICE AMREX_INLINE -void UpdatePosition( - amrex::ParticleReal& x, amrex::ParticleReal& y, amrex::ParticleReal& z, - const amrex::ParticleReal ux, const amrex::ParticleReal uy, const amrex::ParticleReal uz, - const amrex::Real dt ) +void UpdatePosition(amrex::ParticleReal& x, amrex::ParticleReal& y, amrex::ParticleReal& z, + const amrex::ParticleReal ux, const amrex::ParticleReal uy, const amrex::ParticleReal uz, + const amrex::Real dt ) { constexpr amrex::Real inv_c2 = 1./(PhysConst::c*PhysConst::c); @@ -31,7 +30,6 @@ void UpdatePosition( y += uy * inv_gamma * dt; #endif z += uz * inv_gamma * dt; - } #endif // WARPX_PARTICLES_PUSHER_UPDATEPOSITION_H_ |