From f2807775949937ffac0b818bb234bc32fe408b8b Mon Sep 17 00:00:00 2001 From: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Date: Thu, 15 Jul 2021 17:12:50 -0700 Subject: Replace `injection_style = python` with `injection_style = none` (#2081) * Replace injection_style = python with injection_style = none * Update Docs * Add Default injection_style = none --- Python/pywarpx/Particles.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Python/pywarpx/Particles.py') 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, -- cgit v1.2.3