From c7eff60a29dc5e17b5afa1b8c0c1ef5dc452749c Mon Sep 17 00:00:00 2001 From: David Grote Date: Wed, 27 Jul 2022 12:32:41 -0700 Subject: Starting with the pusher, consistently use ParticleReal (#3259) * Starting with the pusher, consistently use ParticleReal * Update benchmarks for background_mcc_dp_psp --- Source/Particles/PhysicalParticleContainer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Particles/PhysicalParticleContainer.cpp') 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; -- cgit v1.2.3