aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.H
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-12-23 14:04:37 -0800
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-12-23 14:04:37 -0800
commit2ebae955f208d63fe781613cb511ff57b5da836a (patch)
tree08d29fc0954aeb1c539d9549ba00bad5080b6ada /Source/Particles/PhotonParticleContainer.H
parent4b5b142d63f047a94919e24b8849841560e7be15 (diff)
parentdb13c6aa943753b514479aa7e0049921937c8846 (diff)
downloadWarpX-2ebae955f208d63fe781613cb511ff57b5da836a.tar.gz
WarpX-2ebae955f208d63fe781613cb511ff57b5da836a.tar.zst
WarpX-2ebae955f208d63fe781613cb511ff57b5da836a.zip
Merge branch 'dev' into comm
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.H')
-rw-r--r--Source/Particles/PhotonParticleContainer.H7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Particles/PhotonParticleContainer.H b/Source/Particles/PhotonParticleContainer.H
index 580f13f86..9b688cc59 100644
--- a/Source/Particles/PhotonParticleContainer.H
+++ b/Source/Particles/PhotonParticleContainer.H
@@ -4,6 +4,13 @@
#include <PhysicalParticleContainer.H>
#include <AMReX_Vector.H>
+/**
+ * Photon particles have no mass, they deposit no charge, and see specific QED
+ * effects. For these reasons, they are stored in the separate particle
+ * container PhotonParticleContainer, that inherts from
+ * PhysicalParticleContainer. The particle pusher and current deposition, in
+ * particular, are overriden in this container.
+ */
class PhotonParticleContainer
: public PhysicalParticleContainer
{