diff options
author | 2017-06-29 11:18:58 -0700 | |
---|---|---|
committer | 2017-06-29 11:18:58 -0700 | |
commit | 57e7a20d4defcb27c1694e4868ade115fea9205e (patch) | |
tree | 32c396f2a040a53645dd53128aa99f2bad3da983 /Python/pywarpx/Particles.py | |
parent | a03c1c40bc104bcb54ab27402b2688df336cd283 (diff) | |
parent | f6dd7a697a15ff568bfd33abed62066bbd2639c8 (diff) | |
download | WarpX-57e7a20d4defcb27c1694e4868ade115fea9205e.tar.gz WarpX-57e7a20d4defcb27c1694e4868ade115fea9205e.tar.zst WarpX-57e7a20d4defcb27c1694e4868ade115fea9205e.zip |
Merge branch 'master' of bitbucket.org:berkeleylab/warpx
Diffstat (limited to 'Python/pywarpx/Particles.py')
-rw-r--r-- | Python/pywarpx/Particles.py | 6 |
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 + } |