aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/picmi.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Python/pywarpx/picmi.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/Python/pywarpx/picmi.py b/Python/pywarpx/picmi.py
index e6d3f53a9..7e7fbd9d4 100644
--- a/Python/pywarpx/picmi.py
+++ b/Python/pywarpx/picmi.py
@@ -132,10 +132,6 @@ class GaussianBunchDistribution(picmistandard.PICMI_GaussianBunchDistribution):
if density_scale is not None:
species.q_tot *= density_scale
- # --- These need to be defined even though they are not used
- species.profile = "constant"
- species.density = 1
-
# --- The PICMI standard doesn't yet have a way of specifying these values.
# --- They should default to the size of the domain. They are not typically
# --- necessary though since any particles outside the domain are rejected.
@@ -293,11 +289,6 @@ class ParticleListDistribution(picmistandard.PICMI_ParticleListDistribution):
if density_scale is not None:
species.single_particle_weight *= density_scale
- # --- These need to be defined even though they are not used
- species.profile = "constant"
- species.density = 1
- species.momentum_distribution_type = 'constant'
-
class ParticleDistributionPlanarInjector(picmistandard.PICMI_ParticleDistributionPlanarInjector):
pass