diff options
Diffstat (limited to 'Source/Diagnostics/ParticleIO.cpp')
-rw-r--r-- | Source/Diagnostics/ParticleIO.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/Diagnostics/ParticleIO.cpp b/Source/Diagnostics/ParticleIO.cpp index 875798554..5e1467ba1 100644 --- a/Source/Diagnostics/ParticleIO.cpp +++ b/Source/Diagnostics/ParticleIO.cpp @@ -120,9 +120,12 @@ MultiParticleContainer::WritePlotFile (const std::string& dir) const } #ifdef WARPX_QED - if(pc->m_do_qed){ - real_names.push_back("tau"); - } + if( pc->has_breit_wheeler() ) { + real_names.push_back("optical_depth_BW"); + } + if( pc->has_quantum_sync() ) { + real_names.push_back("optical_depth_QSR"); + } #endif // Convert momentum to SI |