diff options
author | 2021-07-15 17:12:50 -0700 | |
---|---|---|
committer | 2021-07-15 17:12:50 -0700 | |
commit | f2807775949937ffac0b818bb234bc32fe408b8b (patch) | |
tree | 8d95df1bd75cae9bb68bfa61c793f0cc109288ba /Python/pywarpx/Particles.py | |
parent | f5cc0c43c9c85cf8fd1c483ed737ccb683bb4964 (diff) | |
download | WarpX-f2807775949937ffac0b818bb234bc32fe408b8b.tar.gz WarpX-f2807775949937ffac0b818bb234bc32fe408b8b.tar.zst WarpX-f2807775949937ffac0b818bb234bc32fe408b8b.zip |
Replace `injection_style = python` with `injection_style = none` (#2081)
* Replace injection_style = python with injection_style = none
* Update Docs
* Add Default injection_style = none
Diffstat (limited to 'Python/pywarpx/Particles.py')
-rw-r--r-- | Python/pywarpx/Particles.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/pywarpx/Particles.py b/Python/pywarpx/Particles.py index 15d439a96..7022190f1 100644 --- a/Python/pywarpx/Particles.py +++ b/Python/pywarpx/Particles.py @@ -12,17 +12,17 @@ particles_list = [] electrons = Bucket('electrons') electrons.charge = "-q_e" electrons.mass = "m_e" -electrons.injection_style = "python" +electrons.injection_style = None positrons = Bucket('positrons') positrons.charge = "q_e" positrons.mass = "m_e" -positrons.injection_style = "python" +positrons.injection_style = None protons = Bucket('protons') protons.charge = "q_e" protons.mass = "m_p" -protons.injection_style = "python" +protons.injection_style = None particle_dict = {'electrons':electrons, 'positrons':positrons, |