aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2020-07-24 18:22:48 +0200
committerGravatar GitHub <noreply@github.com> 2020-07-24 09:22:48 -0700
commit19850f75f629c813b409656d3f071a0d391b77a0 (patch)
tree92d75e3df208ef01e3e2fc5d55a44fb10a1f226e /Source/Particles/PhysicalParticleContainer.cpp
parent8d73c267d5ed28fc7bd8ef26b7360d667d8ea2ed (diff)
downloadWarpX-19850f75f629c813b409656d3f071a0d391b77a0.tar.gz
WarpX-19850f75f629c813b409656d3f071a0d391b77a0.tar.zst
WarpX-19850f75f629c813b409656d3f071a0d391b77a0.zip
fix bug which prevented evolution of optical depth (#1205)
Diffstat (limited to '')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index bd14c8b0d..369a39f8a 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -1870,7 +1870,7 @@ PhysicalParticleContainer::PushPX (WarpXParIter& pti,
scaleFields(xp, yp, zp, Exp, Eyp, Ezp, Bxp, Byp, Bzp);
-#ifdef WARPX_WED
+#ifdef WARPX_QED
if (local_has_quantum_sync) {
const ParticleReal px = m * ux[ip];
const ParticleReal py = m * uy[ip];