aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/Particles.py
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2021-07-15 17:12:50 -0700
committerGravatar GitHub <noreply@github.com> 2021-07-15 17:12:50 -0700
commitf2807775949937ffac0b818bb234bc32fe408b8b (patch)
tree8d95df1bd75cae9bb68bfa61c793f0cc109288ba /Python/pywarpx/Particles.py
parentf5cc0c43c9c85cf8fd1c483ed737ccb683bb4964 (diff)
downloadWarpX-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.py6
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,