diff options
author | 2019-06-03 14:37:08 +0200 | |
---|---|---|
committer | 2019-06-03 14:37:08 +0200 | |
commit | e1067378f5d43c11850f4e6518cbfe3a96250889 (patch) | |
tree | 9bffa0cf6ca4e4adc5f2c844cda0083e4857d9ae /Source/Particles/PhotonParticleContainer.cpp | |
parent | c0206304119376484e89b8ebc0f639a686165acc (diff) | |
download | WarpX-e1067378f5d43c11850f4e6518cbfe3a96250889.tar.gz WarpX-e1067378f5d43c11850f4e6518cbfe3a96250889.tar.zst WarpX-e1067378f5d43c11850f4e6518cbfe3a96250889.zip |
Added a wrapper for BW engine
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp index 41ad13fc2..9ea448ec8 100644 --- a/Source/Particles/PhotonParticleContainer.cpp +++ b/Source/Particles/PhotonParticleContainer.cpp @@ -37,6 +37,10 @@ void PhotonParticleContainer::InitData() { AddParticles(0); // Note - add on level 0 +#ifdef WARPX_QED + InitOpticalDepth(); +#endif + if (maxLevel() > 0) { Redistribute(); // We then redistribute } |