From cd71f96146d419bbf6bbb223cbed52d4e95fa4e2 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Fri, 5 Mar 2021 03:00:33 +0100 Subject: QEDInternals: replace amrex::Real with amrex::ParticleReal where appropriate (#1741) * Replace amrex::Real with amrex::ParticleReal where appropriate Co-authored-by: NeilZaim <49716072+NeilZaim@users.noreply.github.com> --- 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 cc9991f97..f0320d00f 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -720,8 +720,8 @@ PhysicalParticleContainer::AddPlasma (int lev, RealBox part_realbox) #ifdef WARPX_QED //Pointer to the optical depth component - amrex::Real* p_optical_depth_QSR = nullptr; - amrex::Real* p_optical_depth_BW = nullptr; + amrex::ParticleReal* p_optical_depth_QSR = nullptr; + amrex::ParticleReal* p_optical_depth_BW = nullptr; // If a QED effect is enabled, the corresponding optical depth // has to be initialized -- cgit v1.2.3