aboutsummaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGravatar L. Diana Amorim <LDianaAmorim@lbl.gov> 2020-03-30 15:59:30 -0700
committerGravatar GitHub <noreply@github.com> 2020-03-30 15:59:30 -0700
commitf790faedf7071a9d1cc1a5e48ff516b124b1a18d (patch)
treedafd2cd344e2dafb1a0472fe5e4fe845fc335c26 /Python
parentcdda256df6aa54c5f9687b7c4cb42489a4aac77d (diff)
downloadWarpX-f790faedf7071a9d1cc1a5e48ff516b124b1a18d.tar.gz
WarpX-f790faedf7071a9d1cc1a5e48ff516b124b1a18d.tar.zst
WarpX-f790faedf7071a9d1cc1a5e48ff516b124b1a18d.zip
[mini-PR] Clarifying ionizable particle charge (#863)
* Added documentation note on ionization particle charge * Added correct charge of ion to be ionized * Corrected multiplication symbol Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Testing doxygen issue * Charge correction only to ionizable species * Trying to fix doxygen url fetch issue Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
Diffstat (limited to 'Python')
-rw-r--r--Python/pywarpx/picmi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py
index f6092f0c3..9fe0b0781 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -91,6 +91,7 @@ class Species(picmistandard.PICMI_Species):
self.species.physical_element=self.particle_type
self.species.ionization_product_species = interaction[2].name
self.species.ionization_initial_level = self.charge_state
+ self.species.charge = 'q_e'
picmistandard.PICMI_MultiSpecies.Species_class = Species
class MultiSpecies(picmistandard.PICMI_MultiSpecies):