aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-10-24 10:29:11 +0200
committerGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-10-24 10:29:11 +0200
commit5400c41a53f932fb835fd3c44233ab6d39190318 (patch)
treef589431881a54a5e3c56f1eeef06805a422e5be0 /Source/Particles/PhotonParticleContainer.cpp
parentb8c1485437ca923ecf93af2782230f488d4c7377 (diff)
downloadWarpX-5400c41a53f932fb835fd3c44233ab6d39190318.tar.gz
WarpX-5400c41a53f932fb835fd3c44233ab6d39190318.tar.zst
WarpX-5400c41a53f932fb835fd3c44233ab6d39190318.zip
Add initial value (false) for test_quantum_sync
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index 3c70a957f..3e678fb26 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -31,7 +31,7 @@ PhotonParticleContainer::PhotonParticleContainer (AmrCore* amr_core, int ispecie
pp.query("do_qed_breit_wheeler", do_qed_breit_wheeler);
//Check for processes which do not make sense for photons
- bool test_quantum_sync;
+ bool test_quantum_sync = false;
pp.query("do_qed_quantum_sync", test_quantum_sync);
AMREX_ALWAYS_ASSERT_WITH_MESSAGE(
test_quantum_sync == 0,