aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/Particles.py
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pywarpx/Particles.py')
-rw-r--r--Python/pywarpx/Particles.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/Python/pywarpx/Particles.py b/Python/pywarpx/Particles.py
index a11da823d..a166b029e 100644
--- a/Python/pywarpx/Particles.py
+++ b/Python/pywarpx/Particles.py
@@ -1,3 +1,18 @@
from .Bucket import Bucket
particles = Bucket('particles')
+
+electrons = Bucket('electrons')
+electrons.charge = "-q_e"
+electrons.mass = "m_e"
+electrons.injection_style = "python"
+
+positrons = Bucket('positrons')
+positrons.charge = "q_e"
+positrons.mass = "m_e"
+positrons.injection_style = "python"
+
+protons = Bucket('protons')
+protons.charge = "q_e"
+protons.mass = "m_p"
+protons.injection_style = "python"