aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar David Grote <grote1@llnl.gov> 2022-07-27 12:32:41 -0700
committerGravatar GitHub <noreply@github.com> 2022-07-27 12:32:41 -0700
commitc7eff60a29dc5e17b5afa1b8c0c1ef5dc452749c (patch)
tree9d29c22eaf68cfdfbe2402b6612c3e11f0c495f3 /Source/Particles/PhysicalParticleContainer.cpp
parentc3015247f9d2d82b444084d55fbcbe8e45f8c211 (diff)
downloadWarpX-c7eff60a29dc5e17b5afa1b8c0c1ef5dc452749c.tar.gz
WarpX-c7eff60a29dc5e17b5afa1b8c0c1ef5dc452749c.tar.zst
WarpX-c7eff60a29dc5e17b5afa1b8c0c1ef5dc452749c.zip
Starting with the pusher, consistently use ParticleReal (#3259)
* Starting with the pusher, consistently use ParticleReal * Update benchmarks for background_mcc_dp_psp
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index 8dfca52ef..c075c6d25 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -2646,8 +2646,8 @@ PhysicalParticleContainer::PushPX (WarpXParIter& pti,
}
// Loop over the particles and update their momentum
- const amrex::Real q = this->charge;
- const amrex::Real m = this-> mass;
+ const amrex::ParticleReal q = this->charge;
+ const amrex::ParticleReal m = this-> mass;
const auto pusher_algo = WarpX::particle_pusher_algo;
const auto do_crr = do_classical_radiation_reaction;