diff options
author | 2019-11-15 12:20:44 +0100 | |
---|---|---|
committer | 2019-11-15 12:20:44 +0100 | |
commit | cec596f7936e98e0b6a71ef4ed3137c0dfe13758 (patch) | |
tree | 7c4ddb9553d0ca899c0c762857e196bd3b8ae452 /Source/Particles/PhotonParticleContainer.cpp | |
parent | d067dff2100f8f054dd9e69967b0c62d42ac3828 (diff) | |
download | WarpX-cec596f7936e98e0b6a71ef4ed3137c0dfe13758.tar.gz WarpX-cec596f7936e98e0b6a71ef4ed3137c0dfe13758.tar.zst WarpX-cec596f7936e98e0b6a71ef4ed3137c0dfe13758.zip |
cleaning
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp index 424569c9a..c03ed00c2 100644 --- a/Source/Particles/PhotonParticleContainer.cpp +++ b/Source/Particles/PhotonParticleContainer.cpp @@ -120,10 +120,7 @@ void PhotonParticleContainer::EvolveOpticalDepth( WarpXParIter& pti,amrex::Real dt) { - //m_shr_p_bw_engine->are_lookup_tables_initialized() is necessary here if we want - //to perform just initialization tests of the optical depth without actually - //enabling QED effects (this requires lookup tables). - if(!has_breit_wheeler() || !m_shr_p_bw_engine->are_lookup_tables_initialized()) + if(!has_breit_wheeler()) return; auto& attribs = pti.GetAttribs(); |