diff options
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(); |