From 536c3b417666b11c7143d17cc5a7759b7af0da9c Mon Sep 17 00:00:00 2001 From: David Grote Date: Thu, 22 Oct 2020 15:12:20 -0700 Subject: picmi - minor cleanup, removing unneeded input quantities (#1446) --- Python/pywarpx/picmi.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Python/pywarpx/picmi.py') 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 -- cgit v1.2.3