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.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Python/pywarpx/Particles.py b/Python/pywarpx/Particles.py
index bc3feef9c..e7bac7e10 100644
--- a/Python/pywarpx/Particles.py
+++ b/Python/pywarpx/Particles.py
@@ -1,6 +1,7 @@
from .Bucket import Bucket
particles = Bucket('particles', nspecies=0, species_names='')
+particles_list = []
electrons = Bucket('electrons')
electrons.charge = "-q_e"
@@ -16,3 +17,8 @@ protons = Bucket('protons')
protons.charge = "q_e"
protons.mass = "m_p"
protons.injection_style = "python"
+
+particle_dict = {'electrons':electrons,
+ 'positrons':positrons,
+ 'protons':protons
+ }