aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2020-04-23 17:44:23 -0700
committerGravatar GitHub <noreply@github.com> 2020-04-23 17:44:23 -0700
commit9338081099d27c8a0ea8ddb8101ebfdfda118709 (patch)
tree5fc008cfcda00156872074f342f5af16118d6cbd /Source/Particles/PhysicalParticleContainer.cpp
parentcafcb6bd5902fc72a4d6fa51b99fe837f5eb5381 (diff)
downloadWarpX-9338081099d27c8a0ea8ddb8101ebfdfda118709.tar.gz
WarpX-9338081099d27c8a0ea8ddb8101ebfdfda118709.tar.zst
WarpX-9338081099d27c8a0ea8ddb8101ebfdfda118709.zip
New diags also handle particle (#938)
* new class for particle diagnostics * copy all diag properties from WarpXParticleContainer to ParticleDiag * revert change of input example * add some comments * eol * OpenPMD flush format for new diags * eol * fix compilation for new diags with QED * fix bug when QED off * fix typo and include suggestion from review * Remove Dead Code, Add TODO Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * changes due to code review Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index a085c440d..0bfbeea16 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -2232,12 +2232,12 @@ PhysicalParticleContainer::getIonizationFunc ()
#ifdef WARPX_QED
-bool PhysicalParticleContainer::has_quantum_sync ()
+bool PhysicalParticleContainer::has_quantum_sync () const
{
return m_do_qed_quantum_sync;
}
-bool PhysicalParticleContainer::has_breit_wheeler ()
+bool PhysicalParticleContainer::has_breit_wheeler () const
{
return m_do_qed_breit_wheeler;
}