aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2021-03-05 03:00:33 +0100
committerGravatar GitHub <noreply@github.com> 2021-03-04 18:00:33 -0800
commitcd71f96146d419bbf6bbb223cbed52d4e95fa4e2 (patch)
tree2541f4f30adb3ac0ec157ea6f701dd3d1bc9dca7 /Source/Particles/PhysicalParticleContainer.cpp
parentce7690435393e37f4cbd311a4f4591e13e8f4c6a (diff)
downloadWarpX-cd71f96146d419bbf6bbb223cbed52d4e95fa4e2.tar.gz
WarpX-cd71f96146d419bbf6bbb223cbed52d4e95fa4e2.tar.zst
WarpX-cd71f96146d419bbf6bbb223cbed52d4e95fa4e2.zip
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>
Diffstat (limited to '')
-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 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